Youtube

Загрузить музыку на Youtube
Для этого надо картинку и звуковой преобразовать в видео.

Youtube live
vlc 'C:\Users\JeremyAdmin\Videos\Big Buck Bunny\BigBuckBunny1080pTranscodeYouTube480p.ts' --sout-mux-caching 10000 --sout '#transcode{vcodec=flv,vb=350,width=320,height=240}:std{access=rtmp,mux=avformat{mux=flv},dst=[RTMP URL]}'

Первый вариант
bash mp32avi.sh 01_mix_mp3.mp3 output.avi

Картинку в balamut.jpg background=/tmp/$RANDOM.gif title=`ffmpeg -i $1 2>&1 | grep TIT2 | cut -d: -f 2` convert -size 320x240 xc:black -fill white -draw "gravity Center text 0,0 '$title'" $background ffmpeg -loop_input -r ntsc -i balamut.jpg -i $1 -acodec copy -shortest -qscale 5 $2 rm $background exit
 * 1) !/bin/bash
 * 2) Requires: imagemagick, ffmpeg
 * 3) Usage: ./mp32avi.sh input.mp3 output.avi
 * 1) ffmpeg -loop_input -r ntsc -i $background -i $1 -acodec copy -shortest -qscale 5 $2

Образуется черный фон background=/tmp/$RANDOM.gif title=`ffmpeg -i $1 2>&1 | grep TIT2 | cut -d: -f 2` convert -size 320x240 xc:black -fill white -draw "gravity Center text 0,0 '$title'" $background ffmpeg -loop_input -r ntsc -i $background -i $1 -acodec copy -shortest -qscale 5 $2 exit
 * 1) !/bin/bash
 * 2) Requires: imagemagick, ffmpeg
 * 3) Usage: ./mp32avi.sh input.mp3 output.avi

Второй вариант
Сделать видеоряд из картинок. Получится dvd dvd-slideshow runs from the command line based on a ‘recipe’ or script that you create. Ours is going to look like this: audiotrack.mp3:1 headerimage.jpg:5 fadein:2 image01.jpg:3 crossfade:2 image02.jpg:3 crossfade:2

Notice that firstimage.jpg runs for 3 seconds, then there is a crossfade of 2 seconds. That takes the total time for the image to the 5 seconds we wanted. If you want to display the image for a shorter or longer time, adjust as necessary. Notice also that there is a ‘fadein’ after the first image. We don’t want the first image to fade in, and we can’t use crossfade for the first image. I displayed the footer image for 10 seconds. You can display the last frame for as long or as short a space of time as you like. dvd-slideshow 

ffmpeg -i FILE.vob -s 320x240 FILE.flv

или

You’ll probably want to save this to a script. Execute the following commands. There are 2 passes, so we run mencoder twice. Replace $FILE with your .vob file and $OUT with whatever you want to call the resulting file. The ‘crop’ commands aren’t strictly necessary, but won’t hurt. The first time I ran this I left the slideshow at 640×480 and had mencoder resize it.

mencoder "$FILE" \ -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000:vhq:keyint=250:threads=2:vpass=1 \ -oac mp3lame -lameopts cbr:br=128 \ -ffourcc XVID \ -vf scale=320:-2,crop=320:240,expand=320:240 \ -af resample=44100:0:0 \ -o "$OUT"

mencoder "$FILE" \ -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000:vhq:keyint=250:threads=2:vpass=2 \ -oac mp3lame -lameopts cbr:br=128 \ -ffourcc XVID \ -vf scale=320:-2,crop=320:240,expand=320:240 \ -af resample=44100:0:0 \ -o "$OUT"

AVI не содержит информации о размере и после заливки получится не в полный экран


 * Загрузка
 * Веб-загрузка (по умолчанию ) - http://upload.youtube.com/my_videos_upload   До 2 GB и 15 minutes.

(2.57GB) and 58:32 - успешно закачивается, но когда пытаешься перейти по его ссылке - This video has been removed because it is too long. Если выставить тип аккаунта Director, то тот же результат.
 * Java-загрузка (нужен JVM) - http://upload.youtube.com/my_videos_upload?restrict=java (up to 20GB) + есть докачка

You uploaded a wide-screen (16:9) video. In case your original was 720p or greater (i.e. 1080x720 or greater) we encourage you to submit your video at original resolution to enable better quality playback

Увеличение длительности
All users have the ability to upload videos up to 15 minutes in length. Users who initially had Director accounts, had once been able to upload longer content.

Переключение: перейти на My Channel = Settings = Youtuber заменить на Director

Типы аккаунтов
 * Guru accounts are for people who are experts in... something! If you're a gourmet chef, successful investor, or creative clothing designer, you might want to look into getting a Guru account. Advantages include being able to create a custom logo, genre, and links to your other websites from your Profile.