View Single Post
  #6  
Old 06-08-2015, 07:30 PM
Chemist925 Chemist925 is offline
Senior Member
 
Join Date: May 2014
Posts: 138
Chemist925 is on a distinguished road
Thumbs up

Re: How to record CCTV5 live


Quote:
Originally Posted by biezom View Post
Code:
http://live.64ma.com:1930/live/leId/m3u8/24/cctv5_1300?type=ec
>>>>
Code:
{"src":"http://hls.yy.com/live/46645489_2201952718.m3u8?id=utvgo&uid=a4a8b7bcdc6000400d6a064311579e81&user=fnvwpiijjjdhuhggmdjwhgfhjiejdjajdiaja&uuid=E0C9C751D1DC8E9172DBB3CF8074C3A9"}

Code:
livestreamer "hls://http://hls.yy.com/live/46645489_2201952718.m3u8?id=utvgo&uid=a4a8b7bcdc6000400d6a064311579e81&user=fnvwpiijjjdhuhggmdjwhgfhjiejdjajdiaja&uuid=E0C9C751D1DC8E9172DBB3CF8074C3A9" best -o CCTV5.ts

Code:
ffmpeg -i "http://hls.yy.com/live/46645489_2201952718.m3u8?id=utvgo&uid=a4a8b7bcdc6000400d6a064311579e81&user=fnvwpiijjjdhuhggmdjwhgfhjiejdjajdiaja&uuid=E0C9C751D1DC8E9172DBB3CF8074C3A9" -c copy CCTV5.ts

problem with .flv no sound
Code:
ffmpeg -i "http://hls.yy.com/live/46645489_2201952718.m3u8?id=utvgo&uid=a4a8b7bcdc6000400d6a064311579e81&user=fnvwpiijjjdhuhggmdjwhgfhjiejdjajdiaja&uuid=E0C9C751D1DC8E9172DBB3CF8074C3A9"  -bsf:a aac_adtstoasc -c copy CCTV5.flv
maybe you can try

Code:
ffmpeg  -i "http://hls.yy.com/live/46645489_2201952718.m3u8?id=utvgo&uid=a4a8b7bcdc6000400d6a064311579e81&user=fnvwpiijjjdhuhggmdjwhgfhjiejdjajdiaja&uuid=E0C9C751D1DC8E9172DBB3CF8074C3A9"  -c:v copy  -c:a libmp3lame CCTV5.flv
Thanks, the last ffmpeg code is okay although it has some warning messages between each five to six lines during recording. Livestreamer link is better, but i changed it as output.flv.
Reply With Quote