ffmpeg problem: DTS/PTS invalid, clipping

Regarding anything related to stream recording.

Moderator: svnpenn

Posts: 6
Joined: Thu Feb 14, 2013 7:23 am

ffmpeg problem: DTS/PTS invalid, clipping

Postby 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/d874124ecca24c88a3c9575e78686acf/10000569.m3u8?exp=1363340891&ct=a&eid=10000569&oid=d874124ecca24c88a3c9575e78686acf&iph=6a62f5bcb90f266b16e5b97e5981f9de6643928b7d45dc612b33d1f3095ef738&sig=61017f8acf435de88149e87bb241ec7cd8ee489c3fda1a5472d1c9cd372f70cb" -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: 1679
Joined: Fri Aug 05, 2011 9:56 pm

Re: ffmpeg problem: DTS/PTS invalid, clipping

Postby 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

Postby 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.

Return to “Stream Recording”

Who is online

Users browsing this forum: No registered users and 1 guest