Title: Best video settings for youtube Post by: CFJH on January 03, 2015, 02:37:20 PM Hello,
I'm testing to upload a video on youtube. A short zoom into the mandelbrot set. After uploadung the video to youtube and playing it, the quality is bad and it is stuttering (seems to have a 15 fps frame rate). I'm using ffmpeg to create the video with the following command line: Code: ffmpeg -f image2 -r 60 -i ./images/zm_%07d.ppm -b:v 7500k zm54mpg.mpg Re-downloading the video from youtube has 4Mb (VIDEO: 640x360 30.000 fps 559.7 kbps (70.0 kB/s)) On my local machine the quality is ok and it plays smooth (with mplayer). I'm running Linux and have no windoze (any hints wo win-programms are helpless to me) What are the best ffmpeg settings to get the best quality on youtube ? http://youtu.be/2OsSRq0SCgU (http://youtu.be/2OsSRq0SCgU) Title: Re: Best video settings for youtube Post by: Chillheimer on January 04, 2015, 01:14:13 AM tach jürgen! ;)
as far as I know, youtube simply sucks for fractal zooms, no way to achieve any decent results with their codec, no matter what you input looks like, especially for mset-zooms.. but your choice of parameters of ffmpeg seems good for non-youtube-use! if you want to share zoom videos in a good quality I'd recommend using your settings and upload to filehosting services like uploaded or mega beste grüße, chilli Title: Re: Best video settings for youtube Post by: quaz0r on January 04, 2015, 02:25:46 PM yeah, good/best and youtube in the same sentence is an oxymoron. video streaming sites like youtube are made for people talking into their $3 webcams about what they ate for breakfast and how they feel about justin beiber, not for high-detail material, nor for high-quality archival purposes. you should really go ahead and learn a bit about encoding if you want to make high quality videos. for one thing use a modern codec like h264. heres an example ive posted before of how i encode on linux.
Quote this is a generic example of one way to run encodes, playing back a sequence of images to a fifo using mpv on one term, and running x264 on that fifo in another term, and finally muxing to mkv when its finished. mkfifo foo.y4m nice -n +19 mpv mf://animationdir/*.png -o foo.y4m --no-sub --no-audio --oautofps --oneverdrop nice -n +19 x264 --videoformat ntsc --no-fast-pskip --no-dct-decimate --sar 1:1 --fps 60 --crf 16 -b 8 --b-adapt 2 -r 8 --rc-lookahead 80 --aq-mode 1 --aq-strength 0.5 --psy-rd 1.0:0.2 --deadzone-inter 6 --deadzone-intra 6 --deblock -2:-2 --ipratio 1.1 --pbratio 1.1 --qcomp 0.8 -A all --direct auto --me tesa --merange 24 -m 11 -t 2 -o foo.h264 foo.y4m mkvmerge -o foo.mkv --default-duration 0:60fps foo.h264 make sure to go ahead and install the latest versions of everything, especially grab x264 from git and build it yourself, dont use some ancient distro package. if you do go to the trouble of making a high quality video, you also need to go to the trouble of posting the original file on a file hosting service or a torrent tracker or something, not a video site that will simply transcode your video to a steamy mess. :) Title: Re: Best video settings for youtube Post by: Kalles Fraktaler on January 04, 2015, 03:11:05 PM You can always see things from the other side: Why do the movies you make not look good on YouTube? I think it is a challenge to make a fractal movie look nice on YouTube. You simply cannot choose too dense locations or zoom too fast. But you can zoom fast in sparse areas and slow down on interesting dense passages. And the real challenge is to make something extreme look good on YouTube. I think this user has come far on this https://www.youtube.com/channel/UCupBhu5TVx3RNK3iUIdeVlg |