[gst-devel] Question on x264enc + mp4mux

Chen, Weian weian.chen at intel.com
Tue Aug 25 04:38:28 CEST 2009


Thanks all.
If use decodebin or decodebin2, also no error out.

Then I will file a bug later.

thanks,
Weian
-----Original Message-----
From: Michael Smith [mailto:msmith at xiph.org] 
Sent: 2009年8月25日 1:41
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] Question on x264enc + mp4mux

On Mon, Aug 24, 2009 at 2:29 AM, Chen, Weian<weian.chen at intel.com> wrote:
> Hi All
>
>
>
> I have a problem when doing encode + mux:
>
>
>
> Encode pipeline is as following:  gst-launch videotestsrc ! x264enc ! mp4mux
> ! filesink location=test.mp4, and then I use crtl + c to destroy the

This will create an invalid mp4 file since you just terminated the
pipeline without EOSing properly, so it doesn't have a chance to write
the final file headers correctly.


> pipeline, then using   gst-launch filesrc location=1.mp4 ! qtdemux !
> ffdec_h264 ! xvimagesink to decoder, but the pipeline is hang up with log:
>
> Setting pipeline to PAUSED ...
>
> Pipeline is PREROLLING ...

However, given an invalid file, I'd expect it to error out - does it
do so if you use decodebin or decodebin2?

If not, sounds like a bug, you should file a bug report.

Mike

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list