[gst-devel] Mov file generated does not play on QT player

Mark Nauwelaerts mark.nauwelaerts at gmail.com
Fri Jun 25 18:29:01 CEST 2010


Irfan Shaikh wrote:
> Hello
> Please fild pipeline i am using (PLAYS well on VLC {videots updated the
> gst buffer timestamp for 30 FPS }
> )
>
> gst-launch filesrc location=/home/Irfan/Test_Data/Sequence\ 1_track1.264
> ! h264parse ! video/x-h264, width=960, height=540, framerate=30/1 !
> queue ! mux. filesrc location=/home/Irfan/Test_Data/Sequence\
> 1_track2.sowt ! audio/x-raw-int, rate=48000, channels=2,
> endianness=1234, width=16, depth=16, signed=TRUE ! queue ! mux.
> ffmux_mov name=mux ! filesink location=/home/Irfan/Test_Data/Seq1.mov
>
> gst-launch filesrc location=/home/Irfan/Test_Data/CodecH264.dat !
> h264parse ! video/x-h264, width=1280, height=720, framerate=30/1 ! queue
> ! videots fps=30 ! mux. filesrc
> location=/home/Irfan/Test_Data/WaveBase_44.1kHz_16bit_2ch.pcm.aac !
> aacparse ! audio/mpeg, rate=44100, channels=2, mpegversion=4, layer=3 !
> queue ! mux. ffmux_mov name=mux ! filesink
> location=/home/Irfan/Test_Data/test4.mov
>
>

You will probably have to use h264parse output-format=sample access-unit=true in 
both cases, as mov does not really have a taste for bytestream NAL units (and 
would also be missing codec-data and corresponding track metadata), and QT 
player even less.

Using a recent mp4mux/qtmux (as suggested) would likely also make the necessity 
of the above clearer (by means of caps).

Mark.




More information about the gstreamer-devel mailing list