LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-01-2004, 09:57 PM   #106
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Original Poster
Rep: Reputation: 48

Wow, so many words and things! Let's take 'em one by one:

Quote:
oldstinkyfish writes:
I see that you support svcd , will you support ksvcd and kvcd in the future? To my understanding it gives a divx quality that you can play on a standard dvd player.
To be honest, I'd never even heard of ksvcd or kvcd until now. After a bit of searching, though, it looks like it's definitely something worth thinking about. From what I can tell, they are more or less "agreed-upon" formats rather than anything standard, such as VCD and SVCD are. If a lot of players support it, though, it could be worthwhile. I'll look into it, but don't expect it to become a high priority

Quote:
Would you ever add, like autogk, "make fit on 800mb, or two cd's etc.? Does it do two passes when converting? Does it need to?
Again, I'd consider it. I don't know of a good way to do that off the top of my head; with VCD, it wouldn't be an option, since VCD has a fixed bitrate (and thus a fixed amount of video per CD). There's only one pass of encoding right now (despite the misleadingly-named "-twopass" encoding option, which merely introduces another program into the pipeline). Mplayer does support some kind of two-pass and three-pass thing, but I don't know what it's for. Presumably it would be possible to get better bitrates, motion estimation, or other optimizations that way, but I haven't researched it.

Quote:
Should I run tovidgui from the shell, or add it to my gnome menu?
I would definitely recommend running the script from the console/terminal for now. I haven't even so much as looked at the GUI since I released it. Someday it will be useful; right now, it's probably just eye candy. And yes, the message about "no sound" is normal. Most of those nonsensical messages will be suppressed in the next release.

Quote:
sk545 writes:
When this thing becomes popular, we'll all pitch in and get a dvd burner for you.
Well, there is one on my wife's box... but it's presently Windows-only. So for now, I'll have to rely on you guys for testing that kind of thing.

Meanwhile, I've been writing up something resembling real documentation. It'll go up on the site when the new version rolls out. To put a halt to the suspense, and to give myself a deadline, I'm officially announcing that this Wednesday, November 3, will be the release date. Unless I am too depressed by the U.S. election results (or election fiasco, whichever comes first), and end up getting stoned. But seriously, though: Wednesday!
 
Old 11-02-2004, 06:07 AM   #107
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
Haha, nice.
 
Old 11-02-2004, 01:46 PM   #108
oldstinkyfish
Member
 
Registered: Nov 2003
Posts: 148

Rep: Reputation: 15
Just so you know, I did the command line only script, and it went off with out a hitch.

That is to say i converted divx to svcd while I slept!
 
Old 11-02-2004, 02:43 PM   #109
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Original Poster
Rep: Reputation: 48
Quote:
Originally posted by oldstinkyfish
Just so you know, I did the command line only script, and it went off with out a hitch.

That is to say i converted divx to svcd while I slept!
Glad to hear it! Isn't it nice to be able to get work done while you're sleeping? Maybe someday this suite will be powerful enough that you'll be able to drag-and-drop a bunch of videos onto a DVD icon, and have a freshly-brewed cup of DVD (in your computer's cup holder) when you wake up the next morning.

I'm touching up the 'idvid' script today; I found out that ffmpeg usually reports more accurate running times than mplayer, so it'll use ffmpeg if it's available. The tovid script will also use this approach, to help give better estimates of encoding time. Some other touch-ups and a few more tests, and it'll be ready to release tomorrow.
 
Old 11-02-2004, 03:08 PM   #110
oldstinkyfish
Member
 
Registered: Nov 2003
Posts: 148

Rep: Reputation: 15
Quote:
Originally posted by wapcaplet
Glad to hear it! Isn't it nice to be able to get work done while you're sleeping? Maybe someday this suite will be powerful enough that you'll be able to drag-and-drop a bunch of videos onto a DVD icon, and have a freshly-brewed cup of DVD (in your computer's cup holder) when you wake up the next morning.
That would put me out of a job! Ha ha! My friends would like that, as would the GNU community1
 
Old 11-02-2004, 03:50 PM   #111
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
Quote:
I found out that ffmpeg usually reports more accurate running times than mplayer, so it'll use ffmpeg if it's available. The tovid script will also use this approach, to help give better estimates of encoding time. Some other touch-ups and a few more tests, and it'll be ready to release tomorrow.
Are you using ffmpeg just for the timing part or encoding as well?
 
Old 11-02-2004, 04:02 PM   #112
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Original Poster
Rep: Reputation: 48
Quote:
Originally posted by sk545
Are you using ffmpeg just for the timing part or encoding as well?
Just for the timing part, right now (and then, only if it's installed). If it's not installed, it'll just use the duration reported by mplayer (which may be less accurate). The only thing really affected is the progress indicator.
 
Old 11-02-2004, 04:05 PM   #113
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
sounds good. I like the way you're approaching this (if its there use it, if not then fall back to something else).
 
Old 11-02-2004, 11:34 PM   #114
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Original Poster
Rep: Reputation: 48
Just a quick status report: I've done some last-minute debugging, cleanup and other stuff. tovid's output looks much more reasonable now; all unnecessary output is redirected to a log file, which is deleted when the script is done (unless something goes wrong, in which case most of the time it's caught and the log file is saved for viewing). New features:
  • much prettier output
  • ffmpeg, if available, for running-time estimation
  • multiprocessor support, if available
  • progress indicator - fairly accurate. Takes a few minutes to level out, but it's self-correcting and should get more accurate as encoding continues
  • stats and encoding time printed after completion
  • stats saved to ~/.tovid/stats
  • always use the denoiser (unless there turns out to be a good reason not to)
  • estimate space required for encoding, and prompt if there does not appear to be enough
  • hopefully-better sub-shell execution for running several piped encoding processes at once (may make -twopass more stable, but this is unverified right now)
  • probably some other stuff that I forgot...

The other components are pretty much the same, though 'idvid' has been slightly improved. I may tweak the others before release tomorrow.
 
Old 11-02-2004, 11:57 PM   #115
oldstinkyfish
Member
 
Registered: Nov 2003
Posts: 148

Rep: Reputation: 15
I found a *nix site for kvcd , seems he has a script made, I dont program, so I dont know if its any good. Anywho, here's the link. http://members.chello.nl/dkoppenaal/kvcd.html
 
Old 11-03-2004, 12:39 PM   #116
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Original Poster
Rep: Reputation: 48
I will check it out.

Meanwhile, there's a nice article on NewsForge about SVCD authoring. Might be handy for some of you who have needs that tovid doesn't meet yet (though I plan to study the article and see if I can glean some good features from it for next time).
 
Old 11-03-2004, 02:44 PM   #117
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
Quote:
Just a quick status report: I've done some last-minute debugging, cleanup and other stuff. tovid's output looks much more reasonable now; all unnecessary output is redirected to a log file, which is deleted when the script is done (unless something goes wrong, in which case most of the time it's caught and the log file is saved for viewing). New features:
Sounds very nice.
Quote:
I found a *nix site for kvcd , seems he has a script made, I dont program, so I dont know if its any good. Anywho, here's the link. http://members.chello.nl/dkoppenaal/kvcd.html
I'll try it out and see how it goes. Hopefully its not a 'dead' script.
Quote:
Meanwhile, there's a nice article on NewsForge about SVCD authoring. Might be handy for some of you who have needs that tovid doesn't meet yet (though I plan to study the article and see if I can glean some good features from it for next time).
Good article, and a perfect example of how much pain in the ass the process could be without scripting, etc. I mean, cmon, i don't want to learn the entire structure of a xml file to be able to make a menu. It should 'just work.'

/edit: Tried the divx2kvcd script, and it didn't work for me. It hangs, and i have to kill it with 'Ctrl-C', which gives the following output:

EOF encountered in a comment.
(standard_in) 1: parse error
(standard_in) 1: parse error
EOF encountered in a comment.
(standard_in) 1: parse error
(standard_in) 1: parse error
EOF encountered in a comment.
MEncoder 1.0pre5-3.3.5 (C) 2000-2004 MPlayer Team

I mean is it supposed to give some kind of output so that we know its working or is it working in the background silently?

It might work with an older mplayer/mencoder, but doesn't work with the one i have above. Plus i don't think we should be using mencoder since mjpegtools are considered far better for that (like the docs say). One more thing about the script is that it has too many options in it that could be turned off and on. I don't like that personally at all, but thats just me.

Last edited by sk545; 11-03-2004 at 03:21 PM.
 
Old 11-03-2004, 03:25 PM   #118
oldstinkyfish
Member
 
Registered: Nov 2003
Posts: 148

Rep: Reputation: 15
Like I said Im not a programmer, maybe you'll find something better for kvcd later.
 
Old 11-03-2004, 03:29 PM   #119
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Original Poster
Rep: Reputation: 48
Quote:
Originally posted by sk545
Good article, and a perfect example of how much pain in the ass the process could be without scripting, etc. I mean, cmon, i don't want to learn the entire structure of a xml file to be able to make a menu. It should 'just work.'
Amen to that. There are several other such guides out there (which helped me a lot getting started with tovid), but they're each varying degrees of age, relying on older software versions with a different syntax, and each using different approaches. I think it's good (it shows there's always more than one way to sed a cat in Linux) but each approach has a weakness: the weakness of using transcode to convert the video (as this guide does) is that transcode supports fewer formats than mplayer does. With any luck, tovid will help draw together the best of each approach and make the whole process a lot less painful, even if it still does require some command-line familiarity.

I'm still doing some debugging; for the most part, everything seems to be working, but I've had a couple strange partially-aborted encodings, and am not sure why. So it'll probably be sometime later this evening that the new version is up.
 
Old 11-03-2004, 04:51 PM   #120
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
Quote:
Like I said Im not a programmer, maybe you'll find something better for kvcd later.
Yes, i will look around too to find something that works. But kvcd is definetly cool.
Quote:
the weakness of using transcode to convert the video (as this guide does) is that transcode supports fewer formats than mplayer does. With any luck, tovid will help draw together the best of each approach and make the whole process a lot less painful, even if it still does require some command-line familiarity.
Hope thats how tovid stays, and it is already quite unique in that aspect.
 
  


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
Convert AVI to either DVD, VCD or SVCD format linux-rulz Linux - General 13 12-27-2011 01:29 PM
XVID, VCD, SVCD and so on. How to?? Thakowbbery SUSE / openSUSE 7 10-31-2005 03:39 PM
Encoding video for VCD and DVD wapcaplet LinuxQuestions.org Member Success Stories 3 08-01-2004 01:03 PM
SVCD, VCD, DVD editing asalford Linux - Software 19 07-16-2004 04:47 PM
converting *.avi file to *.vcd (or svcd) zstingx Linux - General 1 10-07-2003 06:44 AM

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

All times are GMT -5. The time now is 02:33 AM.

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