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 04-29-2017, 04:45 AM
boygiandi boygiandi is offline
Junior Member
 
Join Date: Feb 2014
Posts: 4
boygiandi is on a distinguished road
Default

Help me to record video from vtv livestream source


Hi.

I have a weird situation here. Please check this link http://vtv.vn/truyen-hinh-truc-tuyen/vtv1.htm . I can get their m3u8 link, something like this
http://222.255.27.46/hls/4545780bfa7...=bWFzdGVy.m3u8

I started to capture it with ffmpeg :

ffmpeg -i 'http://123.31.45.179/hls/4545780bfa790819/5/3/08dcefa5f747330afe66810a028a0ec8ca0ee7e9700a6433b1 f44195f2abd7a8/dnR2Mg==bWFzdGVy.m3u8' -c copy -y test.mkv

When I check test.mkv file, I see it's something like lag, delay.. I have no idea why. Any one can help ?
Reply With Quote
  #2  
Old 04-29-2017, 03:42 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Help me to record video from vtv livestream source


Hi,

use streamlink so there you get no trouble to play / record the stream.Something is going wrong with ffmpeg and it does give the stream a wrong frame rate of 9.x instread of 25 frames.No idea why.Maybe you have to use any other paramters for ffmpeg in that case.Streamlink works fine with your stream so just try this.

greetz
Reply With Quote
  #3  
Old 04-30-2017, 03:35 AM
boygiandi boygiandi is offline
Junior Member
 
Join Date: Feb 2014
Posts: 4
boygiandi is on a distinguished road
Default

Re: Help me to record video from vtv livestream source


Tried many times at get the same result. It's like this

https://www.youtube.com/watch?v=68j9N0s5oe4

Video lag, delay. Video and audio not sync. I also tried some other m3u8 sources but they work fine.
Reply With Quote
  #4  
Old 04-30-2017, 02:03 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Help me to record video from vtv livestream source


Hi,

so I tried it with ffmpeg (get the trouble you told before) and then I used streamlink (got successfully playing & downloading).

So you can try it again with both tools again and this time just use the player option as output.Here you can also see the diffrent using ffmpeg or ffplay & streamlink for playing.Streamlink works fine and ffmpeg / ffplay do lag all few seconds.Also you can see the info about expired segments from playlist in ffmpeg.

Just try it again with Streamlink...
Code:
streamlink.exe -ldebug hlsvariant://***.m3u8 best
greetz
Reply With Quote
  #5  
Old 05-01-2017, 07:41 AM
boygiandi boygiandi is offline
Junior Member
 
Join Date: Feb 2014
Posts: 4
boygiandi is on a distinguished road
Default

Re: Help me to record video from vtv livestream source


thanks. You're great
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 11:36 PM.


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