Tag Archive : audio

/ audio

Ripping MP3 from CUE / FLAC

December 9, 2015 | Article | No Comments

In this article we will discuss about how to rip MP3 from FLAC files. For this purpose I use Sound Converter and run it on Ubuntu 12.04 Desktop version.

Prerequisite

As mentioned, we need Sound Converter. We can download it from here.

Next we need to install some additional packages:

apt-get install flac mp3splt vbrfix

Usage & Process

Convert the FLAC file to MP3 using Sound Converter. This process is quite simple. Start the sound converter and specify the flac file you want to convert. Just press the “Convert” button. This converts the flac file to one single mp3 file but we aware of multiple songs in this mp3 file.

Next we need to split the single mp3 files into multiple mp3 tracks. This can be done by mp3splt.

mp3splt -f -c Album.cue Album.mp3

We assume Album.mp3 is the product of Sound Converter.

The “cue” files are generally provided with flag files for this purpose. If we don’t possess this cue file, we have to use some mp3 splitter to achieve the same.

The new mp3 files might have issues with reading mp3 duration of these files. If that happens then vbrfix will fix the problem.

vbrfix myfile.mp3 myfile_fix.mp3

That way should fix the duration problem.

Convert VCD to AVI (Xvid) on Ubuntu

December 9, 2015 | Article | No Comments

Have old VCDs? Want to convert VCDs to AVI (Xvid) and not lose too much video quality? Here we have MEncoder.

MEncoder is a free command line video decoding, encoding, and filtering tool and also sibling of MPlayer. MEncoder can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs.

In this article we will discuss about how to use mencoder to convert vcd to avi on Ubuntu. Any Ubuntu version and any architecture is fine. However in this article I will use Ubuntu 12.10 desktop edition.

Prerequisite

MEncoder!

MEncoder is included in the MPlayer distribution. Check whether we have MEncoder or not.

mencoder --version

Which should give you similar to this:

MEncoder 1.1-4.7.1 (C) 2000-2012 MPlayer Team
--help is not an MEncoder option

Exiting... (error parsing command line)

However if it’s not recognized, then you haven’t install MPlayer and MEncoder. You can install it

apt-get install mplayer mencoder

Usage & Process

VCD or Video CD, is the first format for distributing films on standard 120mm (4.7 in) optical discs. VCD discs are playable in dedicated VCD players, most DVD and Blue-ray Disc players, PC, and some video game consoles.

VCD has structure, made of some tracks in CD-ROM XA mode. The first track of a VCD is in CD-ROM XA Mode 2 Form 1 and stores metadata and menu information. This track may also contain other non-essential files, and is shown by OS when loading the disc. The rest of the tracks are usually in CD-ROM XA Mode 2 Form 2 and contain video and audio multiplexed in an MPEG program stream (MPEG-PS) container, but CD audio tracks are also allowed.

As said before, VCD consists of some tracks. To check the track that needs to be converted, use following:

mplayer vcd://2

Let say we want track 2. To convert, use following:

mencoder vcd:/2 -o file.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000

That command will convert to AVI with bit rate 2000.

Wait till done.

Social media & sharing icons powered by UltimatelySocial