Originally Posted by
Paddy Landau
Thanks. With some experimentation, all that it did was to copy the .VOB file across. I now realise that it contains the audio for all of the parts, one after the other.
However, it's stored as a video (with no actual video), rather than as audio.
Thank you. I'll try to follow those instructions to extract the audio.
Pulling just the audio is easy with ffmpeg. Just set the video output to none/null. I don't really exactly, since ffmpeg changed those options a few times over the decades.
I prefer vorbis audio in an ogg container, so
Code:
ffmpeg -i "$1" -codec:a libvorbis -qscale:a 6 "$1.ogg"
will get the audio only at a quality level that isn't different from flac, while still being compressed.
A comparison of file sizes:
Code:
$ du -sh *
249M flac
47M mp3-160
50M vorbis-q6
After ripping to flac, I convert to 160 Kbps mp3 and "quality=6" for vorbis. It is possible to hear the difference between the mp3 and vorbis, but not between the vorbis and flac. I use Shure cans for my testing. That's just 1 album, but it is pretty clear that vorbis quality 6 is imperceptible to tell from a direct source. Fortunately all my audio players on all platforms support vorbis. AAC is very good too, but didn't interest me due to commercial connections.
I actually have a different script to convert from flac to vorbis. oggenc only supports specific input file types, flac is one.
Code:
oggenc -q 6 -o "$ROOT-vorbis-q6.ogg" "$filename"
We each have different player requirements which leads back to the best file format.
Bookmarks