gstreamer playbin only video

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

gstreamer playbin only video

Mohammad, Jamal M
Hi Guys,
 
I am using the following pipeline
gst-launch-0.10 playbin2 uri=file:///mnt/hash.mp4 video-sink="imxv4l2sink" flags=0x57
 
This works fine for the video file ( mp4 ) which doesn't have video in it. But when I pass a mp4 file which has both video and audio it fails to play. Can you please help me in reconstructing the pipeline to allow it to work on both kind of files: MP4 with only video, MP4 with both audio and video
 
I want to use playbin2 not filesrc
 
Thanks for your help.
 
 
 
Mohammad Jamal Mohiuddin
Software Engineer, Retail Hosp/HW
NCR Corporation India Pvt Ltd.
 
 
 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer playbin only video

Nicolas Dufresne-5
Le jeudi 01 mars 2018 à 04:07 +0000, Mohammad, Jamal M a écrit :

> I am using the following pipeline
> gst-launch-0.10 playbin2 uri=file:///mnt/hash.mp4 video-
> sink="imxv4l2sink" flags=0x57
>  
> This works fine for the video file ( mp4 ) which doesn't have video
> in it. But when I pass a mp4 file which has both video and audio it
> fails to play. Can you please help me in reconstructing the pipeline
> to allow it to work on both kind of files: MP4 with only video, MP4
> with both audio and video
>  
> I want to use playbin2 not filesrc
GStreamer 0.10 has been end of live for multiple years and is no longer
supported. GStreamer 1.0 is well supported on IMX platforms through htt
ps://github.com/Freescale/gstreamer-imx plugins. Let us know if you are
still having issues with newer GStreamer version. Be aware that for
readability, it's better to use the string notation for playbin flags,
e.g. flags=video+audio+text

Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment