adding a still frame to a video file using GES

Jacob S jacobhameiri at gmail.com
Mon Dec 29 05:29:23 PST 2014


Hello Thibault,

I am having trouble to get this to work,

I tried this command line:

ges-launch-1.0.exe  D:\temp\temp.png 0 3 d:\videos\fast.mp4 0 99999 ( the
reason I used 0 99990, is because if I did 0 0 it didnt start the video
file at all )

and this successfully played the file for 3 seconds and then the video, but
when I try to save it as a file it fails.

I tried:

ges-launch-1.0.exe --outputuri output.avi D:\temp\temp.png 0 3
d:\videos\fast.mp4 0 9999

and this is the logs:

0:00:00.074179820  3188 00000000026FFE10 WARN              discoverer
gstdiscoverer.c:1597:start_discovering: No URI to process
0:00:00.082317104  3188 00000000026FFE10 WARN                     ges
ges-asset.c:774:ges_asset_request: Tried to create an Asset for type
GESUriClip but no ->init method
0:00:00.091600991  3188 00000000026FFE10 WARN                 basesrc
gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.100441339  3188 00000000026FFE10 WARN                 basesrc
gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet
Adding clip file:///D:/temp/temp.png inpoint:0:00:00.000000000
duration:0:00:03.000000000
0:00:00.251283329  3188 00000000026FFE10 WARN                     ges
ges-asset.c:774:ges_asset_request: Tried to create an Asset for type
GESUriClip but no ->init method
0:00:00.262018064  3188 00000000026FFE10 WARN                 basesrc
gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.268737124  3188 00000000026FFE10 WARN                 basesrc
gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.279596123  3188 0000000002636800 WARN                 qtdemux
qtdemux_types.c:200:qtdemux_type_get: unknown QuickTime node type iods
0:00:00.286903147  3188 0000000002636800 WARN                 qtdemux
qtdemux_types.c:200:qtdemux_type_get: unknown QuickTime node type btrt
0:00:00.292706172  3188 0000000002636800 WARN                 qtdemux
qtdemux_types.c:200:qtdemux_type_get: unknown QuickTime node type gsst
0:00:00.299833581  3188 0000000002636800 WARN                 qtdemux
qtdemux_types.c:200:qtdemux_type_get: unknown QuickTime node type gstd
0:00:00.306538712  3188 0000000002636800 WARN                 qtdemux
qtdemux_types.c:200:qtdemux_type_get: unknown QuickTime node type gssd
0:00:00.312959026  3188 0000000002636800 WARN                 qtdemux
qtdemux_types.c:200:qtdemux_type_get: unknown QuickTime node type gspu
0:00:00.321928037  3188 0000000002636800 WARN                 qtdemux
qtdemux_types.c:200:qtdemux_type_get: unknown QuickTime node type gspm
0:00:00.330603799  3188 0000000002636800 WARN                 qtdemux
qtdemux_types.c:200:qtdemux_type_get: unknown QuickTime node type gshh
0:00:00.339877788  3188 0000000002636800 WARN                 qtdemux
qtdemux.c:8243:qtdemux_parse_trak:<qtdemux0> unknown version 00000000
Adding clip file:///d:/videos/fast.mp4 inpoint:0:00:00.000000000
duration:27:46:39.000000000
0:00:00.402962178  3188 00000000026FFE10 WARN                 basesrc
gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.413571915  3188 00000000026FFE10 WARN                 basesrc
gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.424175421  3188 0000000002636800 WARN                 basesrc
gstbasesrc.c:2933:gst_base_src_loop:<audiotestsrc0> error: Internal data
flow error.
0:00:00.426391648  3188 0000000002D66880 WARN                 basesrc
gstbasesrc.c:2933:gst_base_src_loop:<audiotestsrc1> error: Internal data
flow error.
0:00:00.431486111  3188 0000000008CE7440 WARN               encodebin
gstencodebin.c:733:request_pad_for_stream:<internal-encodebin> Couldn't
find a compatible stream profile
0:00:00.431486477  3188 0000000002636800 WARN                 basesrc
gstbasesrc.c:2933:gst_base_src_loop:<audiotestsrc0> error: streaming task
paused, reason not-linked (-1)
0:00:00.439216146  3188 0000000002D66880 WARN                 basesrc
gstbasesrc.c:2933:gst_base_src_loop:<audiotestsrc1> error: streaming task
paused, reason not-linked (-1)
0:00:00.446960844 ERROR from element audiotestsrc1: Internal data flow
error.
 3188Debugging info: gstbasesrc.c(2933): gst_base_src_loop ():
/GESPipeline:gespipeline0/GESTimeline:gestimeline0/GESAudioTrack:gesaudiotrack0/GnlComposition:gnlcomposition0/GnlSource:gnlsource4/GstAudioTestSrc:audiotestsrc1:
streaming task paused, reason not-linked (-1)
 0000000008CE7440 ERROR                    ges
ges-pipeline.c:677:pad_added_cb:<gespipeline0> Couldn't get a pad from
encodebin !
0:00:00.467539570  3188 0000000002D66880 WARN                 basesrc
gstbasesrc.c:2933:gst_base_src_loop:<audiotestsrc1> error: Internal data
flow error.
0:00:00.493292303  3188 0000000002D66880 WARN                 basesrc
gstbasesrc.c:2933:gst_base_src_loop:<audiotestsrc1> error: streaming task
paused, reason not-negotiated (-4)

What am I doing wrong ?

2014-12-27 21:52 GMT+02:00 Thibault Saunier <tsaunier at gnome.org>:

> An example with *ges-launch*:
>
> ges-launch-1.0 /path/to/your/image 0 10 /path/to/video 0 0
>
> That will put you image for 10 secs then the video at ten second with
> an inpoint of 0 and keep the whole duration of the video (duration=0
> means that in that context)
>
> ges-launch-1.0 --help will give you more explainations.
>
>
> Regards,
>
> Thibault Saunier
>
> On Sat, Dec 27, 2014 at 4:54 PM, Jacob S <jacobhameiri at gmail.com> wrote:
> > Thank you for your response.
> > I am using c language.
> >
> > Can you give me an example in gst-launch?
> > (another option is just duplicating the first frame in the video, that
> will
> > also work for me)
> >
> > On Dec 26, 2014 9:29 PM, "Thibault Saunier" <tsaunier at gnome.org> wrote:
> >>
> >> Hello Jacob,
> >>
> >> That can clearly be done with GES and should be pretty straight forward.
> >>
> >> What language do you want to do that in? You can start playing with
> >> ges-launch-1.0 to get that done in command line.
> >>
> >> Regards,
> >>
> >> Thibault Saunier
> >>
> >> On Wed, Dec 24, 2014 at 7:51 PM, Jacob S <jacobhameiri at gmail.com>
> wrote:
> >> > Hello all,
> >> >
> >> > I have a simple gstreamer app that transcodes video files, I want to
> >> > also
> >> > include 5 seconds of a still frame in the beginning of the transcoded
> >> > video.
> >> >
> >> > Can this be done using GES ?
> >> > Can anyone help with some example code ?
> >> >
> >> > Thanks
> >> > Jacob
> >> >
> >> > _______________________________________________
> >> > gstreamer-devel mailing list
> >> > gstreamer-devel at lists.freedesktop.org
> >> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >> >
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> gstreamer-devel at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> _______________________________________________
> 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/20141229/cd764bb6/attachment.html>


More information about the gstreamer-devel mailing list