Opened 12 months ago

Last modified 3 months ago

#5860 open defect

"PES packet size mismatch", "Could not find codec parameters for stream 0" for TS stream that mplayer can play

Reported by: jik Owned by:
Priority: important Component: avformat
Version: git-master Keywords: probe regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

I am trying to convert a ts stream produced by my TV tuner into an MP4 file:

ffmpeg -i sample-video.ts sample-video.mp4

It is reporting "PES packet size mismatch" and "Could not find codec parameters for stream 0 (Unknown: none): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options".

The video plays fine with mplayer and encodes fine with mencoder.

Other videos recorded from the tuner do not have this problem.

This discussion -- http://ffmpeg.gusari.org/viewtopic.php?f=11&t=853 -- suggests that it is appropriate for me to report this problem to you because you may be able to debug it and improve ffmpeg to make it go away in the future.

Attachments (2)

ffmpeg-output (15.6 KB) - added by jik 12 months ago.
Output of "ffmpeg -v 9 -loglevel 99 -i sample-video.ts sample-video.mp4"
ffmpeg-20160923-085248.log (9.3 KB) - added by jik 12 months ago.
Log file created by "ffmpeg -report -v 9 -loglevel 99 -i sample-video.ts sample-video.mp4"

Download all attachments as: .zip

Change History (6)

Changed 12 months ago by jik

Output of "ffmpeg -v 9 -loglevel 99 -i sample-video.ts sample-video.mp4"

Changed 12 months ago by jik

Log file created by "ffmpeg -report -v 9 -loglevel 99 -i sample-video.ts sample-video.mp4"

comment:1 Changed 12 months ago by jik

I have a 4MB file file which demonstrates this issue. I am unable to FTP it to upload.ffmpeg.org:

$ ncftp upload.ffmpeg.org
NcFTP 3.2.5 (Feb 02, 2011) by Mike Gleason (http://www.NcFTP.com/contact/).
Could not connect to 138.195.131.196: No route to host.
Could not open host upload.ffmpeg.org: could not connect to remote host.

You can download it from my NAS:

http://gofile.me/2J75a/xUY7VIJE9

If/when upload.ffmpeg.org is fixed and you would like me to upload the file there, please let me know. Or if there is some other way to get it to you, please let me know that.

comment:2 Changed 12 months ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords probe regression added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

Regression since 15957b19, related to issue 2312.
Originally fixed in af122d6a.

comment:3 Changed 3 months ago by jik

Do you need the sample video I mentioned above? If so, have you downloaded it? I would like to delete it from my NAS.

comment:4 Changed 3 months ago by heleppkes

The file is available from our issue sample server (http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket5860/sample-video.ts), you can delete it.

Note: See TracTickets for help on using tickets.