ffmpeg problem: DTS/PTS invalid, clipping

Steam recording with RTMPDump or FFmpeg.
Post Reply
Posts: 6
Joined: Thu Feb 14, 2013 7:23 am

ffmpeg problem: DTS/PTS invalid, clipping

Post by WillJ » Sat Mar 16, 2013 10:42 am

(I thought I'd move this topic here as it was in the rtmpdump section, inappropriately as its about ffmpeg)

Using ffmpeg I can download episodes from abc.go.com.

An example link: http://abc.go.com/watch/modern-family/S ... a/best-men

Using this command:

ffmpeg -i "http://content.uplynk.com/ext/d874124ec ... cd372f70cb" -c copy out.ts

The file downloads normally until the first commercial break (8-10 minutes along) then ffmpeg keeps giving this error repeatedly:

[mpeg @ 000000000241f840] st:0 PTS: 80349597 DTS: 80349597 < 80349598 invalid, clipping

Seems to be a time stamp error and it discards all further segments and the file stops increasing in size.

The file will play normally up until the first commercial break, then stops. I have tried several shows and the result is the same.

Can anyone help, please?



Posts: 1878
Joined: Fri Aug 05, 2011 9:56 pm

Re: ffmpeg problem: DTS/PTS invalid, clipping

Post by rogerdpack » Thu May 16, 2013 8:02 am

can you give a slightly bigger example?
Anyway i think I saw something like it recently, maybe FFmpeg doesn't handle "commercial breaks" well? maybe ask them about it on the ffmpeg-user ML?

Posts: 1
Joined: Thu May 23, 2013 2:20 pm

Re: ffmpeg problem: DTS/PTS invalid, clipping

Post by ChrisVranos » Thu May 23, 2013 2:29 pm

So I'm a little late to the party, but I wanted to ask if you'd ever found a solution for this.

I work for a video conversion place, and we recently got started getting in files with commercial breaks built in, and we're getting the same exact error. Something is off about the timestamps at the commercial breaks, and we get the "invalid, clipping" error in ffmpeg. After it captures the first segment successfully, the rest of the show's audio is loud static.

Post Reply