filesrc with no EOS possible?
tim at centricular.com
Sat Apr 26 13:02:59 PDT 2014
On Tue, 2014-04-22 at 02:45 -0700, Hamo61 wrote:
> 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
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
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel