Monday, January 8, 2007

How to make VCD with K3B using Linux




If you have a video file ie .avi, or .mp3 and you would like to burn to CD in VCD format so that you can play it with your vcd player. This is how I did it.

avi file

Let's say you have a .avi video file named myvideo.avi. You have to convert it
to mpg.

ffmpeg -i myvideo.avi -target pal-vcd myvideo.mpg

(Note: the -target command requires at least version 0.4.9 of ffmpeg)

Burn it!
Using k3b, a KDE burning software, you can burn it to cd in vcd format by selecting File -> New -> New Project -> New Video CD Project menu. Please make sure the file size does not exceed the storage size of the CD. If there is an error indicating vcdxbuild binary not found, you need to install vcdimager package.

Problem: There is no vcdimager package for Slackware as I know of. After searching high and low (even using slapt-get was no help), I opted to download sources: vcdimager, libpopt and libcdio source packages.

For all this source,

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var

and as usual,

make; make install

After compiling and installing all of these packages, k3b should be able to find vcdxbuild binary and successfully burn the file to cd in vcd format.

Links
vcdimager : http://www.vcdimager.org
popt library : http://directory.fsf.org/libs/popt.html
libcdio : http://www.gnu.org/software/libcdio/

2 comments:

DA5H said...

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var

doesn't work, i have to change usr 4 my user name???. I show you my terminal http://a8.sphotos.ak.fbcdn.net/hphotos-ak-snc6/253553_211916195519991_100001048363288_623017_4002481_n.jpg

Zamri said...

can u translate the error message for me?

Second monitor no display after latest update - KDE-neon

 After latest update as of Oct 3, 2023, my second monitor was undetected with latest kernel (6.2.0-33-generic). If I boot with previous kern...