Salı, Aralık 25, 2012

Dumping Rtmp streams

I have seen some posts on net about dumping rtmp streams. Usually  you need to record the traffic between you and the web page offering rtmp stream to find out the location of mp4 file and other things.
Here is a command line foo

rtmpdump -r "rtmp://server.hostname.app" -a "application" -y mp4:031cef05aa114ejr48krui846960d79a.mp4 -W http://pathtoplayer/xxxplayer.commercial.swf -f "WIN 11,5,502,135" -p http://web.site.referring -o output.mp4

Cumartesi, Aralık 08, 2012

FFMpeg Tips

MP4 to Mpeg2 For DVD conversion
video mpeg2  audio ac3

ffmpeg -i file.mp4 -vcodec mpeg2video -acodec ac3  -aspect 16:9 -target pal-dvd out.mpg

WMV to MP4 conversion
video x264 audio mp3
ffmpeg -i file.wmv  -vcodec libx264 -acodec libmp3lame out.mp4
video x264 audio vorbis
ffmpeg -i file.wmv  -vcodec libx264 -acodec libvorbis out.mp4

ffmpeg -codecs 
shows the codecs supported form en/decoding.