Qt mux issue

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

Qt mux issue

yangsb
Hi,
I install the gst-plugin-bad-0.10.11.
I want to use qtmux to mux a mov file.
I read thiagoss's blog( http://thiagossantos.blogspot.com ) and know that qumux support h264 video.
So, I use this pipeline to test:
###############################################
    gst-launch-0.10   -v --gst-debug-level=2 \
        videotestsrc ! \
        video/x-raw-yuv,width=720,height=480,fourcc=UYVY ! \
        x264enc !  mux. \
        qtmux name=mux ! \
        filesink location=/home/opensource/test.mov
###############################################

However , the test.mov can not be played by vlc or ffmpeg or Mplayer .
Can anyone to give me some advice ?

Thanks .
Best regards.
Reply | Threaded
Open this post in threaded view
|

Re: Qt mux issue

Thiago Sousa Santos-2


On Wed, Apr 15, 2009 at 9:33 AM, yangsb <[hidden email]> wrote:

Hi,
I install the gst-plugin-bad-0.10.11.
I want to use qtmux to mux a mov file.
I read thiagoss's blog( http://thiagossantos.blogspot.com ) and know that
qumux support h264 video.
So, I use this pipeline to test:
###############################################
   gst-launch-0.10   -v --gst-debug-level=2 \
       videotestsrc ! \
       video/x-raw-yuv,width=720,height=480,fourcc=UYVY ! \
       x264enc !  mux. \
       qtmux name=mux ! \
       filesink location=/home/opensource/test.mov
###############################################

However , the test.mov can not be played by vlc or ffmpeg or Mplayer .
Can anyone to give me some advice ?

qtmux needs to receive EOS to properly finish the file, in this case, when you stop gst-launch it simply aborts.

2 options for you:
1) In git, a new feature was included to force EOS in gst-launch (-e).
2) Use filesrc instead of videotestsrc (you can videotestsrc ! caps ! filesink and then read the file, or use some file of yours).
 

Thanks .
Best regards.

--
View this message in context: http://www.nabble.com/Qt-mux-issue-tp23057805p23057805.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
Thiago Sousa Santos

Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Qt mux issue

Tim-Philipp Müller-2
On Wed, 2009-04-15 at 14:11 -0300, thiagoss wrote:

> 2 options for you:
> 1) In git, a new feature was included to force EOS in gst-launch (-e).
> 2) Use filesrc instead of videotestsrc (you can videotestsrc ! caps !
> filesink and then read the file, or use some file of yours).

3) use   videotestsrc num-buffers=1000 ! ....

Cheers
 -Tim




------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Qt mux issue

yangsb
Thanks , thiagoss and Tim.
This way :
3) use   videotestsrc num-buffers=1000 ! ....

really works !!

And I will try the following two ways as soon as possible .
> 1) In git, a new feature was included to force EOS in gst-launch (-e).
> 2) Use filesrc instead of videotestsrc (you can videotestsrc ! caps !


Thanks .
Best regards.

Tim-Philipp Müller wrote
On Wed, 2009-04-15 at 14:11 -0300, thiagoss wrote:

> 2 options for you:
> 1) In git, a new feature was included to force EOS in gst-launch (-e).
> 2) Use filesrc instead of videotestsrc (you can videotestsrc ! caps !
> filesink and then read the file, or use some file of yours).

3) use   videotestsrc num-buffers=1000 ! ....

Cheers
 -Tim




------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel