Unable to play the generated mp4 stream using normal mp4 players in Windows

Stefan Sauer ensonic at hora-obscura.de
Sun May 20 13:02:58 PDT 2012


On 05/11/2012 08:51 AM, vivekr wrote:
> Hi,
>
> I have the following pipeline for generating an mp4 stream from a .264
> stream (file) i have used a file sink.
> the following code gives the pipeline
>
>
> gst-launch filesrc location=C:/carphone.264 ! h264parse ! capsfilter !
> ffdec_h264 ! ffmpegcolorspace ! videoscale ! qtmux ! filesink
> location=C:/test123456.mp4
>
> The mp4 gets generated, but when I use mp4 players available they are unable
> to play this video.
Why are you decoding the h264? Try

gst-launch filesrc location=C:/carphone.264 ! h264parse ! qtmux ! filesink
location=C:/test123456.mp4

Stefan

>
> I need to use the gst to decode this I do using the pipeline
>
>
> gst-launch filesrc location=C:/test123456.mp4 ! decodebin2 name=dec ! queue
> ! ffmpegcolorspace !autovideosink
>
> but the files generated using ffmpef are playable in normal players.
>
> What should I include in the pipeline so that the video plays in normal
> pipeline in standard mp4 players.
>
> Please throw some light on the same.
>
> Regards,
> Vivek R
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Unable-to-play-the-generated-mp4-stream-using-normal-mp4-players-in-Windows-tp4625637.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list