Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#4738 closed defect (fixed)

some mpeg-ts files can't be played

Reported by: wanezhiling Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: h264 regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Attachments (1)

你把我灌醉_cut.ts (2.4 MB) - added by cehoyos 4 years ago.

Change History (4)

Changed 4 years ago by cehoyos

comment:1 Changed 4 years ago by cehoyos

  • Component changed from ffplay to avcodec
  • Keywords h264 regression added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Version changed from unspecified to git-master

For future tickets: Please always provide the failing FFmpeg command line together with the complete, uncut console output and please use a less bloated upload service.

$ ffmpeg -i 你把我灌醉_cut.ts -qscale 2 out.avi
ffmpeg version N-74032-gf37a5dc Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.3 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      54. 29.100 / 54. 29.100
  libavcodec     56. 55.100 / 56. 55.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 29.100 /  5. 29.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[mpegts @ 0x95f2ac0] PES packet size mismatch
[h264 @ 0x95f67a0] error while decoding MB 107 59, bytestream -10
[mpegts @ 0x95f2ac0] decoding for stream 0 failed
[mpegts @ 0x95f2ac0] PES packet size mismatch
Input #0, mpegts, from '你把我灌醉_cut.ts':
  Duration: 00:00:02.67, start: 7095.008000, bitrate: 7664 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25.17 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 320 kb/s
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf56.40.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.55.100 mpeg4
    Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      encoder         : Lavc56.55.100 ac3
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
  Stream #0:1 -> #0:1 (ac3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
[mpegts @ 0x95f2ac0] PES packet size mismatch
[h264 @ 0x95f7820] error while decoding MB 107 59, bytestream -10
frame=    2 fps=0.5 q=2.0 Lsize=     500kB time=00:00:02.68 bitrate=1527.9kbits/s
video:354kB audio:133kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.697790%

The output contains ~53 frames with -flags2 +showall.

Version 0, edited 4 years ago by cehoyos (next)

comment:2 Changed 4 years ago by michael

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 4 years ago by cehoyos

Note: See TracTickets for help on using tickets.