[libav-bugs] [Bug 650] New: libav fails when when re-encoding wmv to mp4

bugzilla at libav.org bugzilla at libav.org
Wed Mar 12 16:26:09 CET 2014


http://bugzilla.libav.org/show_bug.cgi?id=650

           Summary: libav fails when when re-encoding wmv to mp4
           Product: Libav
           Version: 9
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: jason.liou at hypermediasystems.com


Dev Team

When converting wmv to mp4 the following errors occur. I tried both libfdk_aac
and aac codecs. Note that if i disable audio using "-an" the files encode just
fine.


[03:25 PM] jliou at mercdb002:/data/jliou $ avconv -i clipped.wmv -y -vcodec
libx264  -f mp4 -acodec aac -strict experimental something.mp4
avconv version 9.11, Copyright (c) 2000-2013 the Libav developers
  built on Feb 10 2014 21:59:50 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
[wmv3 @ 0x2bd41e0] Extra data: 8 bits left, value: 0
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, asf, from 'clipped.wmv':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    VBR Peak        : 700
    IsVBR           : 1
    Buffer Average  : 306
    encoder         : Lavf53.21.1
  Duration: 00:00:02.17, start: 0.000000, bitrate: 379 kb/s
    Stream #0.0: Video: wmv3 (Main), yuv420p, 1280x720, 29.97 fps, 29.97 tbr,
1k tbn
    Stream #0.1: Audio: wmav2, 48000 Hz, stereo, fltp, 192 kb/s
[libx264 @ 0x2bd7280] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x2bd7280] profile High, level 3.1
[libx264 @ 0x2bd7280] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft
2003-2014 - 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=48 lookahead_threads=5
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
[wmv3 @ 0x2bd41e0] Extra data: 8 bits left, value: 0
Output #0, mp4, to 'something.mp4':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    VBR Peak        : 700
    IsVBR           : 1
    Buffer Average  : 306
    encoder         : Lavf54.20.3
    Stream #0.0: Video: libx264, yuv420p, 1280x720, q=-1--1, 30k tbn, 29.97 tbc
    Stream #0.1: Audio: aac, 48000 Hz, stereo, fltp, 200 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (wmv3 -> libx264)
  Stream #0:1 -> #0:1 (wmav2 -> aac)
Press ctrl-c to stop encoding
[mp4 @ 0x2bd82a0] Application provided invalid, non monotonically increasing
dts to muxer in stream 1: 27648 >= 26592
av_interleaved_write_frame(): Invalid argument



$ avconv -i clipped.wmv -y -vcodec libx264  -f mp4 -acodec libfdk_aac 
something.mp4
avconv version 9.11, Copyright (c) 2000-2013 the Libav developers
  built on Feb 10 2014 21:59:50 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
[wmv3 @ 0x2e57020] Extra data: 8 bits left, value: 0
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, asf, from 'clipped.wmv':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    VBR Peak        : 700
    IsVBR           : 1
    Buffer Average  : 306
    encoder         : Lavf53.21.1
  Duration: 00:00:02.17, start: 0.000000, bitrate: 379 kb/s
    Stream #0.0: Video: wmv3 (Main), yuv420p, 1280x720, 29.97 fps, 29.97 tbr,
1k tbn
    Stream #0.1: Audio: wmav2, 48000 Hz, stereo, fltp, 192 kb/s
[libx264 @ 0x2e5a0c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x2e5a0c0] profile High, level 3.1
[libx264 @ 0x2e5a0c0] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft
2003-2014 - 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=48 lookahead_threads=5
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
[wmv3 @ 0x2e57020] Extra data: 8 bits left, value: 0
Output #0, mp4, to 'something.mp4':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    VBR Peak        : 700
    IsVBR           : 1
    Buffer Average  : 306
    encoder         : Lavf54.20.3
    Stream #0.0: Video: libx264, yuv420p, 1280x720, q=-1--1, 30k tbn, 29.97 tbc
    Stream #0.1: Audio: libfdk_aac, 48000 Hz, stereo, s16, 139 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (wmv3 -> libx264)  
  Stream #0:1 -> #0:1 (wmav2 -> libfdk_aac)
Press ctrl-c to stop encoding
[mp4 @ 0x2e5b0e0] Application provided invalid, non monotonically increasing
dts to muxer in stream 1: 27648 >= 26592
av_interleaved_write_frame(): Invalid argument

-- 
Configure bugmail: http://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