edelmoral / get-flash-videos

Automatically exported from code.google.com/p/get-flash-videos
0 stars 0 forks source link

PBS had changed video delivery formats last year, so relevant modules needs to be updated #577

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Sometime last year, PBS had abandon their previous RTMP video delivery system 
for the newer HLS system (.m3u8) so 95% of the content of the current Pbs.pm 
needs to be scraped.

The location of the .m3u8 and/or mp4 video files can be obtained from a JSON 
encoded response to a url of the form 

http://video.pbs.org/videoInfo/$media_id/

 in which $media_id is obtained from the part of the program url 

http://video\.pbs\.org/video/(\d+)

So if the program page is at http://video\.pbs\.org/video/2365395049, the video 
information for this page can be obtained from the following url:

  http://video.pbs.org/videoInfo/2365395049

The resulting .m3u8 links can easily be viewed in vlc.

PBS appears to have abandon the .flv video format.

For more information, please see the following:

http://forum.videohelp.com/threads/363819-Some-basic-questions-about-using-ffmpe
g-to-download-pbs-videos?p=2315159&viewfull=1#post2315159

Original issue reported on code.google.com by DansDra...@gmail.com on 26 Feb 2015 at 2:06

GoogleCodeExporter commented 8 years ago
I finally got around to figuring out the change.

The new PBS site uses a form of rtmp that does not work with rtmpsrv and so it 
took awhile to figure out the new rtmpdump parameters.

Attached is a new Pbs.pm module that works.

I'll try to make a github pull request in a day or two.

Original comment by pcwal...@comcast.net on 14 Jul 2015 at 7:15

Attachments:

GoogleCodeExporter commented 8 years ago
FYI, njtaylor just merged the fix into the get_flash_videos github site.

This issue can be closed.

Original comment by pcwal...@comcast.net on 14 Jul 2015 at 9:53