Hardcore Linux

Anything about Ubuntu, Centos, openSuSe and Fedora

Category Archives: multimedia

Convert VCD to MPEG

I stumble upon this link which is quite useful in converting/ripping VCD to MPEG (or you can also have it as XVID)

http://www.binarytides.com/ubuntu-convert-vcd-dat-file-to-mpeg/

 

Advertisements

VT1708/A workaround for Ubuntu 10.10

I got this old mainboard (ASUS M2V-MX SE) which I need to install a newer version of Ubuntu (10.10 in this case) from previously 8.04.  Decided to have a clean install and found that there’s a current bug in kernel regarding the VIA VT1708/A audio card. Here’s what I’ve found in the net

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/664785

After few minutes of searching for possible solution, finally I’ve  found one that works:

https://bugzilla.kernel.org/show_bug.cgi?id=16921#c5

Here’s how:

1. Modify your grub default boot options

$> sudo vi /etc/default/grub

2. Add “pci=use_crs” on your current grub option, which looks like this:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash pci=use_crs”

3. Then update your grub.

$> sudo update-grub

4. Reboot and done.

Inkscape 0.48 on Ubuntu 10.04

You can now try the new version of Inkscape 0.48, which contains many new features, details are listed here.

Here’s how to install it in your  current system:

  1. Download the binary package on the following links:
    for 32-bit download here
    for 64-bit download here
  2. Then install it, if using the console follow this steps
    sudo dpkg -i $NAMEofFILE.deb
    sudo apt-get install -f
  3. Done, to check if it’s properly installed, check the About Inkscape

700Mb Xvid on mencoder

Tried many linux tools to create at least 700 – 800 Mb xvid/divx  video from DVD or MPEG source, although I am successful in conversion process, but the problem is the quality. I tried FFMPEG, AVIDEMUX and then lastly MENCODER, and got this conclusion that MENCODER is the perfect tool for me.

Converted a movie into three (3) version of XVID using the three said tools and compare its quality, and on my test, I found out that MENCODER do it best. Here’s my setup:

mencoder <source file/device> -ovc xvid -oac mp3lame -xvidencopts pass=1 -o /dev/null
mencoder <source file/device> -ovc xvid -oac mp3lame -xvidencopts pass=2:bitrate=-700000 -o <file.avi>

Still I can’t make a perfect 700MB sized xvid file but the 800MB is not bad either.

Done.

Converting FLV to MP3 using ffmpeg

Here’s the simple trick to convert FLV to MP3, by extracting the audio and encoding it to mp3 using ffmpeg.

ffmpeg -i “mysource.flv” -acodec libmp3lame -ac 2 -ab 128 -vn -y output.mp3

-ab ### - the audio bitrate
--acodec libmp3lame (opensuse) the output media format

Done.


%d bloggers like this: