I was playing around for a while and had a few issues getting FFMPEG to work. I though I'd share this in case anyone else was struggling as I was with files that were too large or aspect ratios that were weird. I then use Virtualdub to delete the adverts afterwards and this only takes a few seconds as it does not need to reencode the files.
I use Mencoder instead of ffmpeg as I can't get ffmpeg to create constant bitrate mp3s and average bitrate mp3s screw up the sound syncing when deleting parts of the file. I just renamed the original ffmpeg folder in the gbpvr folder, copied the mencoder folder in there and renamed it to ffmpeg and renamed mencoder.exe to ffmpeg.exe![Smile Smile](https://forums.nextpvr.com/images/smilies/smile.png)
This is the line of code I added to the config.xml file to have a new processing option (none of the others will now work unless the original ffmpeg is put back):-
I made a very useful little batchfile that I just saved into my root directory as ConvertToAVI.bat and I use to encode files manually. Once you right-click on a file and do "open with", find the batchfile and click OK then you can reencode a file whenever you want just by right-clicking on it. VERY useful. The one line of text in the batch code is below, it will probably only work in Windows XP as I set the priority to low:-
Enjoy
Andy
I use Mencoder instead of ffmpeg as I can't get ffmpeg to create constant bitrate mp3s and average bitrate mp3s screw up the sound syncing when deleting parts of the file. I just renamed the original ffmpeg folder in the gbpvr folder, copied the mencoder folder in there and renamed it to ffmpeg and renamed mencoder.exe to ffmpeg.exe
![Smile Smile](https://forums.nextpvr.com/images/smilies/smile.png)
This is the line of code I added to the config.xml file to have a new processing option (none of the others will now work unless the original ffmpeg is put back):-
Code:
<Conversion name="MPEG4" cmd="{SOURCE_FILE} -o {DEST_FILE} -oac mp3lame -ovc xvid -xvidencopts fixed_quant=5 -lameopts cbr:br=128/>
I made a very useful little batchfile that I just saved into my root directory as ConvertToAVI.bat and I use to encode files manually. Once you right-click on a file and do "open with", find the batchfile and click OK then you can reencode a file whenever you want just by right-clicking on it. VERY useful. The one line of text in the batch code is below, it will probably only work in Windows XP as I set the priority to low:-
Code:
start "Encoding MPEG" /low /min "C:\Program Files\devnz\gbpvr\Third Party\ffmpeg\ffmpeg.exe" "%~f1" -o "%~dp1%~n1.avi" -oac mp3lame -ovc xvid -xvidencopts fixed_quant=5 -lameopts cbr:br=128
Enjoy
Andy