in

andy vt's tools & blog

automating lazy

zip FFmpeg

Downloads: 13,915 File Size: 2.5MB
Posted By: jelwood Views: 25,898
Date Added: Wed, Jul 25 2007

As of build r9976 ffmpeg now natively supports full DVR-MS.  As a result you can use any compile of ffmpeg that you wish (as long as its r9976 or greater).  I’m providing this build of ffmpeg as a convenience for those interested.

For all DVR-MS conversions please use the "-async 1" switch.  If you do not use this switch you can have Audio/Video sync issues.

One word of warning about threads.  This build of ffmpeg only has multithread support with the Xvid and X264 encoders.  If you are encoding to any other codec, please don't use the "-threads" switch (the program will blow up if you do).

 

Below are the command lines that I tested.

General Divx5/Xvid with MP3:

ffmpeg -benchmark -y -i "input.dvr-ms" -async 1 -deinterlace -vcodec mpeg4 -s qvga -qscale 4 -vtag DX50 -acodec libmp3lame -ac 2 -ab 128000 -f avi "output.avi"

 

Xvid with MP3:

ffmpeg -benchmark -threads 2 -y -i "input.dvr-ms" -async 1 -deinterlace -s qvga -vcodec libxvid -qscale 4 -vtag DX50 -acodec libmp3lame -ac 2 -ab 128000 -f avi "output.avi"

 

X264 with AAC:  This was tested with QuickTime, I don't know if it will actually work with the IPod

ffmpeg -y -benchmark -threads 2 -i "input.dvr-ms" -async 1 -deinterlace -s qvga -vcodec libx264 -b 384000 -bufsize 384 -coder 0 -level 13 -acodec libfaac "output.mp4"

 

This is a profile specifically for the Blackbery 8830:

ffmpeg -y -benchmark -i "input.dvr-ms" -async 1 -deinterlace -s 320x240 -vcodec mpeg4 -r 25 -b 512000 -acodec libfaac -ac 2 -ab 96000 "output.mp4"

 

Windows Media Version 8:

ffmpeg -benchmark -y -i "input.dvr-ms" -async 1 -deinterlace -s qvga -vcodec wmv2 -qscale 4 -acodec wmav2 -ac 2 -ab 128000 "output.wmv"

 

Filed under: ,

Comments

No comments exist for this file.
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems