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 10-11-2012, 01:11 PM
ycrcb422 ycrcb422 is offline
Junior Member
 
Join Date: Oct 2012
Posts: 2
ycrcb422 is on a distinguished road
Angry

Capture "long" non-live YT streaming


Trying to capture "longish" youtube video that is likely being streamed, but is not a live stream. Video Download helper does not recognize and as such will not "download".

http://www.youtube.com/watch?v=Yg3YDN5gTX0&hd=1

So I tried several of the URLs presented in the Net web console, but always get:
"Invalid data found when processing input" from ffmpeg (see a full output at end of post)

FWIW, I used the same methods as described in this thread: http://stream-recorder.com/forum/cap...ffmpeg+youtube

But have not had success yet.

Any insight?

Code:
$ ffmpeg -i "http://www.youtube.com/player_204?el=detailpage&scoville=1&partnerid=35&v=Yg3YDN5gTX0&fmt=35&st=0&plid=AATLzGYoGf1e2i78&sprot=1&event=streaming&rt=1.322&sl=1.320&fv=LNX%2011,2,202,243&fexp=927104,922401,912706,912806,920704,927201,913546,901419,900816,920201,913556,925109,919003" -c copy out.ts
ffmpeg version 0.10.5 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct  4 2012 19:17:43 with gcc 4.7.2 20120921 (Red Hat 4.7.2-2)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
http://www.youtube.com/player_204?el=detailpage&scoville=1&partnerid=35&v=Yg3YDN5gTX0&fmt=35&st=0&plid=AATLzGYoGf1e2i78&sprot=1&event=streaming&rt=1.322&sl=1.320&fv=LNX%2011,2,202,243&fexp=927104,922401,912706,912806,920704,927201,913546,901419,900816,920201,913556,925109,919003: Invalid data found when processing input
[~]$
Reply With Quote
  #2  
Old 10-11-2012, 01:33 PM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: Capture "long" non-live YT streaming


use getflv
Reply With Quote
  #3  
Old 10-11-2012, 06:53 PM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Re: Capture "long" non-live YT streaming


This is what I get

Code:
rtmpdump -r "rtmpe://v24.nonxt6.c.youtube.com/videoplayback" -a "videoplayback" -f "WIN 11,4,402,287" -W "http://s.ytimg.com/yt/swfbin/watch_as3-vflVJZw7d.swf" -p "http://www.youtube.com/watch?v=Yg3YDN5gTX0&hd=1" -y "sparams=gcr%2Cid%2Citag%2Crtmpe%2Csource%2Cexpire&fexp=919109%2C904822%2C929201%2C927104%2C922401%2C920704%2C912806%2C913546%2C913556%2C925109%2C919003%2C920201%2C912706%2C900816%2C911112&key=yt1&itag=35&sver=3&source=youtube&gcr=BE&expire=1349999546&signature=48B8697C73C0A93A63C7A4E0E28DB980A0A35915.8C7B33B33E4F1E408A7EB7D91DE4D9D77AF28EE0&rtmpe=yes&id=620dd80cde604d7d?ptchn=BBCWorldwide&ptk=bbcworldwide" -o "12-10-12_01-47-29_sparams=gcr%2Cid%2Citag%2Crtmpe%2Csource%2Cexpire&fexp=919109%2C904822%2C929201%2C927104%2C922401%2C920704%2C912806%2C913546%2C913556%2C925109%2C919003%2C920201%2C912706%2C900816%2C911112&key=yt1&itag=35&sver=3&source=youtube&gcr=BE&expire=1349999546&signature=48B8697C73C0A93A63C7A4E0E28DB980A0A35915.8C7B33B33E4F1E408A7EB7D91DE4D9D77AF28EE0&rtmpe=yes&id=620dd80cde604d7d.flv
Even with rtmpsuck, I can't download it.

Code:
WARNING: HandShake: Type mismatch: client sent 6, server answered 10
WARNING: HandShake: Server not genuine Adobe!
ERROR: RTMP_Connect1, handshake failed.
I thought BBC used to be public tv station financed by tv fee.
Reply With Quote
  #4  
Old 10-12-2012, 08:53 AM
ycrcb422 ycrcb422 is offline
Junior Member
 
Join Date: Oct 2012
Posts: 2
ycrcb422 is on a distinguished road
Cool

Re: Capture "long" non-live YT streaming


Thanks for the replies all...

I let the video run with web console running and notice that every minute or more a new "GET http://s.youtube.com/..." and/or "GET http://s2.youtube.com/..." occurs. I won't post the log as it's rather large.

svnpenn: The result of rtmpdump is interesting. Had not though to check that, so thanks for that info.

Getflv, if capable of "getting" a "protected" video like this, must be doing something that we too can accomplish on linux.

If anyone has any other insights, please post.

In the mean time, I'm going to continue to hack at this and do some homework. Getflv and windows is not a solution for me.

Thanks.
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 03:27 AM.


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