Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 05-11-2017, 04:08 AM
enthos enthos is offline
Junior Member
 
Join Date: May 2017
Posts: 1
enthos is on a distinguished road
Default

ffmpeg: Non-monotonous DTS in output stream


ffmpeg doesn't download the video correctly.
The ts file has some broken information.
Any other tool or ffmpeg options can download the full video?

1.
Video replay entry:
http://www.yy.com/u/1837936591

2.
The 2017-05-10 video:
http://www.yy.com/x/15012_1621895922..._1494425663398
(The video will be deleted after two days.)
The length is 01:59:50 when I view it on chrome.

3.
m3u8 file from above link (View source with chrome)
http://record.vod.huanjuyun.com/xcrs...425663398.m3u8

4.
The ts file in above m3u8 file.
http://yycloudlive15013.bs2dl.yy.com...bebcb9f365a.ts

5.
ffmpeg -i http://record.vod.huanjuyun.com/xcrs...425663398.m3u8 -c copy junjun_20170510night.mkv

The message I get:

...
[matroska @ 000000000348bac0] Non-monotonous DTS in output stream 0:1;
previous: 1635136, current: 1635127; changing to 1635136.
This may result in incorrect timestamps in the output file.

[matroska @ 000000000348bac0] Non-monotonous DTS in output stream 0:0;
previous: 1635116, current: 1635086; changing to 1635116.
This may result in incorrect timestamps in the output file.

frame=173446 fps= 69 q=-1.0 Lsize= 892382kB time=01:21:05.50 bitrate=1502.5kbits/s speed=1.93x
video:872435kB audio:23149kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

The junjun_20170510night.mkv file has the length 01:21:05.

I download it 5 times. The file sizes are:
913,798,900 junjun_20170510nightbad3.mkv
913,798,900 junjun_20170510nightbad5.mkv

394,162 15012_1621895922_69600597_1494425663398.m3u8
1,023,392,664 crs_d9be276025754b5da837bbebcb9f365a.ts (by wget, it show 1:21:05 length, too.)

6.

The file sizes for ref.
s
812,423,846 junjun_20170501night.mkv 01:45:39
962,490,334 junjun_20170503night.mkv 02:05:10
892,843,066 junjun_20170504night.mkv 01:56:16
934,342,068 junjun_20170508night.mkv 02:12:49
795,520,664 junjun_20170509night.mkv 01:44:47
Reply With Quote
  #2  
Old 05-11-2017, 04:49 AM
ihryjfbd ihryjfbd is offline
Senior Member
 
Join Date: Oct 2015
Posts: 212
ihryjfbd is on a distinguished road
Default

Re: ffmpeg: Non-monotonous DTS in output stream


Transport streams contain multiple streams, you can try splitting the stream into 3 then rejoin as a regular .mp4, .mkv is just a container format.

Reply With Quote
Reply Post New Thread
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 07:27 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons