[libav-bugs] [Bug 544] New: M4V -> MKV remux results in bad H.264 playback.

bugzilla at libav.org bugzilla at libav.org
Sat Jul 20 21:30:42 CEST 2013


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

           Summary: M4V -> MKV remux results in bad H.264 playback.
           Product: Libav
           Version: 9
          Platform: X86
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: Normal
         Component: utilities
        AssignedTo: bugzilla at libav.org
        ReportedBy: heksesang at gmail.com


The resulting file does not play properly in MPC-HC. It skips a several seconds
of video frames and doesn't display the subtitles. Audio works fine, though.

VLC plays the same file just fine.

This issue doesn't appear with ffmpeg or mkvmerge.

Command line: avconv -i sample.m4v -map 0:1 -codec copy sample.mkv

Output:
avconv version 9.7, Copyright (c) 2000-2013 the Libav developers
  built on Jun 16 2013 19:51:26 with gcc 4.7.2 (Gentoo 4.7.2-r1 p1.5,
pie-0.5.5)

  configuration: --cross-prefix=x86_64-w64-mingw32- --arch=x86_64
--sysroot=/usr
/x86_64-w64-mingw32/ --enable-runtime-cpudetect --enable-cross-compile
--enable-
w32threads --prefix=/usr --target-os=mingw32 --enable-gpl --enable-version3
--en
able-librtmp --enable-libx264 --enable-libvorbis --enable-libvo-aacenc
--enable-
memalign-hack --enable-shared --enable-avisynth --enable-libvpx
--enable-libmp3l
ame
  libavutil     52.  3. 0 / 52.  3. 0
  libavcodec    54. 35. 0 / 54. 35. 0
  libavformat   54. 20. 3 / 54. 20. 3
  libavdevice   53.  2. 0 / 53.  2. 0
  libavfilter    3.  3. 0 /  3.  3. 0
  libavresample  1.  0. 1 /  1.  0. 1
  libswscale     2.  1. 1 /  2.  1. 1
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set libav* logging level) with
ar
gument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging
level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'sample.m4v'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set libav* logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file sample.m4v.
Successfully parsed a group of options.
Opening an input file: sample.m4v.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002E357C0] Probed with size=2048 and
score=100

[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002E357C0] ISO: File Type Major Brand: M4V
[mjpeg @ 0000000002E3DE40] marker=d8 avail_size_in_buf=td
[mjpeg @ 0000000002E3DE40] marker parser used 0 bytes (0 bits)
[mjpeg @ 0000000002E3DE40] marker=e0 avail_size_in_buf=td
[mjpeg @ 0000000002E3DE40] marker parser used 16 bytes (128 bits)
[mjpeg @ 0000000002E3DE40] marker=e2 avail_size_in_buf=td
[mjpeg @ 0000000002E3DE40] marker parser used 575 bytes (4600 bits)
[mjpeg @ 0000000002E3DE40] marker=db avail_size_in_buf=td
[mjpeg @ 0000000002E3DE40] index=0
[mjpeg @ 0000000002E3DE40] qscale[0]: 1
[mjpeg @ 0000000002E3DE40] marker parser used 67 bytes (536 bits)
[mjpeg @ 0000000002E3DE40] marker=db avail_size_in_buf=td
[mjpeg @ 0000000002E3DE40] index=1
[mjpeg @ 0000000002E3DE40] qscale[1]: 2
[mjpeg @ 0000000002E3DE40] marker parser used 67 bytes (536 bits)
[mjpeg @ 0000000002E3DE40] marker=c0 avail_size_in_buf=td
[mjpeg @ 0000000002E3DE40] sof0: picture: 640x640
[mjpeg @ 0000000002E3DE40] component 0 1:1 id: 0 quant:0
[mjpeg @ 0000000002E3DE40] component 1 1:1 id: 1 quant:1
[mjpeg @ 0000000002E3DE40] component 2 1:1 id: 2 quant:1
[mjpeg @ 0000000002E3DE40] pix fmt id 11111100
[mjpeg @ 0000000002E3DE40] marker parser used 17 bytes (136 bits)
[mjpeg @ 0000000002E3DE40] marker=c4 avail_size_in_buf=td
[mjpeg @ 0000000002E3DE40] class=0 index=0 nb_codes=10
[mjpeg @ 0000000002E3DE40] marker parser used 29 bytes (232 bits)
[mjpeg @ 0000000002E3DE40] marker=c4 avail_size_in_buf=td
[mjpeg @ 0000000002E3DE40] class=1 index=0 nb_codes=242
[mjpeg @ 0000000002E3DE40] marker parser used 100 bytes (800 bits)
[mjpeg @ 0000000002E3DE40] marker=c4 avail_size_in_buf=td
[mjpeg @ 0000000002E3DE40] class=0 index=1 nb_codes=8
[mjpeg @ 0000000002E3DE40] marker parser used 27 bytes (216 bits)
[mjpeg @ 0000000002E3DE40] marker=c4 avail_size_in_buf=td
[mjpeg @ 0000000002E3DE40] class=1 index=1 nb_codes=242
[mjpeg @ 0000000002E3DE40] marker parser used 59 bytes (472 bits)
[mjpeg @ 0000000002E3DE40] escaping removed td bytes
[mjpeg @ 0000000002E3DE40] marker=da avail_size_in_buf=td
[mjpeg @ 0000000002E3DE40] component: 0
[mjpeg @ 0000000002E3DE40] component: 1
[mjpeg @ 0000000002E3DE40] component: 2
[mjpeg @ 0000000002E3DE40] marker parser used 141843 bytes (1134742 bits)
[mjpeg @ 0000000002E3DE40] marker=d9 avail_size_in_buf=td
[mjpeg @ 0000000002E3DE40] mjpeg decode frame unused td bytes
[h264 @ 0000000002E37640] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002E357C0] max_analyze_duration reached
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample.m4v':
  Metadata:
    major_brand     : M4V
    minor_version   : 0
    compatible_brands: M4V mp42isom
    creation_time   : 2013-06-22 02:42:18
    title           : The Future in the Past
    artist          : Bones
    album_artist    : Bones
    album           : Bones
    genre           : Drama
    track           : 1
    disc            : 1/1
    gapless_playback: 0
    date            : 2012-09-17T07:00:00Z
    copyright       : ┬® 2012 Twentieth Century Fox Film Corporation.  All
right
s reserved.
    description     : Having been accused of murder, Brennan (Emily Deschanel)
i
s on the run from the FBI, with help from
    hd_video        : 2
    network         : FOX
    show            : Bones
    episode_id      : 8AKY01
    season_number   : 8
    episode_sort    : 1
    media_type      : 10
    synopsis        : Having been accused of murder, Brennan (Emily Deschanel)
i
s on the run from the FBI, with help from her father Max (guest star Ryan
OÔÇÖNe
al). Booth (David Boreanaz) and the Jeffersonian team are convinced evil tech
ge
nius Christopher Pelant (guest star Andrew Leeds) has manipulated key evidence
i
n the case to pinpoint Brennan as the prime suspect. Then, an anonymous tip
lead
s the team to the remains of a high school guidance counselor that may hold the
key to proving BrennanÔÇÖs innocence.
  Duration: 00:43:46.97, start: 0.000000, bitrate: 31 kb/s
    Stream #0.0(eng), 235, 1/48000: Audio: aac, 48000 Hz, stereo, fltp, 154
kb/s

    Metadata:
      creation_time   : 2013-06-22 02:42:18
    Stream #0.1(eng), 122, 1/23976: Video: h264 (High), yuv420p, 1920x1080 [PAR
1:1 DAR 16:9], 0/1, 5212 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn
    Metadata:
      creation_time   : 2013-06-22 02:42:18
    Stream #0.2(eng), 157, 1/48000: Audio: ac3, 48000 Hz, 5.1, fltp, 384 kb/s
    Metadata:
      creation_time   : 2013-06-22 02:42:18
    Stream #0.3(eng), 2, 1/30000: Subtitle: c608 / 0x38303663, 0 kb/s
    Metadata:
      creation_time   : 2013-06-22 02:42:18
    Stream #0.4, 1, 1/90000: Video: mjpeg, yuvj444p, 640x640 [PAR 300:300 DAR
1:
1], 0/1, 90k tbn
Successfully openened the file.
At least one output file must be specified

-- 
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