Hi,
First and foremost, awesome library. I am using the cli to download youtube videos for a research project, and I need the mpeg format for video processing.
I used the following commands, but am unable to save the file to mpeg, instead it gets saved as flv:
java -jar runytd2.jar -h http://www.youtube.com/watch?v=YoEuH0pTpjw
java -jar runytd2.jar -h -f http://www.youtube.com/watch?v=YoEuH0pTpjw
Please advice.
Anonymous
Hi,
it does not work with GUI either. It says "403 forbidden"
I'll check if it's really a bug.
Thanks for your post.
Last edit: StefanKaerst 2013-01-19
post deleted as it was wrong (both file were .flv)
/edit: looks like there are more video formats available which ytd2 does not know of.
...
Last edit: StefanKaerst 2013-01-24
I changed ytd2 and released V20130224 so it should work now as expected.
There is an issue I have no practical solution for. If you select HD (or use -h) for FLV then ytd2 will always download an HD video if possible as there are not HD Flash Videos. At least I did never saw such URLs.
So, in your example -h -f is the same as -h. The use of -f only will download a FLV video.
Video resolution has precedence over video format.
Is this OK?
Regards