Webvideo, Ffmpeg Und Drupal
Total Page:16
File Type:pdf, Size:1020Kb
Webvideo, FFmpeg und Drupal Walter Ebert Drupal Meetup Frankfurt/Rhein-Main 10. Januar 2013 http://get.ad be.com/de/flashpla$er/ http://%%%.longtailvideo.com/pla$ers/ HTML5 <video width="640" height="360" src="video.mp4" /> HTML5 <video width="640" height="360" src="video.mp4" /> http://quirksmode.org/html5/tests/video.html Video for Everybody <video width="640" height="360" controls> <source src="video.mp4" type="video/mp4" /> <source src="video.webm" type="video/webm" /> <source src="video.ogv" type="video/ogg" /> <object width="640" height="360" type="application/x-shockwave-flash" data="player.swf"> <param name="movie" value="player.swf" /> <param name="flashvars" value="controlbar=over&image=video.jpg%amp;file=video.mp4" /> <img src="video.jpg" width="640" height="360" alt="Video Title" title="No video playback capabilities, please download the video below" /> </object> </video> <p><strong>Download Video:</strong> Closed Format: <a href="video.mp4">"MP4"</a> Open Format: <a href="video.webm">"WebM"</a> Open Format: <a href="video.ogv">"Ogg"</a> </p> http://ca"endesign.co"/!ode/&ide 'f r'ever$body Webvideo-Formate • (gg )heora • WebM • H.26, b.z.%. M.EG-, Part 10 01C (Ad&an!ed 1ide 2 ding4 http://ffmpeg.org/ http://libav.org/ FFmpeg Info Unter#tütze Dateif r"ate $$mpeg "$orm ts Unter#tütze 2 dec# $$mpeg "codecs *78FE9 3etting help, "h "" print b sic options "h long "" print more options "h $ull "" print ll options 4including ll $orm t nd codec speci$ic options* very long5 6ee m n $$mpeg $or det iled description o$ the options. MP!/H.$%! $$mpeg -i input.avi -vcodec libx264 " codec libfaac output.mp4 $$mpeg -i input.avi -c:v libx264 -c:a aac -strict experimental output.mp4 Vide : 0udi : h2+, (internal) aac (internal4 lib:26, libfaac lib& 'aacen! http://ffmpeg.org/tra!/ffmpeg/%iki/x26,Encoding/uide Fehlermeldung Stream mapping, Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0,9 (aac -> aac) Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height WebM $$mpeg -i input.avi -c, libvorbis -c:v libvpx output.webm Ogg Theora $$mpeg -i input.avi -q:v 8 -c:a libvorbis -c:v libtheora output.ogv $$mpeg2theora input.avi http://v2v.cc/;</ffmpeg2theora/ $-Pas( Encoding $$mpeg -y -i input.avi -pass 1 -c:v libx264 " n -f mp4 /dev/null $$mpeg -i input.avi -pass 2 -b:v 1/ -c:v libx264 -c, libfaac output.mp4 re(ets $$mpeg "i input. vi "vpre lib!764"ipod370 output.mp4 ls /usr/sh re/$$mpeg/ libvp!"90=0p.$$preset libvp!">70p?0;60.$$preset lib!764"ipod370.$$preset libvp!"90=0p?0;60.$$preset libvp!"360p.$$preset libvp!">70p.$$preset lib!764"ipod640.$$preset FFmpeg Video > Bilder $fmpeg -i video.mp4 "r .0? %4d.jpg $fmpeg -i video.mp4 "r 5 "t 2 "pi!;$mt gray "f image2 @4d.png $fmpeg -i video.mp4 "ss 1 -vfr mes 9 second1.jpg $fmpeg -i video.mp4 "ss 00:00:01 -v$rames 9 second1.jpg Bildqualität definieren $$mpeg "i input. vi "vb 9/ output.mp4 $$mpeg "i input. vi "b,v 9/ output.mp4 $$mpeg "i input. vi "<sc le 90 output.mp4 $$mpeg "i input. vi "<,v 90 output.mp4 $$mpeg "i input. vi "<min 90 "<m ! ?0 output.mp4 MP! moov atom 0lt: $$mpeg -i input.avi -c, libfaac -c:v libx264 tmp.mp4 qt"$aststart tmp.mp4 output.mp4 =eu: $$mpeg -i input.avi -c, libfaac -c:v libx264 -movflags $ ststart output.mp4 http://www.ad be.! m/de&net/vide /arti!le#/mp,'" &ie_at ".html http://ffmpeg-php.sour!eforge.net/ High Efficien)y Video Coding /HEV.0 H#$%5 http://phenix.int-e&r$.fr/<!t/ne%s/ne%s.php>id=33 http://&ideola.tv/ https://github.c "/Vide la/vide la http://"edia" sa. rg/ https://github.! "/"edia"osa/"edia"osa https://drupal.org/pr <e!t/vide http#://code.g gle.com/p/phpvideotoolkit/downloads/li#t Video-Player JW Player http://drupal. rg/pr <e!t/<%'player Fl %player A.7 http://drupal. rg/pr <e!t/fl %player Vide .<# http://drupal. rg/pr <e!t/&ide <# http://popcornj#.org/ https://popcorn.web"aker.org/ https://drupal.org/pr <e!t/popcornj# Walter Ebert @%ltrd %alterebert.de slide#hare.net/%alterebert drupal.org/user/+AABC, .