LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices


Reply
  Search this Thread
Old 09-08-2004, 09:02 PM   #1
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
Post DISCUSSION: Converting AVIs to (S)VCDs


This thread is to discuss the article titled: Converting AVIs to (S)VCDs
 
Old 10-08-2004, 03:37 AM   #2
Read_Icculus
Member
 
Registered: Oct 2002
Distribution: MDK 9.2, Debian
Posts: 74

Rep: Reputation: 16
Followed this thread exactly, everything works fine up until I have to multiplex and I get the following error on multiple AVI (divx, vvid) files that I followed the process on.

Code:
   INFO: [mplex] mplex version 2.2.1 ($Date: 2002/02/04 19:06:14 $)
**ERROR: [mplex] File filename.m1v unrecogniseable!
   INFO: [mplex] File filename.mp2 looks like an MPEG Audio stream.
**ERROR: [mplex] Unrecogniseable file(s)... exiting.
Then if I put the audio stream first as an argument I get this -

Code:
   INFO: [mplex] mplex version 2.2.1 ($Date: 2002/02/04 19:06:14 $)
   INFO: [mplex] File filename.mp2 looks like an MPEG Audio stream.
**ERROR: [mplex] File filename.m1v unrecogniseable!
**ERROR: [mplex] Unrecogniseable file(s)... exiting.
Is it my version of mplex? Any help would be great, I have no clue. I've tried other various vcd/svcd tools as well, tovid from this forum, divx2svcd, and have had no luck with any of them. Tovid gives me errors about "can't play stream, make sure your computer is fast enough", when mplayer works fine for everything. divx2svcd says "skipping frames" and produces garbage.

Does any other tool work at all for making vcds? I've been lookingon freshmeat and searching here. Nothing seems to work properly.
 
Old 10-09-2004, 11:50 AM   #3
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
What distro are you running? Also, did you see the reply in the other thread from wapcaplet? I am using mplex version 2.2.3 and it seems to be working fine. I ran into a hiccup with avidemux where it wouldn't encode the audio and had to change the option to 'none' in avidemux's audio filters. After that, mplex worked.

But i would definetly upgrade mjpegtools in my distro before going any further if i were you.
 
Old 10-10-2004, 04:53 AM   #4
Read_Icculus
Member
 
Registered: Oct 2002
Distribution: MDK 9.2, Debian
Posts: 74

Rep: Reputation: 16
mjpegtools was the problem. I grabbed a new rpm of mjpegtools and everything worked perfectly. The multiplexing step was what went wrong with every single VCD/encoding program I tried in the end. Just didn't have the experience to recognize the errors and stuff generated by the different programs. Thanks for the help! Works perfectly now. Pretty simple now that I've got the hang of it.
 
Old 10-10-2004, 10:10 AM   #5
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
Yah, it is simple. Just keep in mind it isn't perfect yet, so you will run into problems every now and then.
 
Old 10-20-2004, 07:30 AM   #6
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 31
Is there any way of determining the split-point in a video with avidemux? I want SVCDs to have a split at every 690 MB. How do I do that?
 
Old 11-01-2004, 05:45 AM   #7
TrevorR
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
I'm having a similar problem. Instead of splitting it in two, I'm getting a 790, a 13.9 and another about 80 something. Why 3 files? How to get around this?
 
Old 11-01-2004, 11:15 PM   #8
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 31
I still havent found the answer, but I came up with a rather silly solution, it works though. This is what I do:

The linux "split" command can split mpegs retaining all ability to play the files and seek in the file. Inspite of this, I must warn you that it may not work.

Lets assume you have a movie that is divided into the following files:
1) part1.mpg size: 800MB
2) part2.mpg size: 200MB

Now you wish to burn these on 700MB CDs.

Use the following command:
Code:
split -b 690m part1.mpg
This will split part1.mpg into 690MB chunks, do a "man split" to find more.

After executing this command, you will find two files named xaa and xab. Rename these to your choice, say part1-1.mpg and part1-2.mpg. Test them out and see if they work.

You can burn the first CD of 690MB with ease using vcdimager. The second CD, however must be burnt with two files, namely part1-2.mpg and part2.mpg. I have never been able to do this in linux. I burn the CDs with more than one video files in windoze using nero.

You can wine nero, or if anyone know a method of burning these in linux, then please post it here.

Maybe you can use k3b, but I have never been able to use k3b for burning VCDs
 
Old 11-02-2004, 03:59 PM   #9
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
You could try this for 2 videos:

To add many MPEG files on the same Video CD, just have to add them on the command line:
% vcdimager -t vcd2 -c image.cue -b image.bin file1.mpg file2.mpg file3.mpg
http://www.bsdnews.org/01/vcd.php

Then just burn image.bin with k3b or whatever else.

But i doubt that the split command splits the mpegs properly though...you would better be off using this tool for svcd's:
http://mpgtx.sourceforge.net/

Last edited by sk545; 11-02-2004 at 04:02 PM.
 
Old 11-28-2004, 08:17 PM   #10
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
According to the mplex man page, -S option is NOT for splitting vcd/svcd's, it can cause problems. This split must come from marker placed by the encoder. That is why you get 3 files sometimes, it splits where you specify with the -S, and at the marker put in at the avidemux stage which seems to be at 839.

Please fix this to help save hair.

Last edited by Brain Drop; 11-28-2004 at 08:22 PM.
 
Old 06-13-2005, 02:28 PM   #11
sueno
Member
 
Registered: Feb 2004
Location: Reykjavík Iceland
Distribution: Fedora Core 3. also testing mandrake
Posts: 54

Rep: Reputation: 15
About the three files problem I just use cat

as in:
cat firstfile.mpg secondfile.mpg > totalfile.mpg


This command merges the files again and it hasn given me any problem yet and it impssible to se where the vido was split before

Hope this helps
 
Old 11-15-2006, 05:28 PM   #12
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Has anyone put together a script to do everything? That would be nice. There are too many commands here to remember them all without doing them a million times, so we'd have to look up this guide each time. If anyone comes up with a script, please share it. Thanks.
 
Old 11-17-2006, 06:21 AM   #13
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 31
The new version of avidemux that I'm using (2.3.0preview1) has a menu option called "Auto > VCD/SVCD/DVD/PSP".

I have been using another program lately, its called "DeVeDe". It has a beautiful GUI, uses mencoder.

Quote:
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables for home players, from any number of video files, in any of the formats supported by Mplayer. The big advantage over other utilites is that it only needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and Python 2.4, PyGTK and PyGlade), so its dependencies are really small.
URL: http://www.rastersoft.com/programas/devede.html
 
  


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
Problems appending avis Blue1K Linux - General 3 06-27-2009 12:32 PM
DISCUSSION: Converting video to VCD, SVCD, or DVD wapcaplet LinuxAnswers Discussion 665 12-29-2005 02:02 AM
Uncompressing AVIs in linux akudewan Linux - Software 16 01-24-2005 03:53 AM
mencoder and uncompressed AVIs slothpuck Linux - Software 5 01-16-2005 07:42 AM
CONVERTING HALF-LIFE DEMOS TO AVIs IN LINUX IS VERY EASY! leadazide Linux - Games 5 09-23-2004 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion

All times are GMT -5. The time now is 02:31 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