Opened 13 years ago

Closed 13 years ago

#562 closed defect (needs_more_info)

I am trying to encode the TS of Japanese terrestrial shows but "PES packet size mismatch" occurs.

Reported by: Emmanuel_Chanel Owned by: Michael Niedermayer
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

*

  1. I've installed ffmpeg on Ubuntu by the way on http://ubuntuforums.org/showthread.php?t=786095 except the point that I set --prefix=/usr few days ago. I reinstalled today. But the problem isn't solved.
  2. I'm in Japan. And I record TV shows aired in Japan. The shows are saved as MPEG-TS files.
    1. When I tried to encode the TS files of "Lie To Me" S1EP03 and of "Cold Case" S3EP19 into mp4 file with libx264, "PES packet size mismatch" occurs. They are aired on TV-Tokyo, a terrestrial channel. When I tried to encode one of "IT White Box"(NHK-G, a terrestrial one), same error occurs.
    2. I find ok to encode the TS files of "Good Wife" S02EP02(NHK BS Premium) and "Covert Affairs" S1EP02(BS-TBS) into mp4 file with libx264. NHK BS Premium and BS-TBS are satellite channels.

I attach the reproduced lines of the trouble with "Lie To Me" (by the command below). Other encoding commands referred above is like that.

emmanuel@star2:~/Recording/ProductsTStoEncode$ ffmpeg -i Lie_To_Me_S1EP03.ts -acodec libfaac -aq 100 -vcodec libx264 -preset slow -crf 22 -s 1280x720 -aspect 16:9 -threads 0 -map 0:0 -map 0:1 -map 0:2 Lie_To_Me_S1EP03.mp4

Attachments (2)

ffmpeg111016.txt (9.2 KB ) - added by Emmanuel_Chanel 13 years ago.
ffmpeg1111071.srt (795.8 KB ) - added by Emmanuel_Chanel 13 years ago.
TypeScript of encoding CSI NY S04EP03 on TV Tokyo.

Download all attachments as: .zip

Change History (7)

by Emmanuel_Chanel, 13 years ago

Attachment: ffmpeg111016.txt added

in reply to:  description comment:1 by Carl Eugen Hoyos, 13 years ago

Component: FFmpegundetermined
Version: unspecifiedgit-master

Replying to Emmanuel_Chanel:

  1. When I tried to encode the TS files of "Lie To Me" S1EP03 and of "Cold Case" S3EP19 into mp4 file with libx264, "PES packet size mismatch" occurs.

Are you only reporting that this message appears or is there any problem with the resulting file?
Or do you believe that ffmpeg prints warnings for perfectly valid streams?

If there is a problem: Is it only reproducible with an external library (libx264 and libfaac) or do you see the same problems with internal encoders? (Bugs are often significantly easier to reproduce - and to fix - if no external libraries are involved.)

In any case, please upload a sample to http://www.datafilehost.com/ and post the link here.

comment:2 by Emmanuel_Chanel, 13 years ago

Are you only reporting that this message appears or is there any problem with the resulting file?

Yes. One encoding is abnormally ended... I didn't wait for the abnormal end, though... Certainly, I should've posted that...

Or do you believe that ffmpeg prints warnings for perfectly valid streams?

Yes. I tested Lie To Me S1EP02, too. I could encode without problem before I cleanly install Ubuntu 11.10...(I installed ffmpeg the git-master in June...)

comment:3 by Carl Eugen Hoyos, 13 years ago

Can you make a sample available?

by Emmanuel_Chanel, 13 years ago

Attachment: ffmpeg1111071.srt added

TypeScript of encoding CSI NY S04EP03 on TV Tokyo.

comment:4 by Emmanuel_Chanel, 13 years ago

I downgraded ffmpeg into 0.7.1 and updated into 0.7.6 after that. That trouble didn't occur on them. And for error reproduction, I reinstalled the latest git version below.

emmanuel@star2:~$ ffmpeg
ffmpeg version N-31252-g728e6d9, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov  7 2011 16:12:23 with gcc 4.6.1
  configuration: --prefix=/usr --enable-vdpau --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
  libavutil    51. 24. 0 / 51. 24. 0
  libavcodec   53. 28. 0 / 53. 28. 0
  libavformat  53. 19. 0 / 53. 19. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 47. 0 /  2. 47. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

Many "PES packet size mismatch" occur but the TS looks encoded well.

comment:5 by Carl Eugen Hoyos, 13 years ago

Resolution: needs_more_info
Status: newclosed

Please reopen if you can provide a sample.

Note: See TracTickets for help on using tickets.