23 Apr 2013 sye   » (Journeyer)

#!/bin/bash
cd /usr/local/red5-1.0.0/webapps/oflaDemo/streams/MTS

for f in $( ls /usr/local/red5-1.0.0/webapps/oflaDemo/streams/MTS ); do
ffmpeg -i $f -vcodec copy -acodec aac -strict experimental /tmp/test/$f.mp4
done

# rotate video using mplayer
# 00037.MTS.mp4 VO: [xv] 1080x1920 => 270x480 Planar YV12
mplayer -x 480 -y 270 -vf rotate -vo xv 00037.MTS.mp4


http://www.ibm.com/developerworks/webservices/library/ws-restful/

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!