[FFmpeg-user] ffprobe infinite loop when processing pgssub/dvdsub

Hans Carlson forbyta at inbox.com
Sat Mar 19 16:46:06 CET 2016


On Sat, 19 Mar 2016, Carl Eugen Hoyos wrote:

> FFprobe terminates fine here with the sample you uploaded, what do I 
> miss?

Try removing "head" from the pipeline.

I probably shouldn't have included "head" in the command example, just
happened to be what I was doing while testing to try to see what was going 
on.

> $ ffprobe -analyzeduration 2G -i pgssub-ffprobe.infinite.loop.mpg
> -select_streams s:0 -show_frames -print_format flat | grep pts_time | head

Even with the "head", notice all the pts_time values are the same, which 
(at least to me) indicates something isn't quite right.

> frames.subtitle.0.pts_time="2.685711"
> frames.subtitle.1.pts_time="2.685711"
> frames.subtitle.2.pts_time="2.685711"
> frames.subtitle.3.pts_time="2.685711"

Also, try testing with the .m2ts example and use the "-show_streams"
option (instead of -show_frames).   This is where you can see this error:

   [pgssub @ 0x21f0de0] Unknown subtitle segment type 0x0, length 0



More information about the ffmpeg-user mailing list