[gst-devel] mp4 file playback in VLC and in QT
Overkill
overkill.shining at tiscali.it
Fri Jul 2 12:40:52 CEST 2010
Hello Sriharsha,
I've some similar issue, but my files plays on VLC and not in QT.
I've solved by pushing out on caps
the codec_data.
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.
gst-launch filesrc
location=/home/Gurpreet/inputfilesmp4/Akiyo_100_176_144_I_0_0_AllIDR.264
! h264parse output-format=0 ! video/x-h264,width=176, height=144,
framerate=25/1 stream-format=avc codec_data="READ THIS" ! mp4mux ! filesink
location=/home/Gurpreet/outputfilesmp4/temp-1.mp4
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
mailing list