Extracting a Segment of Video with GES

Eric Babyak eric at eyesee360.com
Tue Jun 24 07:31:14 PDT 2014


I resolved my issue. In case someone else runs into this, I needed a couple of additional cap properties for h264: video/x-h264,stream-format=(string)avc,alignment=(string)au

-Eric

On Jun 23, 2014, at 5:55 PM, Eric Babyak <eric at eyesee360.com> wrote:

> I’m attempting to extract a segment of video using GES.  My setup is pretty simple.  I’m trying to maintain the original encoding which is h264. So, I’m basically doing something like ges-launch inputuri 0 5 -s -o outputuri.  All seems to go well at first, however, my position in the video looks wrong, and I then hit some errors and end up with an empty video file.  I’m building from the latest source in the git repository.  Any help is greatly appreciated!  Please see my log below:
> 
> 17:48:18.401: W/GStreamer+basesrc(30109): 0:00:01.892412709 0x64cbb620 gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet																					
> 06-23 17:48:18.406: W/GStreamer+basesrc(30109): 0:00:01.898150043 0x64cbb620 gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet																					
> 06-23 17:48:18.406: W/GStreamer+basesrc(30109): 0:00:01.899439334 0x64cbb620 gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet																					
> 06-23 17:48:18.416: W/GStreamer+qtdemux(30109): 0:00:01.910906667 0x650ba030 qtdemux_types.c:200:qtdemux_type_get unknown QuickTime node type iods																					
> 06-23 17:48:18.421: W/GStreamer+qtdemux(30109): 0:00:01.911722751 0x650ba030 qtdemux_types.c:200:qtdemux_type_get unknown QuickTime node type name																					
> 06-23 17:48:18.421: W/GStreamer+qtdemux(30109): 0:00:01.912004834 0x650ba030 qtdemux_types.c:200:qtdemux_type_get unknown QuickTime node type iods																					
> 06-23 17:48:18.421: W/GStreamer+qtdemux(30109): 0:00:01.912838376 0x650ba030 qtdemux_types.c:200:qtdemux_type_get unknown QuickTime node type name																					
> 06-23 17:48:18.421: W/GStreamer+qtdemux(30109): 0:00:01.914010417 0x650ba030 qtdemux.c:8243:qtdemux_parse_trak:<qtdemux1> unknown version 00000000																					
> 06-23 17:48:18.426: W/GStreamer+qtdemux(30109): 0:00:01.919124709 0x650ba200 qtdemux_types.c:200:qtdemux_type_get unknown QuickTime node type iods																					
> 06-23 17:48:18.426: W/GStreamer+qtdemux(30109): 0:00:01.920014376 0x650ba200 qtdemux_types.c:200:qtdemux_type_get unknown QuickTime node type name																					
> 06-23 17:48:18.426: W/GStreamer+qtdemux(30109): 0:00:01.920251709 0x650ba200 qtdemux_types.c:200:qtdemux_type_get unknown QuickTime node type iods																					
> 06-23 17:48:18.426: W/GStreamer+qtdemux(30109): 0:00:01.920889001 0x650ba200 qtdemux_types.c:200:qtdemux_type_get unknown QuickTime node type name																					
> 06-23 17:48:18.431: W/GStreamer+qtdemux(30109): 0:00:01.922527793 0x650ba200 qtdemux.c:8243:qtdemux_parse_trak:<qtdemux2> unknown version 00000000																					
> 06-23 17:48:18.441: I/ACodec(30109):  [] Now uninitialized																					
> 06-23 17:48:18.441: I/OMXClient(30109): Using client-side OMX mux.																					
> 06-23 17:48:18.441: I/ACodec(30109): [OMX.SEC.avcdec] Now Loaded																					
> 06-23 17:48:18.446: I/ACodec(30109):  [] Now uninitialized																					
> 06-23 17:48:18.451: I/OMXClient(30109): Using client-side OMX mux.																					
> 06-23 17:48:18.451: I/ACodec(30109): [OMX.SEC.aac.dec] Now Loaded																					
> 06-23 17:48:18.451: I/ACodec(30109): [OMX.SEC.avcdec] Now Loaded->Idle																					
> 06-23 17:48:18.461: I/ACodec(30109): [OMX.SEC.aac.dec] Now Loaded->Idle																					
> 06-23 17:48:18.471: I/ACodec(30109): [OMX.SEC.avcdec] Now Idle->Executing																					
> 06-23 17:48:18.471: I/ACodec(30109): [OMX.SEC.avcdec] Now Executing																					
> 06-23 17:48:18.476: I/ACodec(30109): [OMX.SEC.aac.dec] Now Idle->Executing																					
> 06-23 17:48:18.476: I/ACodec(30109): [OMX.SEC.aac.dec] Now Executing																					
> 06-23 17:48:18.496: W/GStreamer+GST_PADS(30109): 0:00:01.987654543 0x65772490 gstpad.c:3733:gst_pad_peer_query:<amcaudiodec-omxsecaacdec1:src> could not send sticky events																					
> 06-23 17:48:18.496: W/GStreamer+GST_PADS(30109): 0:00:01.987817876 0x65772490 gstpad.c:3733:gst_pad_peer_query:<amcaudiodec-omxsecaacdec1:src> could not send sticky events																					
> 06-23 17:48:18.496: E/GStreamer+amcaudiodec(30109): 0:00:01.988580626 0x652c8950 gstamcaudiodec.c:1140:gst_amc_audio_dec_handle_frame:<amcaudiodec-omxsecaacdec1> Downstream returned flushing																					
> 06-23 17:48:18.496: I/ACodec(30109): [OMX.SEC.aac.dec] Now Flushing																					
> 06-23 17:48:18.496: I/ACodec(30109): [OMX.SEC.aac.dec] Now Executing																					
> 06-23 17:48:18.566: I/GLib+stdout(30109): <position: 77:48:24.882144232 duration: 0:00:05.000000000/>																					
> 06-23 17:48:18.591: W/GStreamer+GST_PADS(30109): 0:00:02.083063501 0x665abd80 gstpad.c:3733:gst_pad_peer_query:<amcvideodec-omxsecavcdec1:src> could not send sticky events																					
> 06-23 17:48:18.591: W/GStreamer+GST_PADS(30109): 0:00:02.084125001 0x665abd80 gstpad.c:3733:gst_pad_peer_query:<amcvideodec-omxsecavcdec1:src> could not send sticky events																					
> 06-23 17:48:18.591: I/ACodec(30109): [OMX.SEC.avcdec] Now Flushing																					
> 06-23 17:48:18.596: I/ACodec(30109): [OMX.SEC.avcdec] Now Executing																					
> 06-23 17:48:18.601: I/ACodec(30109): [OMX.SEC.aac.dec] Now Flushing																					
> 06-23 17:48:18.601: I/ACodec(30109): [OMX.SEC.aac.dec] Now Executing																					
> 06-23 17:48:18.706: I/ACodec(30109): [OMX.SEC.aac.dec] Now Flushing																					
> 06-23 17:48:18.706: I/ACodec(30109): [OMX.SEC.aac.dec] Now Executing																					
> 06-23 17:48:18.766: I/GLib+stdout(30109): <position: 195:32:50.909619176 duration: 0:00:05.000000000/>																					
> 06-23 17:48:18.966: I/GLib+stdout(30109): <position: 239:17:43.065396200 duration: 0:00:05.000000000/>																					
> 06-23 17:48:19.171: I/GLib+stdout(30109): <position: 239:21:04.928859112 duration: 0:00:05.000000000/>																					
> 06-23 17:48:19.371: I/GLib+stdout(30109): <position: 239:13:16.777423848 duration: 0:00:05.000000000/>																					
> 06-23 17:48:19.571: I/GLib+stdout(30109): <position: 239:04:37.086381032 duration: 0:00:05.000000000/>																					
> 06-23 17:48:19.771: I/GLib+stdout(30109): <position: 138:54:05.862405096 duration: 0:00:05.000000000/>																					
> 06-23 17:48:19.971: I/GLib+stdout(30109): <position: 239:18:43.194938344 duration: 0:00:05.000000000/>																					
> 06-23 17:48:20.171: I/GLib+stdout(30109): <position: 238:56:44.639978472 duration: 0:00:05.000000000/>																					
> 06-23 17:48:20.371: I/GLib+stdout(30109): <position: 239:21:13.518793704 duration: 0:00:05.000000000/>																					
> 06-23 17:48:20.576: I/GLib+stdout(30109): <position: 239:22:09.353368552 duration: 0:00:05.000000000/>																					
> 06-23 17:48:20.581: W/GStreamer+GST_PADS(30109): 0:00:04.073652210 0x65413830 gstpad.c:3733:gst_pad_peer_query:<x264enc0:src> could not send sticky events																					
> 06-23 17:48:20.581: W/GStreamer+amcvideodec(30109): 0:00:04.074784168 0x665abd80 gstamcvideodec.c:838:gst_amc_video_dec_loop:<amcvideodec-omxsecavcdec1> error: Internal data stream error.																					
> 06-23 17:48:20.581: W/GStreamer+amcvideodec(30109): 0:00:04.074860168 0x665abd80 gstamcvideodec.c:838:gst_amc_video_dec_loop:<amcvideodec-omxsecavcdec1> error: stream stopped, reason not-negotiated																					
> 06-23 17:48:20.581: E/GLib+stderr(30109): ERROR from element amcvideodec-omxsecavcdec1: Internal data stream error.																					
> 06-23 17:48:20.581: E/GLib+stderr(30109): Debugging info: gstamcvideodec.c(838): gst_amc_video_dec_loop (): /GESPipeline:gespipeline0/GESTimeline:gestimeline0/GESVideoTrack:gesvideotrack0/GnlComposition:gnlcomposition1/GnlSource:gnlsource1/GstBin:videosrcbin/GstURIDecodeBin:uridecodebin1/GstDecodeBin:decodebin3/GstAmcVideoDec-OmxSecAvcdec:amcvideodec-omxsecavcdec1:																					
> 06-23 17:48:20.581: E/GLib+stderr(30109): stream stopped, reason not-negotiated																					
> 06-23 17:48:20.581: E/GStreamer+amcvideodec(30109): 0:00:04.075646751 0x65083f80 gstamcvideodec.c:1250:gst_amc_video_dec_handle_frame:<amcvideodec-omxsecavcdec1> Downstream returned not-negotiated																					
> 06-23 17:48:20.586: E/GStreamer+amcaudiodec(30109): 0:00:04.077570876 0x652c8950 gstamcaudiodec.c:1140:gst_amc_audio_dec_handle_frame:<amcaudiodec-omxsecaacdec1> Downstream returned flushing																					
> 06-23 17:48:32.566: I/ACodec(30109): [OMX.SEC.avcdec] Now Flushing																					
> 06-23 17:48:32.566: I/ACodec(30109): [OMX.SEC.avcdec] Now Executing																					
> 06-23 17:48:32.566: I/ACodec(30109): [OMX.SEC.avcdec] Now Flushing																					
> 06-23 17:48:32.571: I/ACodec(30109): [OMX.SEC.avcdec] Now Executing																					
> 06-23 17:48:32.571: I/ACodec(30109): [OMX.SEC.avcdec] Now Executing->Idle																					
> 06-23 17:48:32.576: I/ACodec(30109): [OMX.SEC.avcdec] Now Idle->Loaded																					
> 06-23 17:48:32.576: I/ACodec(30109): [OMX.SEC.avcdec] Now Loaded																					
> 06-23 17:48:32.581: I/ACodec(30109):  [OMX.SEC.avcdec] Now uninitialized																					
> 06-23 17:48:32.591: I/ACodec(30109): [OMX.SEC.aac.dec] Now Flushing																					
> 06-23 17:48:32.591: I/ACodec(30109): [OMX.SEC.aac.dec] Now Executing																					
> 06-23 17:48:32.591: I/ACodec(30109): [OMX.SEC.aac.dec] Now Flushing																					
> 06-23 17:48:32.591: I/ACodec(30109): [OMX.SEC.aac.dec] Now Executing																					
> 06-23 17:48:32.591: I/ACodec(30109): [OMX.SEC.aac.dec] Now Executing->Idle																					
> 06-23 17:48:32.596: I/ACodec(30109): [OMX.SEC.aac.dec] Now Idle->Loaded																					
> 06-23 17:48:32.596: I/ACodec(30109): [OMX.SEC.aac.dec] Now Loaded																					
> 06-23 17:48:32.596: I/ACodec(30109):  [OMX.SEC.aac.dec] Now uninitialized																					
> 																					

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140624/7b2ad1ba/attachment-0001.html>


More information about the gstreamer-android mailing list