filesrc with no EOS possible?

Tim Müller tim at centricular.com
Sat Apr 26 13:02:59 PDT 2014


On Tue, 2014-04-22 at 02:45 -0700, Hamo61 wrote:

Hi,

> im trying to transcode a videofile. The Source is a live recording file wich
> gets permanent bigger.
> Now i want Gstreamer to transocde the file. The Problem is, that Gstreamer
> reacher EOS very fast so the transcoding stops. Is it possible to say
> Gstreamer that he doesnt stop transcoding?
> 
> Here my pipeline:
> gst-launch-1.0 -v filesrc num-buffers=-1
> location=/home/pi/sambashare/one/src/video/original.h264 ! decodebin ! queue
> ! omxh264enc control-rate=1 target-bitrate=1024000 ! filesink
> location=/home/pi/sambashare/one/plain/video/1024000/1024000.h264

You could try something like:

  gst-launch-1.0 filesrc location=original.h264 ! decodebin ! identity
sync=true ! ....

(which, however, has the downside that it won't "catch up" with the
original file if you start transcoding later than the original input
file).

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list