Benutzer-Werkzeuge

Webseiten-Werkzeuge


Action disabled: source
video

Video

Upload von Videos mit WinSCP

Zielpfad:  /srv/www/htdocs/bgweiz.at/cms/images/stories/videos/

bgweiz.at bearbeiten

  • bgweiz.at/cms/administrator
  • Beiträge > Neu
    • Titel: neuen Filmtitel eingeben
    • Bereich: Video
    • Editor
      • Filmtitel eingeben
      • {wmv}exakter Dateiname{/wmv} ← Groß- und Kleinschreibung besachten!!
      • Speichern
  • Beitrag Videos bearbeiten (Filter videos)
  • Neuen Filmtitel hinzufügen
  • Filmtitel markieren und verlinken (Symbol)
    • URL: bgweiz.at/cms/medien/video/ID-Nummer vom aufzurufenden Beitrag
    • OK
    • Speichern
  • Beispiele - Dateiname: name.wmv
  • {wmv}name{/wmv}
  • {flv}name{/flv}
  • {mov}name{/mov}
  • {wma}name{/wma}
  • {mpg}name{/mpg}
  • {mpeg}name{/mpeg}
  • {avi}name{/avi}

Streaming /dev/video nach Flash Video

Kamera von eePC aufnehmen

mencoder -o /media/d4e-data/film.avi -ovc lavc -tv noaudio tv: mplayer film.avi *oder mencoder tv: -tv driver=v4l:device=/dev/video0:forceaudio:adevice=/dev/dsp -ovc lavc -oac mp3lame -o webcam.avi

mplayer webcam.avi

mms streams speichern

mplayer -dumpstream mms://orf.at/was/weiss/ich/zib.wmv -dumpfile zib.wmv

dvgrab

  • überspielt Vidoes von der Camera auf den PC
  • dvgrab dateiname
    • -i interactive
    • -f raw oder –format raw
    • –autosplit

mts to avi

.MTS (AVCHD/H.264) conversion?

for f in *.mts;do mencoder "$f" -o "${f%.MTS}.avi" -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=5000 -fps 50 -vf scale=800:450; done 
ffmpeg -i 00007.mts -sameq -f mp4 -vcodec mpeg4 outfile.mp4

Allgemeines

  • Apple Quicktime *.mov, *.qt, *.qot
  • Windows video *.avi
  • Windows Internetformate *.wmf, *.wmv, *.wma
  • Real Media - *.rm Streamingformat
  • MPEG - Motion Picture Experts Group
  • Datenrate - KB/s
  • ISDN - 4 KB/s
  • DVD - 5000 KB/s
  • 2 Minuten Film
    • ISDN - 480KB oder 60 KByte - MPEG 4 codiert
    • DVD - 5000KB/s -> 75MB - MPEG 2 codiert
  • H264 - modernste Codec
  • Auflösung
    • 1280 x 720 HD Ready
    • 1920 x 1080 Full HD
  • Bezeichnungen auf Fernseher
    • 720 p25 - HD Ready - progressive 25 Ganzframes (PAL)
    • 1080 p25 - Full HD
  • Handy
    • - QCIF 352 x 288 oder 176 x 144
  • SuperAVConverter

RealProducer

VideoLan

VOB to flv

mplayer dvd://1 -dumpstream -dumpfile myvideo.vob
mencoder myvideo.vob -of lavf -ovc lavc -lavcopts vcodec=flv:vbitrate=150 -ofps 25 -oac mp3lame -lameopts abr:br=32 -srate 44100 -vf scale=720 -o outputfile.flv

FLV Player

flv  	The URL of the FLV video to be played.
width 	Forces the video width.
height 	Forces the video height.
autoplay 	1 to auto-play
autoload 	1 to automatically load
buffer 	The number of seconds to buffer. By default set to 5.
config 	The URL of the configuration text file, similar to flv_config.txt
configxml 	The URL of the configuration XML file, similar to flv_config.xml
title 	The title shown before loading the video
margin 	The margin of the video with respect to the Flash object. (useful for skins).
srt 	1 to use SRT subtitles (the file must be at the same place as the video and have the same name, with .srt extension)
showstop 	1 to show the STOP button.
showvolume 	1 to show the VOLUME button.
showtime 	1 to show the TIME button
loop 	1 to loop.
startimage 	The URL of the JPEG file (not progressive) to be shown before loading the video
skin 	The URL of the JPEG file (not progressive) to load
playercolor 	The background color of the player bar (not the flash)
loadingcolor 	The color of loading bar
bgcolor 	The background color
bgcolor1 	The first color of the background gradient
bgcolor2 	The second color of the background gradient
buttoncolor 	The color of the buttons
buttonovercolor 	Hover color of buttons
slidercolor1 	The first color of the bar gradient
slidercolor2 	The second color of the bar gradient
sliderovercolor 	Hover color of the bar
loadonstop 	0 to stop the video loading by cliking on STOP button
phpstream 	1 to use php stream

FLV encoding mit ffmpeg und Einbau in eine Website

ffmpeg  -i input.mov -ar 22050 -ab 56 -aspect 4:3 -b 200 -r 12 -f flv -s 320x240 -acodec mp3 -ac 1 output.flv
  • film.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>FILM</title>
</head>
<body>
<center>
<object class="playerpreview" type="application/x-shockwave-flash" data="player.swf" width="320" height="240">
 <param name="movie" value="player.swf" />
 <param name="allowFullScreen" value="true" />
 <param name="FlashVars" value="flv=mikrowelle.flv&amp;title=Zum Start Play drücken&amp;width=320&amp;height=240&amp;showstop=1&amp;showvolume=1&amp;showtime=1&amp;showfullscreen=1&amp;bgcolor1=189ca8&amp;bgcolor2=085c68&amp;playercolor=085c68" />
 <p>Bitte Flash installieren</p>
</object>
</center>
</body>
</html>
video.txt · Zuletzt geändert: 2011/06/09 13:12 von admin