[FFmpeg-user] Help with a damaged file

JULIAN GARDNER joolzg at btinternet.com
Thu Oct 3 15:16:35 CEST 2013


I am trying to convert a series of .TS files to .MP4 and 99% are working but a few have PES errors.

Now when playing using ffplay i get output like this

[mpegts @ 0xb1701980] PES packet size mismatch15KB sq=    0B f=0/0   
[aac @ 0xb1706320] channel element 1.8 is not allocated   0B f=0/0   
[aac @ 0xb1706320] Prediction is not allowed in AAC-LC.
[aac @ 0xb1706320] 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 @ 0xb1706320] Reserved bit set.
[aac @ 0xb1706320] channel element 2.10 is not allocated

But it plays with a little glitch in the sound

Bu the problem is when i transcode, all works upto the glitch but then i get

Input #0, mpegts, from 'cu-111981-207.ts':
  Duration: 00:31:00.37, start: 68474.392000, bitrate: 778 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, 104 kb/s
Output #0, mpegts, to 'a.ts':
  Metadata:
    encoder         : Lavf55.18.104
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 528x288 [SAR 32:33 DAR 16:9], q=2-31, 25 fps, 90k tbn, 25 tbc
    Stream #0:1(dan): Audio: aac ([15][0][0][0] / 0x000F), 32000 Hz, stereo, 104 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0xaddae00] PES packet size mismatch
    Last message repeated 1 times
[mpegts @ 0xaddae00] PES packet size mismatchtime=00:07:10.00 bitrate= 766.8kbits/s    
[mpegts @ 0xaddff40] AAC bitstream not in ADTS format and extradata missing
av_interleaved_write_frame(): Invalid data found when processing input

and thats it, is there a commandline that can make the transcode ignore this and carry on!

joolz


More information about the ffmpeg-user mailing list