FLV muxer problems.

Abdullah Ali voodooattack at hotmail.com
Thu Dec 1 08:07:21 PST 2011


Greetings,

I’ve been facing some trouble using the flvmux plugin in conjunction with 
the avidemux element, What I’m trying to do is to encapsulate VP6 streams in 
FLV files but it seems impossible.

Here are the caps I get from the avidemuxer pad:
video/x-vp6, framerate=(fraction)25/1, width=(int)320, height=(int)240

And here are the caps the flvmux video pad reports:
video/x-flash-video; video/x-flash-screen; video/x-vp6-flash; 
video/x-vp6-alpha; video/x-h264

As far as I know, video/x-vp6-flash is nothing but a VP6 stream with the 
image not flipped upside down.

I’ve tried to use the capssetter/capsfilter elements to rewrite/adjust the 
caps and force them to connect but it did not work, although I might be 
doing something wrong. I get the same result from my C++ code (gstreamermm) 
and gst-launch.

Debug log output is at the bottom of this message. Any advice on the matter 
is most welcome.

Regards,
Abdullah A. Hassan

INFO                avidemux 
gstavidemux.c:1160:gst_avi_demux_parse_avih:<avidemux0>  max_bps     0
INFO                avidemux 
gstavidemux.c:1161:gst_avi_demux_parse_avih:<avidemux0>  pad_gran    0
INFO                avidemux 
gstavidemux.c:1162:gst_avi_demux_parse_avih:<avidemux0>  flags 0x00000010
INFO                avidemux 
gstavidemux.c:1163:gst_avi_demux_parse_avih:<avidemux0>  tot_frames  299
INFO                avidemux 
gstavidemux.c:1164:gst_avi_demux_parse_avih:<avidemux0>  init_frames 0
INFO                avidemux 
gstavidemux.c:1165:gst_avi_demux_parse_avih:<avidemux0>  streams     1
INFO                avidemux 
gstavidemux.c:1166:gst_avi_demux_parse_avih:<avidemux0>  bufsize     0
INFO                avidemux 
gstavidemux.c:1167:gst_avi_demux_parse_avih:<avidemux0>  width       320
INFO                avidemux 
gstavidemux.c:1168:gst_avi_demux_parse_avih:<avidemux0>  height      240
INFO                avidemux 
gstavidemux.c:1169:gst_avi_demux_parse_avih:<avidemux0>  scale       0
INFO                avidemux 
gstavidemux.c:1170:gst_avi_demux_parse_avih:<avidemux0>  rate        0
INFO                avidemux 
gstavidemux.c:1171:gst_avi_demux_parse_avih:<avidemux0>  start       0
INFO                avidemux 
gstavidemux.c:1172:gst_avi_demux_parse_avih:<avidemux0>  length      0
INFO                avidemux 
gstavidemux.c:1184:gst_avi_demux_parse_avih:<avidemux0>  header duration 
:00:11.960000000
INFO                    riff riff-read.c:307: 
gst_riff_parse_strh:<avidemux0> strh tag found:
INFO                    riff riff-read.c:309: 
gst_riff_parse_strh:<avidemux0>  type        vids
INFO                    riff riff-read.c:311: 
gst_riff_parse_strh:<avidemux0>  fcc_handler VP60
INFO                    riff riff-read.c:312: 
gst_riff_parse_strh:<avidemux0>  flags       0x00000000
INFO                    riff riff-read.c:313: 
gst_riff_parse_strh:<avidemux0>  priority    0
INFO                    riff riff-read.c:314: 
gst_riff_parse_strh:<avidemux0>  init_frames 0
INFO                    riff riff-read.c:315: 
gst_riff_parse_strh:<avidemux0>  scale       1
INFO                    riff riff-read.c:316: 
gst_riff_parse_strh:<avidemux0>  rate        25
INFO                    riff riff-read.c:317: 
gst_riff_parse_strh:<avidemux0>  start       0
INFO                    riff riff-read.c:318: 
gst_riff_parse_strh:<avidemux0>  length      299
INFO                    riff riff-read.c:319: 
gst_riff_parse_strh:<avidemux0>  bufsize     4711
INFO                    riff riff-read.c:320: 
gst_riff_parse_strh:<avidemux0>  quality     10000
INFO                    riff riff-read.c:321: 
gst_riff_parse_strh:<avidemux0>  samplesize  0
INFO                avidemux gstavidemux.c:19 44:gst_avi_demux_parse_stream: 
Stream duration according to header: 0:00:11.9600 00000
INFO                    riff riff-read.c:398: 
gst_riff_parse_strf_vids:<avidemux0> strf tag found in context vids:
INFO                    riff riff-read.c:399: 
gst_riff_parse_strf_vids:<avidemux0>  size        40
INFO                    riff riff-read.c:400: 
gst_riff_parse_strf_vids:<avidemux0>  width       320
INFO                    riff riff-read.c:401: 
gst_riff_parse_strf_vids:<avidemux0>  height      240
INFO                    riff riff-read.c:402: 
gst_riff_parse_strf_vids:<avidemux0>  planes      1
INFO                    riff riff-read.c:403: 
gst_riff_parse_strf_vids:<avidemux0>  bit_cnt     24
INFO                    riff riff-read.c:405: 
gst_riff_parse_strf_vids:<avidemux0>  compression VP60
INFO                    riff riff-read.c:406: 
gst_riff_parse_strf_vids:<avidemux0>  image_size  157696
INFO                    riff riff-read.c:407: 
gst_riff_parse_strf_vids:<avidemux0>  xpels_meter 0
INFO                    riff riff-read.c:408: 
gst_riff_parse_strf_vids:<avidemux0>  ypels_meter 0
INFO                    riff riff-read.c:409: 
gst_riff_parse_strf_vids:<avidemux0>  num_colors  0
INFO                    riff riff-read.c:410: 
gst_riff_parse_strf_vids:<avidemux0>  imp_colors  0
INFO                avidemux gstavidemux.c:24 
95:gst_avi_demux_parse_index:<avidemux0> Parsing index, nr_entries =  299
INFO                avidemux gstavidemux.c:14 
34:gst_avi_demux_do_index_stats:<avidemux0> Stream 0, dur 0:00:11.960000000, 
299 entries, 3 keyframes, entry size = 24, total size =  7176, allocated 
15360
INFO                avidemux gstavidemux.c:14 
41:gst_avi_demux_do_index_stats:<avidemux0> 15360 bytes for index vs 7176 
ideally, 8184 wasted
INFO                avidemux 
gstavidemux.c:2955:gst_avi_demux_calculate_durations_from_index: Stream 
01E2DBD8 duration according to index: 0:00:11.960000000
INFO                avidemux 
gstavidemux.c:2961:gst_avi_demux_calculate_durations_from_index: Setting 
duration of stream #0 to 0:00:11.960000000
INFO                avidemux 
gstavidemux.c:2988:gst_avi_demux_calculate_durations_from_index: Setting 
total duration to: 0:00:11.960000000
INFO        GST_ELEMENT_PADS 
gstelement.c:727:gst_element_add_pad:<avidemux0> adding pad 'video_00'
INFO        GST_ELEMENT_PADS gstelement.c:727:gst_element_add_pad:<flvmux0> 
adding pad 'video'
INFO                GST_PADS gstpad.c:1880:gst_pad_link_prepare: trying to 
link avidemux0:video_00 and flvmux0:video
INFO                GST_PADS gstpad.c:1935:gst_pad_link_prepare: caps are 
incompatible
INFO               GST_EVENT gstevent.c:597:gst_event_new_new_segment_full: 
creating newsegment update 0, rate 1.000000, format GST_FORMAT_TIME, start 
0:00:00.000000000, stop 0:00:11.960000000, position 0:00:00.000000000
INFO                avidemux gstavidemux.c:50 30:gst_avi_demux_loop: 
stream_movi flow: not-linked
WARN                avidemux gstavidemux.c:50 
71:gst_avi_demux_loop:<avidemux0> error: Internal data stream error.
WARN                avidemux gstavidemux.c:50 
71:gst_avi_demux_loop:<avidemux0> error: streaming stopped, reason 
not-linked
INFO        GST_ERROR_SYSTEM 
gstelement.c:1763:gst_element_message_full:<avidemux0> posting message: 
Internal data stream error.
INFO        GST_ERROR_SYSTEM 
gstelement.c:1786:gst_element_message_full:<avidemux0> posted error message: 
Internal data stream error.
INFO                avidemux 
gstavidemux.c:5074:gst_avi_demux_loop:<avidemux0> sending eos 



More information about the gstreamer-devel mailing list