editing services: remove video segments without transcoding

saunierthibault at gmail.com saunierthibault at gmail.com
Fri Feb 7 00:23:38 PST 2014


Hello,

You will also need to set the GESPipeline "mode" property to
GES_TIMELINE_MODE_SMART_RENDER so it tries to avoid reencoding when not
necessary.

Thibault


On Thu, Feb 6, 2014 at 11:46 PM, Sebastian Dröge
<sebastian at centricular.com>wrote:

> On Do, 2014-02-06 at 23:14 +0100, Felix Schwarz wrote:
> > Hey,
> >
> > I have a question regarding the gstreamer editing services (sorry if
> this is
> > the wrong list for these type of questions): I'd like to remove some
> segments
> > of a video file but avoid any transcoding.
> >
> > My first approach was to add the source video multiple times to the
> timeline -
> > just changing start, inpoint/duration for each clip.
> >
> > Now I'm unsure how/if the editing services will allow me to save the
> result
> > without transcoding (my input files are mostly using h264/avi).
> >
> > Probably I need to set "GstPbutils.EncodingContainerProfile" to the same
> value
> > as the input file.
> >  1. How can I get that information using gstreamer?
>
> You can do that with GstDiscoverer and
> gst_encoding_profile_from_discoverer()
>
> >  2. Assuming that I'm only adding the same video multiple times with
> >     different time positions is #1 enough to prevent transcoding?
>
> I'm not sure how complete and well-working the non-reencoding part of
> encodebin is implemented. Especially the smart-encoder bits in there
> look rather incomplete and if working at all are only implemented for
> some specific codecs.
>
> The main problem here is that you will have to reencode some parts at
> the beginning and possible end of your clip as e.g. your start position
> might not be exactly at a keyframe.
>
> --
> Sebastian Dröge, Centricular Ltd - http://www.centricular.com
> Expertise, Straight from the Source
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140207/8f642edc/attachment.html>


More information about the gstreamer-devel mailing list