flutter-elinux-plugins
flutter-elinux-plugins copied to clipboard
Support RTSP or RTMP
any news?
I support RTP like this
gst-launch-1.0 -v rtspsrc location=rtsp://jetson-desktop.local:8554/test \
! rtph264depay \
! h264parse \
! decodebin \
! videoconvert \
! autovideosink sync=false
Was it helpful to you?
@HidenoriMatsubayashi , Hi, Here's fix for this issue https://github.com/Kofhein/flutter-elinux-plugins/commit/80e47bc297b7ed5dd3afa1388d62abecafeeb9a6 I didn't checked throughout which function actually cause issue, but this fixes issue with live streams playback... For some reason one of the function breaks pipeline when livestream pipeline is being built. This can be checked on m3u8 stream ( I made it main video link in my fork ) - before it was just completely freezing player and you couldn't even start playback. Now issue gone, as per rtmp - it was also preventing from successful playback after few secodns stream was stopping. Here's m3u8 test link 'http://sample.vodobox.net/skate_phantom_flex_4k/4k/skate_phantom_flex_4k_8288_2160p.m3u8', And rtmp one rtmp://matthewc.co.uk/vod/scooter.flv Also in order to play livestream it's required to not use VideoProgressIndicator in dart. I also tested on rtp stream - streaming video from VLC, sometimes it fails ( but it also fails in console ), so more or less good.
I support RTP like this
gst-launch-1.0 -v rtspsrc location=rtsp://jetson-desktop.local:8554/test \ ! rtph264depay \ ! h264parse \ ! decodebin \ ! videoconvert \ ! autovideosink sync=false
Was it helpful to you?
I have a pipeline similar to this I'd like to display using the eLinux video player. How did you implement this pipeline into the plugin to make it work? Currently, when I try to show the stream, I can see there is movement but it's all scrambled and discolored. Do I need to replace everything in gts_video_player.cc?
Now is working?