I am trying to convert a DVD to mkv file with gstreamer. The pipeline I use is: gst-launch -evv multifilesrc location="VTS_01_%d.VOB" index=1 ! dvddemux name=demuxer \ matroskamux name=mux ! filesink location=test.mkv \ demuxer.current_video ! queue ! mpeg2dec ! x264enc ! mux. \ demuxer.current_audio ! queue ! ffdec_ac3 ! lamemp3enc ! mux. (I cannot use dvdreadsrc because I get another error on the iso file) Unfortunately the pipeline does not go beyond prerolling. When I replace x264enc with for instance ffenc_mpeg4, then everything works fine.. Some people suggested adding byte-stream=1 to x264enc but it did not change anything.
Output :
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Thu, 2012-10-25 at 20:49 +0200, [hidden email] wrote:
> I am trying to convert a DVD to mkv file with gstreamer. The pipeline > I use is: > > gst-launch -evv multifilesrc location="VTS_01_%d.VOB" index=1 ! dvddemux name=demuxer \ > matroskamux name=mux ! filesink location=test.mkv \ > demuxer.current_video ! queue ! mpeg2dec ! x264enc ! mux. \ > demuxer.current_audio ! queue ! ffdec_ac3 ! lamemp3enc ! mux > [nothing happens anymore] The queues are probably too small (more precisely: the audio queue). x264enc will by default consume a few seconds' worth of frames before it outputs the first encoded frame. The audio queue needs to be able to contain that much audio data as well then (otherwise the demuxer will get blocked and stop outputting more video too, and nothing happens any more). So in short, try: ! queue max-size-bytes=0 max-size-buffers=0 max-size-time=10000000000 ! .. (or x264enc tune=zerolatency to find out if that is the problem - but this is not a good setting for transcoding, since it will reduce quality) Cheers -Tim _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Tim, why does 'zerolatency' reduce quality in transcoding? He is reading from a file so I would think that there shouldn't be any jitter concern.
On Thu, Oct 25, 2012 at 3:51 PM, Tim-Philipp Müller <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |