[gst-devel] mp4 file playback in VLC and in QT
overkill.shining at tiscali.it
Fri Jul 2 12:40:52 CEST 2010
I've some similar issue, but my files plays on VLC and not in QT.
I've solved by pushing out on caps
I think you may use
gst-launch -v v4lsrc ! yourcodec264 ! fakesink
read the "codec_data" on the caps
out of yourcodec264 and copy the string
forcing thah caps.
! h264parse output-format=0 ! video/x-h264,width=176, height=144,
framerate=25/1 stream-format=avc codec_data="READ THIS" ! mp4mux ! filesink
I've not really well understand why it works, so I'll be glad
if someone can better explain :)
Also try with ffmux_mp4 and mov instead of mp4 (qtmux or ffmux_mov).
***** By The Overkill !!! *****
More information about the gstreamer-devel