nwtim |
08-23-2012 01:16 PM |
Re: Olympic official streaming videos, i'm going crazy, i can't download it! help
Quote:
Originally Posted by pankyk86
(Post 53231)
i downloaded builds "static" but this program is like arabic for me, i don't understand how to play, i click on ffmpeg icon but it appears just for 1 second a black window......
|
ffmpeg.exe by itself will not do anything. That's why you're seeing a black window pop open and then close. It's an executable that needs arguments. You can see a listing of all the arguments it can deal with by opening a command window, navigate to a folder containing ffmpeg.exe, and type ffmpeg --help at the command prompt. It'll race by, so you could use the |more pipe (eg. ffmpeg --help|more) or just scroll back up to the command to read from the top.
I find the easiest way to deal with this kind of command line executable is to write a batch file, especially when dealing with lots of text like some of the URLs we have to deal with.
Do to this, I create a new text file with a line of text starting with the letters rem (remark) with a comment about the use of the file - usually just the subject of the video to be processed. On the next line I type in the ffmpeg command line that I wish to process. You don't have to, but I often put a last line in the file with the pause command so I can see any feedback in the command window before it closes. Then I save it as a batch file (eg. file.bat) and place it in the same folder as ffmpeg.exe. Make sure you have room for the new video file there, or else add a path to the output filename (spaces require that the output name is surrounded in quotes) where you know there's enough free space.
Code:
rem - 2012 Olympics Track & Field Men's 100 Meter Final
ffmpeg.exe -i "http://www.youtube.com/api/manifest/hls_playlist/id/.../key/ck1/file/index.m3u8" -c copy newvideo.ts
pause
Once you've got a batch file in the folder you've chose for ffmpeg and the video, you will not need to use the command prompt window. Just double-click on the batch file.
Does that make sense?
|