[FFmpeg-user] Help with a damaged file

JULIAN GARDNER joolzg at btinternet.com
Fri Oct 4 11:14:26 CEST 2013


file uploaded here http://joolzg.myetrayz.net:8080/rapidbox/rapidFileDownload.php?r_id=d645920e395fedad7bbbed0eca3fe2e0
Playpack

ffmpeg problem.ts

ffplay version N-56801-g286beeb Copyright (c) 2003-2013 the FFmpeg developers
  built on Oct  2 2013 09:25:25 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libzvbi --cc='ccache cc'
  libavutil      52. 46.100 / 52. 46.100
  libavcodec     55. 33.101 / 55. 33.101
  libavformat    55. 18.104 / 55. 18.104
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 88.100 /  3. 88.100
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 0xb1705c80] non-existing PPS referencedKB sq=    0B f=0/0   
[h264 @ 0xb1705c80] non-existing PPS 0 referenced
[h264 @ 0xb1705c80] decode_slice_header error
[h264 @ 0xb1705c80] no frame!
[h264 @ 0xb1705c80] non-existing PPS referenced
[h264 @ 0xb1705c80] non-existing PPS 0 referenced
[h264 @ 0xb1705c80] decode_slice_header error
[h264 @ 0xb1705c80] no frame!
[mpegts @ 0xb1701980] PES packet size mismatch0KB sq=    0B f=0/0   
    Last message repeated 3 times
Input #0, mpegts, from 'problem.ts':
  Duration: 00:00:03.52, start: 69067.800000, bitrate: 854 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 528x288 [SAR 32:33 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x101](dan): Audio: aac ([15][0][0][0] / 0x000F), 32000 Hz, stereo, fltp, 97 kb/s
[h264 @ 0xb5e7c620] Missing reference picture, default is 0
[h264 @ 0xb5e7c620] decode_slice_header error
[h264 @ 0xb5e7d1c0] Missing reference picture, default is 65554/0   
    Last message repeated 1 times
[mpegts @ 0xb1701980] PES packet size mismatch16KB sq=    0B f=0/0   
[aac @ 0xb1706240] channel element 1.8 is not allocated   0B f=0/0   
[aac @ 0xb1706240] Prediction is not allowed in AAC-LC.
[aac @ 0xb1706240] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0xb1706240] Reserved bit set.
[aac @ 0xb1706240] channel element 2.10 is not allocated
[h264 @ 0xb5e7d1c0] reference picture missing during reorder
[h264 @ 0xb5e7d1c0] Missing reference picture, default is 65626
[h264 @ 0xb5e7d620] reference picture missing during reorder
[h264 @ 0xb5e7d620] Missing reference picture, default is 65632
[h264 @ 0xb5e7d1c0] mmco: unref short failure
[mpegts @ 0xb1701980] PES packet size mismatch46KB sq=    0B f=0/0   
[h264 @ 0xb5e7c620] error while decoding MB 9 12, bytestream (-8)0   
[h264 @ 0xb5e7c620] concealing 238 DC, 238 AC, 238 MV errors in P frame
[h264 @ 0xb5e7c620] Missing reference picture, default is 0B f=0/0   
[h264 @ 0xb5e7c620] decode_slice_header error
[h264 @ 0xb5e7d1c0] Missing reference picture, default is 65532
[h264 @ 0xb5e7d620] Missing reference picture, default is 65532
[h264 @ 0xb5e7c620] reference picture missing during reorder
[h264 @ 0xb5e7c620] Missing reference picture, default is 65532
[h264 @ 0xb5e7d620] mmco: unref short failure
[mpegts @ 0xb1701980] PES packet size mismatch43KB sq=    0B f=0/0   
[h264 @ 0xb5e7c620] error while decoding MB 9 12, bytestream (-8)0   
[h264 @ 0xb5e7c620] concealing 238 DC, 238 AC, 238 MV errors in P frame
69070.48 A-V: -0.727 fd=  12 aq=    7KB vq=    0KB sq=    0B f=0/0   

Transcode
ffmpeg -i problem.ts -vcodec copy -acodec copy -bsf:a aac_adtstoasc -y problem.mp4
ffmpeg version N-56801-g286beeb Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct  2 2013 09:25:25 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libzvbi --cc='ccache cc'
  libavutil      52. 46.100 / 52. 46.100
  libavcodec     55. 33.101 / 55. 33.101
  libavformat    55. 18.104 / 55. 18.104
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 88.100 /  3. 88.100
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 0xaeb3b00] non-existing PPS referenced
[h264 @ 0xaeb3b00] non-existing PPS 0 referenced
[h264 @ 0xaeb3b00] decode_slice_header error
[h264 @ 0xaeb3b00] no frame!
[h264 @ 0xaeb3b00] non-existing PPS referenced
[h264 @ 0xaeb3b00] non-existing PPS 0 referenced
[h264 @ 0xaeb3b00] decode_slice_header error
[h264 @ 0xaeb3b00] no frame!
[mpegts @ 0xaeafd60] PES packet size mismatch
    Last message repeated 3 times
Input #0, mpegts, from 'problem.ts':
  Duration: 00:00:03.52, start: 69067.800000, bitrate: 854 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 528x288 [SAR 32:33 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x101](dan): Audio: aac ([15][0][0][0] / 0x000F), 32000 Hz, stereo, fltp, 97 kb/s
Output #0, mp4, to 'problem.mp4':
  Metadata:
    encoder         : Lavf55.18.104
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 528x288 [SAR 32:33 DAR 16:9], q=2-31, 25 fps, 90k tbn, 90k tbc
    Stream #0:1(dan): Audio: aac ([64][0][0][0] / 0x0040), 32000 Hz, stereo, 97 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0xaeafd60] PES packet size mismatch
[NULL @ 0xaeb5ce0] Multiple RDBs per frame with CRC is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
Failed to open bitstream filter aac_adtstoasc for stream 0 with codec copy: Not yet implemented in FFmpeg, patches welcome
[mp4 @ 0xaeb4d60] aac bitstream error
[mpegts @ 0xaeafd60] PES packet size mismatch
frame=   80 fps=0.0 q=-1.0 Lsize=     325kB time=00:00:03.44 bitrate= 773.1kbits/s    
video:285kB audio:37kB subtitle:0 global headers:0kB muxing overhead 0.926851%

Failure is a 69069 (btw multiply value for a 32 bit random number)

Now i think the contact ffmpeg is bogus as the 1st part of the real file convert fine, its when we have this little glitch it messes up

joolz


More information about the ffmpeg-user mailing list