Mov file generated does not play on QT player

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Mov file generated does not play on QT player

Irfan Shaikh-2
Mov file generated does not play on QT player

Hello all,

          MOV file generated by gst-ffmpeg is not able to play back on QT. Is any specific atom missing. I am only observing the seek baar moves ahead, but the playing FPS in movie inspector is alwayz zero.  actual fps of file in 30 in movie inspector.
          Does QT requires some specific info. "Generated file plays good on VLC Player"

Regards



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Mov file generated does not play on QT player

Tim-Philipp Müller-2
On Fri, 2010-06-25 at 17:21 +0530, Irfan Shaikh wrote:

>           MOV file generated by gst-ffmpeg is not able to play back on
> QT. Is any specific atom missing. I am only observing the seek baar
> moves ahead, but the playing FPS in movie inspector is alwayz zero.
> actual fps of file in 30 in movie inspector.
>           Does QT requires some specific info. "Generated file plays
> good on VLC Player"

Maybe you could mention the exact pipeline/elements you used to create
that file that doesn't work properly? And what versions of the various
modules/elements you're using? And if you're using mp4mux or ffmux_*?

Cheers
 -Tim


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Mov file generated does not play on QT player

Irfan Shaikh-2
RE: [gst-devel] Mov file generated does not play on QT player

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



>           MOV file generated by gst-ffmpeg is not able to play back on
> QT. Is any specific atom missing. I am only observing the seek baar
> moves ahead, but the playing FPS in movie inspector is alwayz zero.
> actual fps of file in 30 in movie inspector.
>           Does QT requires some specific info. "Generated file plays
> good on VLC Player"

Maybe you could mention the exact pipeline/elements you used to create
that file that doesn't work properly? And what versions of the various
modules/elements you're using? And if you're using mp4mux or ffmux_*?



Cheers
 -Tim


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Mov file generated does not play on QT player

Tim-Philipp Müller-2
On Fri, 2010-06-25 at 18:32 +0530, Irfan Shaikh wrote:

>  Please fild pipeline i am using

Thanks. However, that doesn't tell us what versions of things your are
using, which I also asked for.

It seems you are using a ffmux_* muxer. These muxers are not
well-supported by gst-ffmpeg, you should always use the 'native' muxer
if there is one.

Have you tried a recent version of mp4mux from gst-plugins-bad?

 Cheers
  -Tim


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Mov file generated does not play on QT player

Mark Nauwelaerts
In reply to this post by Irfan Shaikh-2
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.


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Mov file generated does not play on QT player

Mark Nauwelaerts-3
In reply to this post by Irfan Shaikh-2
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.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Mov file generated does not play on QT player

Irfan Shaikh-2
In reply to this post by Mark Nauwelaerts
RE: [gst-devel] Mov file generated does not play on QT player

Thanks a lot,

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

Regards
Irfan

-----Original Message-----
From: Mark Nauwelaerts [[hidden email]]
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.




------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel