HydrogenAudio

Lossy Audio Compression => Ogg Vorbis => Ogg Vorbis - Tech => Topic started by: TuMaGoNx on 2010-07-26 03:28:35

Title: FFMPEG with AoTuV
Post by: TuMaGoNx on 2010-07-26 03:28:35
In response to Monty of Xiph

I decide to compile a recent version of FFMPEG that use AoTuV vorbis instead of vanila libvorbis (which haven't fully incorporated Aoyumi's works) and intentionally exclude native vorbis encoder (to prevent accidental encoding).
As you know, it capable of q -1 and -2 thus great for bandwidth-starved situation. BTW I also include WebM's vp8 encoder if anyone want to try the combination but I felt it was very slooow somehow (the vp8 encoding not vorbis).

My interest is however to make FFMPEG as All (including videos) to streaming audio (AoTuV) converter that also transfering tags/metadata thus only lack replaygain calculation in the process. Of course it is not in league with SOX in term of quality but hey it decode more formats

Here is my build today: ffmpeg r24503 (http://dl.dropbox.com/u/2554170/ffmpeg.exe) Win32, MT, CPU runtime detect
ffplay (http://dl.dropbox.com/u/2554170/ffplay.exe) to test WebM content, just drag n drop onto to play

plain batch conversion example:
Code: [Select]
for /r %f in (*.mp3 *.aac *.m4a *.vqf *.mp2 *.ac3 *.wma *.ra) do ffmpeg -i "%f" -acodec libvorbis -aq 0 -map_meta_data 0:0 -y "%~dpnf.ogg" && vorbisgain -q -s -f "%~dpnf.ogg" && del "%f"


for video clips:
Code: [Select]
for /r %f in (*.avi *.wmv *rm *.asf *.mov *.mpg *mp4) do ffmpeg -i "%f" -vn -acodec libvorbis -aq 0 -map_meta_data 0:0 -y "%~dpnf.ogg" && vorbisgain -q -s -f "%~dpnf.ogg"


Please test 

This my first post  although I'm not new here, Hopefully I post it in right category...
Greets
Title: FFMPEG with AoTuV
Post by: Mr VacBob on 2010-07-26 10:39:43
You don't need to do anything to exclude the native Vorbis encoder. It's already disabled (= marked "experimental") in ffmpeg svn as of r23339.
Title: FFMPEG with AoTuV
Post by: TuMaGoNx on 2010-07-26 11:38:41
Thanks, I don't realise it. aac too