Revision history for Tips


Revision [790]

Last edited on 2015-04-21 23:46:41 by AdminUser [Version 0.9.8]
Additions:
Detailed codec-specific command-line options are listet in the [[https://www.ffmpeg.org/ffmpeg-codecs.html#Audio-Encoders|FFmpeg Codecs Documentation]].
I also recomment to read this [[https://trac.ffmpeg.org/wiki/Encode/HighQualityAudio|FFmpeg Guidelines for high quality lossy audio encoding]].
=====Some codec knowledge=====
=====Run ID-files at doubleclick=====
Want to make synchronization happen, when you double-click an *.id file in explorer?
**You can make life easier with following steps:**
1) Run %%assoc .id=FoobarSync%%
1) Run %%ftype FoobarSync=cmd /k ""c:\windows\system32\cscript.exe" //NOLOGO "E:\User Shell Folders\kNiL\Foobar\sync.vbs" Tasks=mp RunId="%1""%%
=====Run scripts easier=====
As soon as you often run ""FoobarSync"" manually from command line you'll get nerved to have "cscript" added as prefix.
**You can make life easier with following steps:**
1) Run %%ftype VBSFile=cmd /c ""c:\windows\system32\cscript.exe" //NOLOGO "%1" %*"%%
From now on you sould be able to run any VBS-scripts directly from command prompt.
**Test changes with ""FoobarSync""...**
1) Navigate to location of sync.vbs
1) Run %%sync.vbs /help%%
**Read carefully before you do this**:
- I set this up on Windows 7 x64 successfully with administrator rights. Maybe you need such special rights!
- Other versions of Windows may need different setup!
- You may have some existing registery entries, which point to .vbs-files. In most cases their assignment will have a higher priroity and you will need to delete/change them. If you do any changes in registery, make sure to leave ''HKEY_CLASSES_ROOT\.vbs -> (Standart) "VBSFile"'' untouched and export keys before modification!
Deletions:
=====WSH - make life easier=====
As soon as you often run ""FoobarSync"" manually from command line you'll get nerved to have "cscript" added as prefix. On Windows 7 you can make life easier with following steps:
1) Type %%assoc .vbs=VBscript%%
1) Type %%ftype VBscript="c:\windows\system32\cscript.exe" /nologo "%0" %1 %2 %3 %4 %5 %6 %7%%
From now on you can just run your VBS-Scripts directly from prompt:
%%sync.vbs /help%%
**Be aware that you may have to use double-quotation on paths with spaces:
%%sync.vbs runid=""c:\test folder\mytarget.id"" tasks=pt%%**


Revision [696]

Edited on 2015-04-13 22:20:49 by AdminUser [Version 0.9.5]
Additions:
=====Did you know that...=====
- you can start the script and foobar2000 will get launched if not already running?
- there are text-files in the folder of foobar2000.exe, that contain last analysis results per target?
- you can edit or comment any page in this wiki to add your own tips? Just sign up as a new user! :-)
can be archived with the freeware [[http://www.uwe-sieber.de/usbdlm.html|USBDLM]]. A really great tool that manages drive letters for USB devices. You should check it out even if you are not interested in an automatic sync.
- ''ffmpeg -i "c:\infile.m4a" -vn -c:a libvorbis -q:a 6 d:\outfile.ogg''
**Be aware, that due to past and future improvements in Vorbis, your final bitrate will be ca. 10 % less.**
is also very common and well known on targets. It should provide slightly better quality then MP3.
Should (!) be a good codec for low bitrates but as I know there are problems because of patents. ""AAC-HE"" is supported by the official FFmpeg binaries (library //aac_he_v2//), **but **it is known to give bad quality. I've testet it and must say: Yes, quality IS bad. :-) If you need very low bitrates use other codecs where possible or get your hands on a FFmpeg binary with a better library. If you found such library and it is legal, please let me know!
is a special purpose codec for spoken content that is supported on few targets like [[Rockbox|Rockbox Player]]. You can get very low bitrates with a good quality. Very nice for audio books, but as soon as there are some environmental sounds or some music, quality will be bad.
Deletions:
can be archived with the freeware [[http://www.uwe-sieber.de/usbdlm.html|USBDLM]]. A really great tool that manages drive letters for USB devices. You should check it out even if you are not interestet in an automatic sync.
- ''ffmpeg -i "c:\infile.m4a" -vn -c:a libvorbis -q:a 6 d:\ooutfile.ogg''
**Be aware, that due to past and future improvements in Vorbis, your final bitrate will be ca. 10 % less.
**
is also very common and well known on targets. It should provide slightly better quality as MP3.
Should be a good codec for low bitrates but as I know there are problems because of patents. Codec is supported by the official FFmpeg binaries (library //aac_he_v2//), but it is known to give bad quality. I've testet it and must say: Yes, quality IS bad. If you need very low bitrates use other codecs where possible or get your hands on a FFmpeg binary with a better library. If you found such library and it is legal, please let me know!
is a special purpose codec for spoken content that is supported on few targets like [[Rockbox|Rockbox Player]]. You can get very low bitrates with a good quality. Nice for audio books. But as soon as there comes some environmental sound or some music quality will be bad.


Revision [646]

The oldest known version of this page was created on 2015-04-11 13:24:32 by AdminUser [Version 0.9.5]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki