Showing posts with label video. Show all posts
Showing posts with label video. Show all posts

Thursday, January 17, 2013

YouTube HTML5 (alternative to Adobe Flash) Trial

http://www.youtube.com/html5

YouTube HTML5 Video Player

You are in a trial for HTML5 video on YouTube. Some users of supported browsers are automatically entered in to the trial. If you wish to leave the trial, use the link at the bottom. HTML5 is a new browser technology that allows us to show videos without the Flash plugin.
Your comments will help us improve and perfect the mixtures we're working on. So jump in, play around, and send your feedback directly to the brains behind the scenes.

Supported Browsers

We support browsers that support both the video tag in HTML5 and either the h.264 video codec or the WebM format (with VP8 codec). These include:

Notes

  • Fullscreen support is partially implemented. Pressing the fullscreen button will expand the player to fill your browser. If your browser supports a fullscreen option, you can then use that to truly fill the screen
  • If you want to find videos with WebM formats available, you can use the Advanced Search options to look for them (or just add &webm=1 to any search URL)

Additional Restrictions (we are working on these!)

  • Videos with ads are not supported (they will play in the Flash player)
  • On Firefox and Opera, only videos with WebM transcodes will play in HTML5
  • If you've opted in to other testtube experiments, you may not get the HTML5 player (Feather is supported, though)

What does my browser support?

  • Alert icon
  • Alert icon
  • Alert icon

Saturday, October 25, 2008

viikii and youtube embed

Just testing out embed codes from Viikii.net (doesn't seem to work :( ) ...


... and from youtube

mencoder stuff

# copy first 100 seconds
$ ffmpeg -i input.avi output.avi -t 100

http://forum.videohelp.com/topic329701.html

http://videotranscoding.wikispaces.com/mencoder

slower but with better quality and slightly better compression
$ mencoder ./in.MOV -o ./out.avi -oac pcm -ovc xvid -xvidencopts bitrate=740:par=pal43:qpel -vf scale=480:360,tfields -mc 0 -vf harddup

$ mencoder vid.wmv -o vid.avi -oac mp3lame -ovc xvid -xvidencopts bitrate=3000:pass=1 -vf scale=640:480

$ mencoder -ovc lavc -oac pcm -of lavf -lavfopts format=av ./input.MOV -o ./output.avi

Split
mencoder -ovc xvid -xvidencopts bitrate=740:par=pal43:qpel -vf scale=480:360,tfields -fps 50 -oac mp3lame -lameopts mode=1:cbr:aq=1:br=192 -mc 0 -vf harddup -ss 01:00:00 0 -endpos 02:00:00 -oac copy -ovc copy movie.avi -o second_half.avi

This will grab the segment between the first and second hour marks of the video.

-ss indicates where you want to start the encoding (1 hr from the start of the video 00:00:00).

-endpos indicates where you want to end (duration of 2 hours from -ss).


http://ubuntuliving.blogspot.com/2008/03/splitting-avi-file-into-smaller-parts.html


Convert
#!/bin/bash

#w=640; h=480; br=1600
w=320; h=240; br=800
#r="-vop mirror,rotate=x" [x=0..3]
#-ffourcc DX50 $r -o "$1".new "$1"

for i in 1 2
do
mencoder -vf scale=$w:$h -ofps 30000/1001 -channels 1 -srate 11025 -oac mp3lame -lameopts mode=3:abr:br=16 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=$br:vpass=$i -ffourcc DX50 -o "$1".new "$1"
done

Got the code from the link below and customized it a bit. Converted a 700mb wmv 640x480 file to 500mb mpg 320x480 with this script. Couldn't hear anything from the source wmv though.

http://marc.merlins.org/linux/technotes/mencoder_camera_encoding/README.html

RM to FLV
mencoder input.rm -o output.flv -of lavf -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3


-----------

ext='avi'

mkdir flv_dir

for i in `ls *.$ext`
do
echo $i
ofile=`basename $i $ext`flv
mencoder -o $ofile "$i" -of lavf -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=1:mv0:trell:v4mv:cbp:last_pred=3 -mc 0 -vf harddup > out.log 2> err.log
mv $ofile flv_dir
done