[FFmpeg-trac] #4511(undetermined:new): flv file not completely supported

FFmpeg trac at avcodec.org
Thu Apr 30 20:09:03 CEST 2015


#4511: flv file not completely supported
-------------------------------------+-------------------------------------
             Reporter:  cehoyos      |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:
              Version:  git-master   |  undetermined
             Keywords:  flv          |               Resolution:
  flashsv2                           |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by al3x):

 Just for the record here is the complete debug log:
 {{{
 ffmpeg version N-71734-g0e7444f Copyright (c) 2000-2015 the FFmpeg
 developers
   built with Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM
 3.6.0svn)
   configuration: --disable-yasm
   libavutil      54. 23.101 / 54. 23.101
   libavcodec     56. 35.101 / 56. 35.101
   libavformat    56. 31.100 / 56. 31.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 14.100 /  5. 14.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
 Splitting the commandline.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument 'debug'.
 Reading option '-i' ... matched as input file with argument
 '../2014-04-23-a2-domes-1.flv'.
 Reading option 'test.avi' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument debug.
 Successfully parsed a group of options.
 Parsing a group of options: input file ../2014-04-23-a2-domes-1.flv.
 Successfully parsed a group of options.
 Opening an input file: ../2014-04-23-a2-domes-1.flv.
 [flv @ 0x7f9713812800] Format flv probed with size=2048 and score=100
 [flv @ 0x7f9713812800] Before avformat_find_stream_info() pos: 13 bytes
 read:32768 seeks:0
 [flv @ 0x7f9713812800] Stream discovered after head already parsed
 [flv @ 0x7f9713812800] Skipping flv packet: type 28, size 1667692, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 21, size 6013056, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 31, size 10302640, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 24, size 11628814, flags
 0.
 [flv @ 0x7f9713812800] Stream discovered after head already parsed
 [flv @ 0x7f9713812800] Skipping flv packet: type 7, size 16776924, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 24, size 16301726, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 31, size 14164463, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 5, size 12282591, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 11, size 3001192, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 1, size 15979747, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 31, size 16529488, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 15, size 12549953, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 7, size 5970120, flags 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 29, size 5225303, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 26, size 8082763, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 1, size 538260, flags 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 25, size 16490864, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 2, size 12710186, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 28, size 16525271, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 26, size 2085026, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 27, size 11271711, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 7, size 12409562, flags
 0.
 [flv @ 0x7f9713812800] Probe buffer size limit of 5000000 bytes reached
 [flv @ 0x7f9713812800] After avformat_find_stream_info() pos: 239739164
 bytes read:12000238 seeks:25 frames:95
 Input #0, flv, from '../2014-04-23-a2-domes-1.flv':
   Metadata:
     protocolversion : 0
     frameWidth      : 1440
     frameHeight     : 1080
     displayWidth    : 1920
     displayHeight   : 1080
     type            : audio
     audiochannels   : 1
     config          : 1408
     timescale       : 16000
     sampletype      : mpeg4-generic
     profile-level-id: 420029
     sprop-parameter-sets: Z0IAKeKQC0BE/L/4ACAAG3AQEB4eJEVA,aM48gA==
     description     : {AACFrame: codec:AAC, channels:1, frequency:16000,
 samplesPerFrame:1024, objectType:LC}
     emailaddress    : NONE
     name            : Media Presentation
     origin          : - 1398240721847283 1398240721847283 IN IP4
 88.197.40.22
     timing          : 0 0
     range           : npt=0.000000-
   Duration: 00:56:56.67, start: 0.000000, bitrate: 981 kb/s
     Stream #0:0, 40, 1/1000: Video: h264 (Baseline), 1 reference frame,
 yuvj420p(pc, bt709, left), 1440x1080 (1440x1088) [SAR 4:3 DAR 16:9],
 1/2000, 51200 kb/s, 25 tbr, 1k tbn, 2k tbc
     Stream #0:1, 52, 1/1000: Audio: aac (LC), 16000 Hz, mono, fltp, 65
 kb/s
     Stream #0:2, 2, 1/1000: Subtitle: text
     Stream #0:3, 1, 1/1000: Audio: speex, 16000 Hz, mono
 Successfully opened the file.
 Parsing a group of options: output file test.avi.
 Successfully parsed a group of options.
 Opening an output file: test.avi.
 File 'test.avi' already exists. Overwrite ? [y/N] y
 Successfully opened the file.
 detected 4 logical cores
 [graph 0 input from stream 0:0 @ 0x7f9712f00380] Setting 'video_size' to
 value '1440x1080'
 [graph 0 input from stream 0:0 @ 0x7f9712f00380] Setting 'pix_fmt' to
 value '12'
 [graph 0 input from stream 0:0 @ 0x7f9712f00380] Setting 'time_base' to
 value '1/1000'
 [graph 0 input from stream 0:0 @ 0x7f9712f00380] Setting 'pixel_aspect' to
 value '4/3'
 [graph 0 input from stream 0:0 @ 0x7f9712f00380] Setting 'sws_param' to
 value 'flags=2'
 [graph 0 input from stream 0:0 @ 0x7f9712f00380] Setting 'frame_rate' to
 value '25/1'
 [graph 0 input from stream 0:0 @ 0x7f9712f00380] w:1440 h:1080
 pixfmt:yuvj420p tb:1/1000 fr:25/1 sar:4/3 sws_param:flags=2
 [format @ 0x7f9712f00a00] compat: called with args=[yuv420p]
 [format @ 0x7f9712f00a00] Setting 'pix_fmts' to value 'yuv420p'
 [auto-inserted scaler 0 @ 0x7f9712f00ea0] Setting 'flags' to value '0x4'
 [auto-inserted scaler 0 @ 0x7f9712f00ea0] w:iw h:ih flags:'0x4' interl:0
 [format @ 0x7f9712f00a00] auto-inserting filter 'auto-inserted scaler 0'
 between the filter 'Parsed_null_0' and the filter 'format'
 [AVFilterGraph @ 0x7f9712e00c40] query_formats: 4 queried, 2 merged, 1
 already done, 0 delayed
 [swscaler @ 0x7f9713809400] deprecated pixel format used, make sure you
 did set range correctly
 [auto-inserted scaler 0 @ 0x7f9712f00ea0] w:1440 h:1080 fmt:yuvj420p
 sar:4/3 -> w:1440 h:1080 fmt:yuv420p sar:4/3 flags:0x4
 [graph 1 input from stream 0:1 @ 0x7f9712d03c00] Setting 'time_base' to
 value '1/16000'
 [graph 1 input from stream 0:1 @ 0x7f9712d03c00] Setting 'sample_rate' to
 value '16000'
 [graph 1 input from stream 0:1 @ 0x7f9712d03c00] Setting 'sample_fmt' to
 value 'fltp'
 [graph 1 input from stream 0:1 @ 0x7f9712d03c00] Setting 'channel_layout'
 to value '0x4'
 [graph 1 input from stream 0:1 @ 0x7f9712d03c00] tb:1/16000 samplefmt:fltp
 samplerate:16000 chlayout:0x4
 [audio format for output stream 0:1 @ 0x7f9712d02680] Setting
 'sample_fmts' to value 'fltp'
 [audio format for output stream 0:1 @ 0x7f9712d02680] Setting
 'channel_layouts' to value
 '0x4|0x3|0x103|0x7|0x603|0x33|0x107|0x607|0x37|0xc|0xb|0x10b|0xf|0x60b|0x3b|0x10f|0x60f|0x3f'
 [AVFilterGraph @ 0x7f9712d03700] query_formats: 4 queried, 9 merged, 0
 already done, 0 delayed
 [mpeg4 @ 0x7f971303de00] intra_quant_bias = 0 inter_quant_bias = -64
 Output #0, avi, to 'test.avi':
   Metadata:
     protocolversion : 0
     frameWidth      : 1440
     frameHeight     : 1080
     displayWidth    : 1920
     displayHeight   : 1080
     type            : audio
     audiochannels   : 1
     config          : 1408
     timescale       : 16000
     sampletype      : mpeg4-generic
     profile-level-id: 420029
     ILNG            : eng
     sprop-parameter-sets: Z0IAKeKQC0BE/L/4ACAAG3AQEB4eJEVA,aM48gA==
     description     : {AACFrame: codec:AAC, channels:1, frequency:16000,
 samplesPerFrame:1024, objectType:LC}
     emailaddress    : NONE
     name            : Media Presentation
     origin          : - 1398240721847283 1398240721847283 IN IP4
 88.197.40.22
     timing          : 0 0
     range           : npt=0.000000-
     ISFT            : Lavf56.31.100
     Stream #0:0, 0, 1/25: Video: mpeg4, 1 reference frame (FMP4 /
 0x34504D46), yuv420p(left), 1440x1080 [SAR 4:3 DAR 16:9], 1/25, q=2-31,
 200 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc56.35.101 mpeg4
     Stream #0:1, 0, 12/125: Audio: ac3 ([0] [0][0] / 0x2000), 16000 Hz,
 mono, fltp, 96 kb/s
     Metadata:
       encoder         : Lavc56.35.101 ac3
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
   Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
 Press [q] to stop, [?] for help
 Cliping frame in rate conversion by 0.000008
 Cliping frame in rate conversion by 0.349998
     Last message repeated 11 times
 Cliping frame in rate conversion by 0.349998me=00:00:02.40 bitrate=
 678.4kbits/s
     Last message repeated 13 times
 Cliping frame in rate conversion by 0.349998ime=00:00:03.07 bitrate=
 713.4kbits/s
     Last message repeated 6 times
 [h264 @ 0x7f9714845200] corrupted macroblock 64 65 (total_coeff=-1)
 [h264 @ 0x7f9714845200] error while decoding MB 64 65
 [h264 @ 0x7f9714845200] concealing 255 DC, 255 AC, 255 MV errors in P
 frame
 Cliping frame in rate conversion by 0.349998
 [flv @ 0x7f9713812800] Skipping flv packet: type 3, size 7665404, flags 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 13, size 3685709, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 23, size 15462319, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 20, size 5936318, flags
 0.
 [flv @ 0x7f9713812800] Stream discovered after head already parsed
 [flv @ 0x7f9713812800] New video stream 0:4 at pos:272488986 and
 DTS:148071s
 [flv @ 0x7f9713812800] Skipping flv packet: type 11, size 10868984, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 26, size 16524253, flags
 0.
 [flv @ 0x7f9713812800] Stream discovered after head already parsed
 [flv @ 0x7f9713812800] New video stream 0:5 at pos:304061095 and
 DTS:722462s
 [flv @ 0x7f9713812800] Skipping flv packet: type 15, size 5364418, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 23, size 11908533, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 16, size 9323993, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 5, size 14693218, flags
 0.
 [flv @ 0x7f9713812800] Stream discovered after head already parsed
 [flv @ 0x7f9713812800] New audio stream 0:6 at pos:354290289 and
 DTS:2.14237e+06s
 [flv @ 0x7f9713812800] Skipping flv packet: type 0, size 11998935, flags
 0.bits/s
 [flv @ 0x7f9713812800] Skipping flv packet: type 10, size 12975439, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 23, size 10878975, flags
 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 1, size 3105755, flags 0.
 [flv @ 0x7f9713812800] Skipping flv packet: type 13, size 14573150, flags
 0.
 Cliping frame in rate conversion by 0.349998
     Last message repeated 3 times
 [output stream 0:1 @ 0x7f9712d03d20] EOF on sink link output stream
 0:1:default.
 [output stream 0:0 @ 0x7f9712f006c0] EOF on sink link output stream
 0:0:default.
 No more output streams to write to, finishing.
 frame=   40 fps= 15 q=22.2 Lsize=     325kB time=00:00:03.36 bitrate=
 791.9kbits/s
 video:273kB audio:39kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 4.023069%
 Input file #0 (../2014-04-23-a2-domes-1.flv):
   Input stream #0:0 (video): 40 packets read (217354 bytes); 40 frames
 decoded;
   Input stream #0:1 (audio): 52 packets read (26260 bytes); 52 frames
 decoded (53248 samples);
   Input stream #0:2 (subtitle): 2 packets read (6288056 bytes);
   Input stream #0:3 (audio): 1 packets read (4696896 bytes);
   Total: 95 packets (11228566 bytes) demuxed
 Output file #0 (test.avi):
   Output stream #0:0 (video): 40 frames encoded; 40 packets muxed (279411
 bytes);
   Output stream #0:1 (audio): 35 frames encoded (53248 samples); 35
 packets muxed (40320 bytes);
   Total: 75 packets (319731 bytes) muxed
 96 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 0x7f9712e00840] Statistics: 12 seeks, 89 writeouts
 [AVIOContext @ 0x7f9712d019a0] Statistics: 40403714 bytes read, 40 seeks
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4511#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list