[gst-devel] problem muxing H264 to MPEG-TS or MP4
Michal Benes
michal.benes at itonis.tv
Tue Mar 27 13:14:13 CEST 2007
Hi Lukas,
I do not think that muxing h264 using ffmux is well tested, there might
be bugs in the gstreamer wrappers. Try encoding with
x264enc byte-stream=true
or try matroska container (matroskamux).
Michal
Lukas Ruetz píše v Po 26. 03. 2007 v 17:05 +0200:
> Hello gstreamers!
>
> I've tried out the new x264-encoder commited to CVS a few days ago
> and now need some advice how to mux the encoded video. As a source
> I use live-video from a V4L-source.
>
> Just encoding and decoding H.264 works:
> gst-launch-0.10 \
> v4l2src device=/dev/video0 \
> ! 'video/x-raw-yuv,format=(fourcc)I420,width=720,height=576,framerate=(fraction)
> 25/1' \
> ! x264enc \
> ! ffdec_h264 \
> ! autovideosink
>
> But if I want to mux it and save it as a file, the file-format seems to be
> "invalid" and is not readable by any video-application, also not for gstreamer
> itself.
>
> I've tried to use MPEG-TS
> ... ! x264enc ! ffmux_mpegts ! filesink location=out.mpg
>
> and MP4
> ... ! x264enc ! ffmux_mp4 ! filesink location=out.mp4
>
> Do I miss something?
> Are there other containers that can transport H.264 than MPEG-TS and MP4?
>
> TIA
> lukas
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list