[libav-bugs] [Bug 393] New: MOV with H.263 video recognized as FLV

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Wed Nov 14 10:13:09 CET 2012


https://bugzilla.libav.org/show_bug.cgi?id=393

           Summary: MOV with H.263 video recognized as FLV
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: utilities
        AssignedTo: bugzilla at libav.org
        ReportedBy: nostah at gmail.com


Which causes problems with video decoding. Originally detected with version
0.8.3 (from debian backports to squeeze) but also confirmed in 0.9 beta1:

avconv -loglevel 99 -i BBB.MOV test.mp4
avconv version 9_beta1-6:9~beta1-1, Copyright (c) 2000-2012 the Libav
developers
  built on Oct 22 2012 13:19:26 with gcc 4.4.5 (Debian 4.4.5-8)
  configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect
--extra-version='6:9~beta1-1' --libdir=/usr/lib/ --prefix=/usr --enable-bzlib
--enable-libfreetype --enable-gnutls --enable-libgsm --enable-libmp3lame
--enable-librtmp --enable-libopenjpeg --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-vaapi --enable-libvorbis
--enable-libvpx --enable-zlib --enable-gpl --enable-swscale --enable-x11grab
--enable-libx264 --enable-libxvid --enable-libfaac --enable-nonfree
--shlibdir=/usr/lib/ --enable-shared --disable-static
  avcodec     configuration: --arch=amd64 --enable-pthreads
--enable-runtime-cpudetect --extra-version='6:9~beta1-1' --libdir=/usr/lib/
--prefix=/usr --enable-bzlib --enable-libfreetype --enable-gnutls
--enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopenjpeg
--enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi
--enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-swscale
--enable-x11grab --enable-libx264 --enable-libxvid --enable-libfaac
--enable-nonfree --shlibdir=/usr/lib/ --enable-shared --disable-static
--enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb
--enable-version3 --enable-libvo-aacenc --enable-version3
--enable-libvo-amrwbenc --enable-version3
  libavutil     51. 42. 0 / 51. 42. 0
  libavcodec    54. 31. 0 / 54. 31. 0
  libavformat   54. 18. 0 / 54. 18. 0
  libavdevice   53.  2. 0 / 53.  2. 0
  libavfilter    3.  1. 0 /  3.  1. 0
  libavresample  1.  0. 0 /  1.  0. 0
  libswscale     2.  1. 1 /  2.  1. 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1a21760] Probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1a21760] ISO: File Type Major Brand: qt  
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1a21760] All info found
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from BBB.MOV':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    creation_time   : 2010-05-19 08:38:09
    title           :
MKV_h263_4CIF_50FPS_3073Kbps_FLAC_96KHz_60sec(31Mb)_BBB.mkv
    title-eng       :
MKV_h263_4CIF_50FPS_3073Kbps_FLAC_96KHz_60sec(31Mb)_BBB.mkv
    artist          : created.with.SUPER(C).v2010.bld.38
    artist-eng      : created.with.SUPER(C).v2010.bld.38
    encoder         : SUPER(C)   
    encoder-eng     : SUPER(C)   
  Duration: 00:00:59.89, start: 0.000000, bitrate: 5198 kb/s
    Stream #0.0(eng), 1, 1/1000: Video: flv, yuv420p, 704x576, 0/1, 3659 kb/s,
30.03 fps, 1k tbn
    Metadata:
      creation_time   : 2010-05-19 08:38:09
    Stream #0.1(eng), 4, 1/48000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536
kb/s
    Metadata:
      creation_time   : 2010-05-19 08:38:09
[buffer @ 0x1a24180] w:704 h:576 pixfmt:yuv420p
[FPS filter @ 0x1a28340] Setting value '44950/1497' for key 'fps'
[fps @ 0x1a282c0] fps=44950/1497
[buffersink @ 0x1a23e60] auto-inserting filter 'auto-inserted fifo 0' between
the filter 'fps for output stream 0:0' and the filter 'output stream 0:0'
[abuffer source @ 0x1a299a0] Setting value '1/48000' for key 'time_base'
[abuffer source @ 0x1a299a0] Setting value '48000' for key 'sample_rate'
[abuffer source @ 0x1a299a0] Setting value 's16' for key 'sample_fmt'
[abuffer source @ 0x1a299a0] Setting value '0x3' for key 'channel_layout'
[abuffer @ 0x1a27fa0] tb:1/48000 samplefmt:s16 samplerate: 48000 ch layout:0x3
[aformat filter @ 0x1a29220] Setting value 's16' for key 'sample_fmts'
[aformat filter @ 0x1a29220] Setting value '0x4,0x3,0x7,0x107,0x37,0x3f' for
key 'channel_layouts'
[abuffersink @ 0x1a29360] auto-inserting filter 'auto-inserted fifo 0' between
the filter 'audio format for output stream 0:1' and the filter 'output stream
0:1'
[libx264 @ 0x1a32300] using mv_range_thread = 40
[libx264 @ 0x1a32300] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle
SSE4.2 AVX
[libx264 @ 0x1a32300] profile High, level 3.1
[libx264 @ 0x1a32300] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=-2 threads=6 sliced_threads=0 nr=0 decimate=1
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2
b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1
crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.25 aq=1:1.00
Output #0, mp4, to 'test.mp4':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    creation_time   : 2010-05-19 08:38:09
    title           :
MKV_h263_4CIF_50FPS_3073Kbps_FLAC_96KHz_60sec(31Mb)_BBB.mkv
    title-eng       :
MKV_h263_4CIF_50FPS_3073Kbps_FLAC_96KHz_60sec(31Mb)_BBB.mkv
    artist          : created.with.SUPER(C).v2010.bld.38
    artist-eng      : created.with.SUPER(C).v2010.bld.38
    encoder-eng     : SUPER(C)   
    encoder         : Lavf54.18.0
    Stream #0.0(eng), 0, 1/44950: Video: libx264, yuv420p, 704x576, 1497/44950,
q=-1--1, 44950 tbn, 30.03 tbc
    Metadata:
      creation_time   : 2010-05-19 08:38:09
    Stream #0.1(eng), 0, 1/48000: Audio: libfaac, 48000 Hz, stereo, s16, 200
kb/s
    Metadata:
      creation_time   : 2010-05-19 08:38:09
Stream mapping:
  Stream #0:0 -> #0:0 (flv -> libx264)
  Stream #0:1 -> #0:1 (pcm_s16le -> libfaac)
Press ctrl-c to stop encoding
[flv @ 0x1a242c0] I cbpc damaged at 1 0
[flv @ 0x1a242c0] Error at MB: 1
[flv @ 0x1a242c0] concealing 48 DC, 48 AC, 48 MV errors
Input stream #0:0 frame changed from size:704x576 fmt:yuv420p to size:128x96
fmt:yuv420p
[fps @ 0x1a282c0] 0 frames in, 0 frames out; 0 frames dropped, 0 frames
duplicated.
[buffer @ 0x1a241e0] w:128 h:96 pixfmt:yuv420p
[FPS filter @ 0x1a28ea0] Setting value '44950/1497' for key 'fps'
[fps @ 0x23fed20] fps=44950/1497
[buffersink @ 0x1a282c0] auto-inserting filter 'auto-inserted fifo 0' between
the filter 'fps for output stream 0:0' and the filter 'output stream 0:0'
[scale @ 0x1a23d40] w:128 h:96 fmt:yuv420p -> w:704 h:576 fmt:yuv420p flags:0x4
[flv @ 0x1a242c0] illegal dc 128 at 0 0
[flv @ 0x1a242c0] run overflow at 1x0 i:1
[flv @ 0x1a242c0] Error at MB: 1
[flv @ 0x1a242c0] concealing 48 DC, 48 AC, 48 MV errors
[libx264 @ 0x1a32300] using mv_range_thread = 40
[flv @ 0x1a242c0] I cbpy damaged at 1 0
[flv @ 0x1a242c0] Error at MB: 1
[flv @ 0x1a242c0] concealing 48 DC, 48 AC, 48 MV errors
[flv @ 0x1a242c0] illegal dc 128 at 4 0
[flv @ 0x1a242c0] run overflow at 6x0 i:1
[flv @ 0x1a242c0] Error at MB: 6
[flv @ 0x1a242c0] concealing 48 DC, 48 AC, 48 MV errors

the last few lines are repeating a lot of times. Resulting file have video
track filled with gray background picture and proper sound.

Sample file uploaded here:
http://dl.dropbox.com/u/17364065/BBB.MOV


Transcoding works fine if input codec is overridden:

avconv -vcodec h263 -i BBB.MOV test.mp4

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list