[FFmpeg-user] Problem with a YT video

Xen list at xenhideout.nl
Thu Apr 28 03:30:12 CEST 2016


jd1008 schreef op 27-04-2016 23:35:
> Hi Moritz,
> How do I use the command to save the output file instead of viewing it?
> 
> Thanx!!!

I haven't followed this as I just arrived on this list. But.

Normally if you were downloading from a video site you'd use youtube-dl, 
right?

Maybe I should be reading this thread online, but.

Normally "youtube-dl -F <link>" would show all the available formats.

Then "youtube-dl -f <number> <links>" would download a format specified 
by number as you got it from the previous command.

The URL specified in below message gives me a 403 error though 
(forbidden).

When you do -F the first list gives audio-only formats, the middle part 
gives video-only formats, and the remaining part gives both. Usually 
there will be something like "webm" and "mp4" in it.

Just some common knowledge here, like I said I haven't been able to read 
the rest yet.

Regards.



> 
> On 04/24/2016 11:02 AM, Moritz Barsnick wrote:
>> On Sun, Apr 24, 2016 at 10:46:50 -0600, jd1008 wrote:
>>> OK, that plays one screen. Well and good !!!
>>> I had to download it to get one viewing screen.
>> How did your download manage to cut it in half? BTW, you can feed the
>> stream URL directly to ffplay (your URL may vary):
>> $ ffplay -i 
>> 'https://r6---sn-5hnedn7s.googlevideo.com/videoplayback?mime=video%2Fmp4&dur=9590.119&upn=jYWGghj_TK4&itag=22&ip=80.144.60.117&ratebypass=yes&mn=sn-5hnedn7s&mm=31&source=youtube&expire=1461538813&pl=14&mv=m&mt=1461517049&ms=au&id=o-AImla_PoEMqA6TrhRrLn4QozlmIZAZYKbo8o_jfqycn9&initcwndbps=247500&key=yt6&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&lmt=1460246095785485&requiressl=yes&ipbits=0&nh=IgpwcjAxLmFtczE2KgkxMjcuMC4wLjE&fexp=9405960%2C9416126%2C9416891%2C9420095%2C9421503%2C9422596%2C9424134%2C9426926%2C9428398%2C9431012%2C9431708%2C9431814%2C9432367%2C9432683%2C9432751%2C9433096%2C9433180%2C9433947%2C9434126%2C9434204&signature=0559118CDA43302FF412EB7DA728B559D0265AE1.B86A5764633D44AE3165B71ECAFE036563DA7786&sver=3' 
>> -vf "crop=w=iw/2:h=ih:x=0:y=0,scale=w=2*iw:h=ih,setdar=2*dar"
>> 
>>> BUT - No Audio :( :(
>> Mine has. Perhaps your download tool downloaded the video-only stream.
>> (Have you checked "youtube-dl -F"?)
>> 
>>> PS: Even if you play it in the browser , it is 2 virtual screens.
>> Not here. YouTube recognizes it as 3D and does some magic when playing
>> (in Firefox). (Note, I think I am using YouTube without Flash. Not 
>> that
>> it should matter.)
>> 
>>> on my laptop using any one of the linux media players - but without 
>>> the
>>> dual viewing windows.
>> What are those Linux YouTube players? smtube possibly?
>> 
>> You're still not correctly writing what you're trying to achieve and
>> what you're actually doing. Like really doing.
>> 
>> Moritz
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list