PDA

View Full Version : Can someone try and get this video from CSPAN?


Nomorecocktails
03-17-2014, 09:28 AM
I am trying to grab this video from CSPAN using ffmpeg. I keep getting a 404. Thanks for any help. And ffmpeg is working on other cpsan videos BTW.

http://www.c-span.org/video/?318331-1/senate-delegation-news-conference-ukraine

XML File: http://www.c-span.org/common/services/flashXml.php?programid=341363&

Here is my ffmpeg command:
ffmpeg -i "http://cspan-146.c-spanarchives.org:1935/vod/_definst_/mp4:trimmed/full/318/318331-1/318331-1-MP4-STD_01.mp4/playlist.m3u8" -vcodec copy -acodec copy -bsf:a aac_adtstoasc SenateDelegationUkraine3-14-14.mp4

EDIT: It seems that CSPAN has change their naming convention a bit. They now are using TRIMMED in the path of some of the videos and those are the ones I cannot get with FFMPEG.

hasomaso
03-17-2014, 10:10 AM
try that


ffmpeg -i "rtmp://s1g3v4ljhhuslz.cloudfront.net:443/cfx/st app=cfx/st swfUrl=http://static.c-span.org/assets/swf/CSPANPlayer.1393874500.swf pageUrl=http://www.c-span.org/video/?318331-1/senate-delegation-news-conference-ukraine playpath=mp4:trimmed/full/318/318331-1/318331-1-MP4-STD_01.mp4" -vcodec copy -acodec copy -bsf:a aac_adtstoasc SenateDelegationUkraine3-14-14.mp4

blimey
03-17-2014, 10:42 AM
This is the non-trimmed m3u8 link. These are done on the hour, so the program starts about 20 minutes in;


ffmpeg -i "http://cspan-146.c-spanarchives.org:1935/vod/_definst_/mp4:full/2014/03/15/20140315125918001_hd.mp4/playlist.m3u8" -c copy -absf aac_adtstoasc 20140315125918001_hd.mp4


edit:

Here is how they changed the m3u8 link for the trimmed versions as well;

ffmpeg -i "http://cspan-146.c-spanarchives.org:1935/vod/_definst_/mp4:downloads/318/318331-1/318331-1-MP4-STD/318331-1-MP4-STD_01.mp4/playlist.m3u8" -c copy -absf aac_adtstoasc 318331-1-MP4-STD_01.mp4