LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-18-2004, 12:20 AM   #1
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
AVI to SVCD


Ok i was searching on the web to change avi files to svcd hopefully but i will also settle fro vcd but i would rather svcd. Anyways i searched the site and came aross this http://www.linuxquestions.org/questi...hreadid=129410

Wasnt much help so that is why i am asking this again. I would like to convert a avi file to a svcd and then burn it to a cd? I tried downloading all the files that DrOzz refered to But with no luck theres programs didnt work. kavi2svcd didnt get past make. hmm qvcd works but its really werid program and it looks like it will only concert mpeg files With that i dont know how to use it after extensive reasearch on this program. I found no help in the doc files If anyone would suggest another file to do this i know were probably runnning short of programs here but it will be a huge help.Thanx


Matt3333
 
Old 06-18-2004, 01:29 AM   #2
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
Assuming your AVI file is encoded with DivX/XviD, then try this guide on coding Divx to S/VCD. The author thoughtfully includes shell scripts for this task. (I've posted this link here a couple of times before).
 
Old 06-18-2004, 02:19 AM   #3
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok i read thru That page and i tried downloading some of the files he suggested I need inorder to do this convertsion and i noticed that VCDimager is down because of program protesting or software protesting?? WTF? anyways I figured i would just skipp it and download his script and try it out But What do I with it? chmod a+x then run it?

Sorry........Thanx for your patients with a issue that gets alot of posts im sorry again!!

Also What do you suggest I burn this with? I have gtoaster i use for music and convert mp3 - wave for audio cds. Do you suggest i use that? or should i start digging for another program? Thanx Again!


Matt3333

Last edited by matt3333; 06-18-2004 at 02:22 AM.
 
Old 06-18-2004, 02:57 AM   #4
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
I'm just a noob but I'll give you some tips to use if all else fails.

I've converted many an avi to vcd with Avidemux.
It will also do svcd. I've even used it to convert vobs ripped with Vobcopy,
and DVD's ripped to avi with Acidrip.
(thanks acid_kewpie)

As far as burning I use K3b to burn vcd's. I've never done svcd's as
my DVD player won't take them.

I believe the backends that K3b uses are:

vcdxbuild, vcdxminfo, and vcdxrip.

I don't know if K3b will do svcd.

If you go the Avidemux route you will need Transcode, and Transcode
needs a few things as well, ffmpeg for sure, plus some others.
When you configure Transcode, the output should tell you what is missing.
You should quit the build and get them.

There is a small HOWTO at the Avidemux site on vcd creation.

Save audio and video seperately:

file-save-save video

audio-save audio

mux them afterward from a terminal:

mplex -f 1 -o video.mpg video.m1v video.mp2

I now it seems like alot but once your setup and get the hang of it,
It really works well.
 
Old 06-18-2004, 12:05 PM   #5
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok... So first its going to build VBR Map.....for audio Ok then next i gotta incoded the audio to ffmpeg then i save all that as video.mp2

Then I encode the video as SVCD and save it as video.m2v Right? so far? Then i gotta download mjpegtools or transcode? Ok this document suggests i use vcdimager But when i search for it on sourceforge.net i get software protest shit.What is another program that will compile a SVCD so i can burn it I think your right about k3b not doing svcd's. hmmmmm Thanx for your help so far please corrent me if im wrong about anything here Thanx!!! again!

Matt3333
 
Old 06-18-2004, 05:21 PM   #6
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Sorry if I was vague in my last post. To do what you want
you have a lot of reading and experimenting ahead of you.

You must have Transcode, which is a comand line tool for
converting different formats of audio and video. Transcode
must be installed before Avidemux is installed.

Before you Install Transcode, you will need other tools.
You will need ffmpeg for sure, before installing Transcode,
in order to get the most out of Transcode you should also
have at least the following:

divx4linux
fame
ffmpeg
lame
mjpegtools
xvidcore
avifile
a52dec

If you've missed anything you should find out when you
compile Transcode. After you do a ./configure of transcode
it should tell you what features are going to be useable.
(or you can read the config log)

I've never used vcdimager but here's a link:

http://www.vcdimager.org/index.phtml

Whenever you find a page protesting software patents,
read what they have to say and somewhere on the page will
be a link to enter the site.

Last edited by auditek747; 06-18-2004 at 05:25 PM.
 
Old 06-18-2004, 05:41 PM   #7
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Check out this thread. It's a script I wrote to convert just about anything to VCD, SVCD, or DVD format.
 
Old 06-18-2004, 05:57 PM   #8
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok anyways i was able to find vcdimager i downloaded it and i read the readme then read the install guide and did ./configure then start make and this is what i get:

Quote:
matt@Darkpunk:~/vcdimager-0.6.2$ make
make all-recursive
make[1]: Entering directory `/home/matt/vcdimager-0.6.2'
Making all in libvcd
make[2]: Entering directory `/home/matt/vcdimager-0.6.2/libvcd'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wunused -Wall -Wmissing-prototypes -Wunused -Wpointer-arith -Wwrite-strings -c vcd.c
In file included from vcd.c:39:
vcd_files_private.h:364: error: flexible array member in otherwise empty struct
vcd_files_private.h:446: error: flexible array member in otherwise empty struct
vcd_files_private.h:467: error: flexible array member in otherwise empty struct
make[2]: *** [vcd.o] Error 1
make[2]: Leaving directory `/home/matt/vcdimager-0.6.2/libvcd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matt/vcdimager-0.6.2'
make: *** [all-recursive-am] Error 2
matt@Darkpunk:~/vcdimager-0.6.2$
I dont know whats causeing this ./configure when good....
 
Old 06-18-2004, 10:20 PM   #9
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
wavcaplet: thank you for your script; I hadn't seen that thread before.

matt3333: many F/OSS sites are protesting the European Union's proposed adoption of software patents (a worthy endeavour as software patents are a threat to our Free/Open Source Software). They usually have a link to get past the protest page. Anyway, you don't need to compile vcdimager from source. Since you are using Slackware, search for it on linuxpackages.net instead. Oh look, here it is: vcdimager.

Other advice: give wavcaplet's script a try. Also, for CD burning, I've only ever used cdrecord and cdrdao; they're both console tools, included with the standard Slackware distro. If you don't like console, then try k3b as the other poster suggested.
 
Old 06-19-2004, 12:47 AM   #10
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok i tried to install vcdimager. And im missing a libarary libiso9660? what program uses this lib so i can download it or where would you suggest i get this lib from? I tried using swaret But no luck!!

Also once i get the audio and the video into one file i will give the script a try. How would you get the script to run? like is it simple to run or.... anyways thanx for your help!!


Matt3333
 
Old 06-19-2004, 03:11 AM   #11
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
matt3333 re. libiso9660: I've never encountered this error before. Did you leave out packages when you installed Slackware?

libiso9660 suggests that it is a library for the CD filesystem (iso9660). After a quick google for "iso9660", it seems that this library may be part of the libcdio package (ie. CD input/output). After another google for "libcdio slackware", I found Jay the Obscure's Slackware 9.1 packages where he has a linuxpackages.net link for libcdio.

YMMV; I've never encountered the errors you are experiencing, so I'm just guessing at the above.

Last edited by spurious; 06-19-2004 at 03:13 AM.
 
Old 06-22-2004, 06:25 AM   #12
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Rep: Reputation: 15
Hi ya,
I'm daring to post here my questions again ,so sorry for the twice post. I'm really desperated of why the divx2?vcd does not *properly* work. Or probably there's one wise head to point me to the right direction...

So here'I go:
I've used the SVCD version of the famous divx converting script (divx2svcd) to convert one DivX 5.1 file to the corresponding SVCD image, but got very irritating results. Maybe I should try the one wapcaplet has written...

Anyway,
First of all, the AVI length is something about 87000 frames (52 min.) and is 704 MB big. I got a dozen of files with sizes from 200 bytes to 900 MB big.
This is what I found in the folder containing the AVI file and the subtitle one.

The original files
the AVI file itself: MyDivXFilm.avi
the SUB file: MyDivXFilm.srt

The transcoded files
some file named MyDivXFilm.m2v and 720MB big
some file named MyDivXFilm.mpa and 67 MB big
some file named Pelicula.mpg and 900MB big
some file named Pelicula00.mpg and 712MB big
some file named Pelicula00.mpg.bin and 711MB big
some file named Pelicula00.mpg.cue and 178 Bytes big
some file named Pelicula01.mpg and 89MB big
some file named Pelicula01.mpg.bin and 87MB big
some file named Pelicula01.mpg.cue and 178 Bytes big

So, what is supposed to be done with these bunch of big&mighty files? And how comes it that I got the Film split in two parts?

One furter question: May I use a DVD media to write a (S)VCD where all parts of the film are in one place and how to do it?
*The remark* I saw the script from wapcaplet has an option to convert in a "dvd-vcd" format, but it also writes that this might not work, ahy further information about the details were very greatly appreciated.

Many thanks in advance.

Kind regards,
sbogus
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AVI-Video ---> SVCD possible? GSX Linux - General 2 02-25-2005 12:11 AM
howto convert .avi to svcd? Brain Drop Linux - Software 3 11-28-2004 09:13 PM
Convert avi to svcd skon Linux - General 2 12-28-2003 11:18 PM
converting *.avi file to *.vcd (or svcd) zstingx Linux - General 1 10-07-2003 06:44 AM
Converting avi to mpg OR creating an SVCD from an avi MasterC Linux - Software 5 03-28-2003 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration