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

Irfan Shaikh irfanshaikh at tataelxsi.co.in
Sat Jun 26 08:21:22 CEST 2010


Thanks a lot,

 It started working on QT player after adding "output-format=sample access-unit=true"

Regards
Irfan

-----Original Message-----
From: Mark Nauwelaerts [mailto:mnauw at users.sourceforge.net]
Sent: Fri 6/25/2010 7:06 PM
To: Discussion of the development of GStreamer
Cc: Irfan Shaikh
Subject: Re: [gst-devel] Mov file generated does not play on QT player
 
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.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100626/d6d16096/attachment.htm>


More information about the gstreamer-devel mailing list