Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th December 2002, 11:12   #1  |  Link
biersauf
Registered User
 
Join Date: Jul 2002
Location: Germany
Posts: 24
Which encoder?

hey

1) which encoder are you using? there are two avaible at the moment: transcode and mencoder. i just want to want, which is the best atm, which is more powerful, which is faster?

2) do you know other/better gui's than dvd::rip?
biersauf is offline   Reply With Quote
Old 7th December 2002, 12:52   #2  |  Link
blixi
Registered User
 
Join Date: Apr 2002
Posts: 41
to 1) I use mencoder, cause :
-really fast on commom DVDs/other material
-I've used it a lot and know at least a littlebit what I'm
doing

to 2) ever tried kmencoder ?

But it is better to do it on the shell. You have more options, so you have more control. For encoding advices search the mplayer-mailinglist-archiv and the site of moritz. Before a week he wrote a really nice guide on bitrate/resolution/quality decisions.

transcode I've never tried, but if anyone would tell me it is fast, makes easy a good quality or have other arguments for it. Please speak, I would give it another try then.

Greets

Steffen
blixi is offline   Reply With Quote
Old 7th December 2002, 13:25   #3  |  Link
mean
Registered User
 
Join Date: Jan 2002
Posts: 206
If you are used to something more graphical you might want to try this
http://fixounet.free.fr/avidemux/how...g_to_Divx.html

You will need the latest beta snapshot (23-9.tgz)

This part is still young but seems to work nicely.

As far as speed is concerned, it should be about the same as transcode, but inferior to mencoder by a relatively large amount.

Plus you will need to click a lot throught GUI stuff
mean is offline   Reply With Quote
Old 7th December 2002, 14:29   #4  |  Link
blixi
Registered User
 
Join Date: Apr 2002
Posts: 41
But avidemux is needed/should be used for merging and cutting avi's. And since you just streamcopy then, it should be fast . The next thing to try. I'm just downloading gstreamer + all available plugins (93 MB , a lot more than I thought . But festival seems to be a really big one :
3050K .......... .......... .......... .......... .......... 11%
)

Greets

Steffen
blixi is offline   Reply With Quote
Old 7th December 2002, 18:32   #5  |  Link
biersauf
Registered User
 
Join Date: Jul 2002
Location: Germany
Posts: 24
where can i find the encoding options for xvid? there is a file for transcode, but also for mencoder??

did you tried menvcd? its just a script based on mencoder an can encode (s)vcds with mencoder.
biersauf is offline   Reply With Quote
Old 7th December 2002, 20:44   #6  |  Link
Suzahara
Penguin Pilferer
 
Suzahara's Avatar
 
Join Date: Jun 2002
Posts: 163
Quote:
Originally posted by blixi
But avidemux is needed/should be used for merging and cutting avi's. And since you just streamcopy then, it should be fast . The next thing to try. I'm just downloading gstreamer + all available plugins (93 MB , a lot more than I thought . But festival seems to be a really big one :
3050K .......... .......... .......... .......... .......... 11%
)

Greets

Steffen
What sorts of plugins are available for gstreamer? 93MB of plugins is very encouraging

Video encoding was the last major thing that keeps me from putting linux on my computer, mostly because of the lack (that I know of) of (good?) plugins, not because of the lack of encoding tools. I also wonder how most of these plugins compare to avisynth's plugins. If avisynth were ported to *nix, that would be a major step in making *nix a major player in the (amateur?) video world.

Quote:
did you tried menvcd? its just a script based on mencoder an can encode (s)vcds with mencoder.
I'm glad there's an (s)vcd tool as well, I'm starting to get into svcds and didn't know if there was a good tool for it.

Last edited by Suzahara; 7th December 2002 at 20:47.
Suzahara is offline   Reply With Quote
Old 8th December 2002, 01:19   #7  |  Link
blixi
Registered User
 
Join Date: Apr 2002
Posts: 41
these are the ones i downloaded:
/home/rpms/gstreamer-0.4.2-3mdk.i586.rpm /home/rpms/gstreamer-libdvdread-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-a52dec-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-mad-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-aalib-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-mikmod-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-alsa-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-mpeg-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-arts-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-oss-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-artsd-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-plugins-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-audio-effects-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-plugins-devel-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-audiofile-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-qcam-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-audio-formats-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-raw1394-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-avi-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-SDL-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-cdparanoia-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-sid-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-colorspace-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-udp-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-dv-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-v4l-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-dxr3-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-vcd-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-esound-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-video-effects-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-flac-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-videosink-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-flx-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-visualisation-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-GConf-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-vorbis-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-gnomevfs-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-xvideosink-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-gsm-0.4.2-7mdk.i586.rpm /home/rpms/gstreamer-yuv4mjpeg-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-httpsrc-0.4.2-7mdk.i586.rpm /home/rpms/libgstgconf0.4.2-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-jack-0.4.2-7mdk.i586.rpm /home/rpms/libgstplay0.4.2-0.4.2-7mdk.i586.rpm
/home/rpms/gstreamer-jpeg-0.4.2-7mdk.i586.rpm /home/rpms/libgstreamer0.4.2-0.4.2-3mdk.i586.rpm
/home/rpms/gstreamer-ladspa-0.4.2-7mdk.i586.rpm /home/rpms/libgstreamer0.4.2-devel-0.4.2-3mdk.i586.rpm


and this is why I will try it:
http://gstreamer.net/apps/gst-editor/

looks awfull
blixi is offline   Reply With Quote
Old 9th December 2002, 23:44   #8  |  Link
blixi
Registered User
 
Join Date: Apr 2002
Posts: 41
I didn't get that gst-editor to run and I reallay don't want compile all by myself. Think I'll wait a bit.

But I found a really nifty little-tool for dvd-ripping.
It is called acidrip and it is based on mplayer/mencoder. So it rips directly from dvd and is really fast. It is small, easy to get it running , definitly something that makes the work easier.

acidrip and lsdvd - http://sourceforge.net/projects/acidrip/

And a install Howto for noobs:
http://www.jabentley.com/docs/acidrip-howto.html

Greets

Steffen
blixi is offline   Reply With Quote
Old 20th December 2002, 04:18   #9  |  Link
abatis
Middle-aged Member
 
Join Date: Sep 2002
Posts: 96
Thanks for the links to acidrip. I am testing it out on RH8.
abatis is offline   Reply With Quote
Old 6th January 2003, 01:40   #10  |  Link
madluther
Registered User
 
Join Date: Oct 2001
Location: The other side of the Black Stump
Posts: 83
Using wine is one possibility for an encoder solution

Linux purists may flame for this, but it works. See screenshot for an example.
madluther is offline   Reply With Quote
Old 6th January 2003, 13:52   #11  |  Link
Bonzo
Registered User
 
Join Date: Jun 2002
Location: Sevilla, España.
Posts: 27
What the hell?! How?!

I've tested CCE with Wine some months ago and it didn't work!!

Which version of Wine are you using? Which version of CCE?
I already have tested Virtual Dub and it didn't work too

I usually rip from DVD to SVCD and I use this chain of programs and codecs:

DVDDecrypter 3.x
DVD2AVI 1.85
Avisynth 2.07/2.5 (with many external plugins)
Virtual Dub 1.4.x
HuffYUV loseless codec
Cinema Craft Encoder 2.50 (for MPG2 video)
BeSweet 1.4 (for MP2 audio)
BBMPG (video/audio muxer)
SubRip (multiformat subtitle ripper)
WinSubMux (SVCD/CVD subtitles muxer)
VCDEasy 1.1.x (VCDImager front end)
ChapterXtractor (extract chapters entry points in DVD for recreating them in the SVCD)
Fireburner 2.7 (burns CUE/BIN images)

DVDDecrypter -> I don't know if it works under Wine but I don't mind very much because I know that there are other linux rippers and my linux distro (Mandrake 9.0) can't write onto a NTFS partition (where I store the DVD files).

DVD2AVI -> I have to test it undser Wine, but as I've seen in the picture it seem to work...

Avisynth -> Altough Avisynth is a GPL project there is no version for linux, it is entirely a Windows project (as far as I know). Avisynth is a vital part of my encoding process: many times I need to deinterlace, denoise and resize the DVD source for an optimal SVCD encoding. There is no program that can do that with the quality of Avisyth yet.

VirtualDub -> In my version of Wine it does not work, but I've read in this forum that it worked in earlier versions and that the Wine development team are fixing this problem. I use Vdub to create an intermediate AVI encoded in the HuffYUV loseless codec.

HuffYUV codec -> It's a Video for Windows codec; it won't work. I need a loseless codec for an intermediate AVI containing the processed film with the Avisynth filters. Doing 9 passes with CCE while deinterlaing, denoising and resizing on each pass can take DAYS in my Athlon 1333!

Cinema Craft Encoder -> It didn't work when I tested it, but I'll try again now I know it worked for someone. Anyway, It's the best MPG2 encoder available for PCs due to it multipass encoding.

BeSweet -> Not tested by me. Is there another audio encoding solution under Linux? For SVCD it's needed high quality MP2 encoding with Dolby Surround downsampling (as I have with BeSweet).

BBMPG -> I've not tested it under Wine. Does anyone if it works with Wine or if there is another Linux native alternative that can mux SVCD compliant MPGs with 2 audio tracks and have 3:2 pulldown detection?

SubRip -> Neither tested under Wine by me. Does it works under Wine? There is a good Linux subtitle ripper capable to extract to a SVCD compliant format?

WinSubMux -> Has anyone tested it with Wine? Not me. This program is to mux the subtitles in the MPG stream in the SVCD or CVD compliant standards. Any native Linux alternative?

VCDEasy -> Altough I've not tested it with Linux yet I think that it just some kind of GUI or front end for VCDImager, which have a linux version.

ChapterXtractor -> Just a simple IFO chapter extractor. May work with Wine.

Fireburner -> There is a native Linux version, but works a lot worse than the Windows version. Under Linux the burning process often (well the truth is that ALWAYS in my system) ends in a buffer underrun. With modern burners it is not a problem anymore, but I'm still asking myself why this happens under Linux and not under Windows...

Well, may be for DivX and XviD encoding there are easy straigh forward encoding solutions, but as far as I know SVCD encoding is another history...

Bonzo.
__________________
¿El mejor lugar del mundo? Allí donde nacen los sueños...
Bonzo is offline   Reply With Quote
Old 6th January 2003, 15:54   #12  |  Link
madluther
Registered User
 
Join Date: Oct 2001
Location: The other side of the Black Stump
Posts: 83
The version of wine was compiled from the wine-20021219.tar.gz source tarball available at winehq.org

Other package versions are as follows:

CCE 2.50 SP
avisynth 2.06
mpeg2dec ? (the version from doom9's download page)
DVD2AVI 1.76-fr

Currently this is running on a dual boot system (linux/win2k), wine is configured to use my win2k partition as its C: drive via a mount point. Presumably its reading registry entries from the existing win2k partition for avisynth to work, the real test will be to build and configure wine without a win2k partition present and using the wine registry and dll's. This is what im working on now. When/if that's completed succesfully and tested ill post whats required to set it up.

Regards Mad.
madluther is offline   Reply With Quote
Old 6th January 2003, 18:45   #13  |  Link
Bonzo
Registered User
 
Join Date: Jun 2002
Location: Sevilla, España.
Posts: 27
It's your Win2K in a NTFS partition?

It's your Win2K in a NTFS partition? When I run programs from my Win2K I get a lot of errors due to tha fact that my Linux can't write onto a NTFS partition. Can your distro do it? Mine is Mandrake 9.0

I use another Win98SE partition (FAT32) as drive C: but most programs I use are on the Win2K partition (physically stored mostly but registered in Win2K all of them).

Bonzo.
__________________
¿El mejor lugar del mundo? Allí donde nacen los sueños...
Bonzo is offline   Reply With Quote
Old 6th January 2003, 19:12   #14  |  Link
madluther
Registered User
 
Join Date: Oct 2001
Location: The other side of the Black Stump
Posts: 83
My Win2k partition is NTFS and its mounted readonly, the only user that can really use it is 'root', any other user will fail. As for my distro, a better way to describe it as a custom installation rather than a distro www.linuxfromscratch.org and beyond.linuxfromscratch.org will explain why.
madluther is offline   Reply With Quote
Old 7th January 2003, 01:01   #15  |  Link
cjv
Registered User
 
Join Date: Jul 2002
Location: Canada
Posts: 245
That's a great screenshot. Are all those programs stable? Even CCE?
Quote:
Originally posted by madluther
the real test will be to build and configure wine without a win2k partition present and using the wine registry and dll's.
Unfortunately, this doesn't work with the latest versions of CCE and/or VDubMod. Latest CCE will not even install. I was able to unpack it manually and run it, but it created up a totally screwed up (but still valid) MPEG-2 file with green lines all over it??

VDubMod will eventually work, but it won't recognize and compress to XviD (vfw). Latest avisynth will not work either.

Of course it's possible to get almost anything to run on Wine (I have spent many hours/days in the past) with enough trial-and-error. But for a quick install, or for someone who does not know Linux really well, it may be a difficult road.

cjv
cjv is offline   Reply With Quote
Old 10th January 2003, 23:38   #16  |  Link
blixi
Registered User
 
Join Date: Apr 2002
Posts: 41
Will have a go at CCE again. I tried it with winex, but it seems winex does not provide avifilesupport (at least I didn't get it in) What is the speed of CCE is it comparable to windows ? And the next question: can it read to rawgrb-avis ?

Waiting for a success story

blixi
blixi is offline   Reply With Quote
Old 11th January 2003, 03:41   #17  |  Link
madluther
Registered User
 
Join Date: Oct 2001
Location: The other side of the Black Stump
Posts: 83
Here's a quick run down of what's needed to use CCE/avisynth/mpeg2dec under wine without a windows partition present.

This setup has only been tested on wine-20021219. rpm's , deb's and source can be found at http://www.winehq.org

Two native (windows) dlls are needed, msvcrt.dll and mciavi.drv. Win98 versions are prefered but Win2k versions do work. The default wine config file (from a source code install) already has the dll overrides correctly configured for these dlls.

the entries should be as follows

[DllOverrides]
"msvcrt" = "native, builtin"
"mciavi.drv" = "native, builtin"


Installing Avisynth. (tested with avisynth 2.06)

At a shell prompt run the following.

wine AviSynth_206.exe

It should install with no problems.

copy mpeg2dec to the avisynth plugin directory.



DVD2AVI Install (tested with dvd2avi 1.76-frm)

unpack it to c:\program files\dvd2avi in the wine directory tree

paste the following to a text file. eg. dvd2avi.reg

[HKEY_USERS\root\Software\VFPlugin]
"DVD2AVI"="C:\\Program Files\\dvd2avi\\DVD2AVI.vfp"

then run wine regedit dvd2avi.reg

For an unknown reason dvd2avi doesnt create the reg entry when it is first run as it does in windows, oddly enough tmpgenc does create a reg entry in this key when it is first run.


CCE Install (tested with Ver 2.50.01.00)

run wine cspte250.exe



At this point you should be able to run dvd2avi and create .d2v files, create .avs scripts and encode them with cce.

Bugs problems etc.

The biggest problem (on my lowly rig) is there is no YUY2 color space display support, this means no video previews in the CCE source frame dialog box or the advanced settings dialog box, also, dvd2avi will only display previews when RGB color space is selected from the video options . This does not affect encoding, only previews. You can select YUV 4:2:2 color space in dvd2avi and encode successfully from the resulting .d2v file.

The encoder settings dialog box doesnt re-draw the bitrate settings correctly when a change is made to the Video Encoding mode radio buttons. A simple work around is to select the desired radio button then close and reopen the encoder settings dialog box.

Observations:

I've experienced no stabilty problems with this setup so far. CCE runs at a comparable speed to a windows install. The mpv files are valid and look fine when played. The longest encode attempted so far was a 60 minute multipass encode during which memory usage was closely monitored, I found no evidence of memory leaks.

DVD2AVI runs slower than windows when creating the .d2v file probably due to extra I/O overhead of running within the wine environment.

Enjoy, Mad.
madluther is offline   Reply With Quote
Old 11th January 2003, 12:24   #18  |  Link
mean
Registered User
 
Join Date: Jan 2002
Posts: 206
great explanation !
mean is offline   Reply With Quote
Old 15th January 2003, 00:38   #19  |  Link
redcane
Registered User
 
Join Date: Apr 2002
Posts: 59
I've found transcode to be very useful for everything I want to do.
redcane is offline   Reply With Quote
Old 16th January 2003, 17:26   #20  |  Link
madluther
Registered User
 
Join Date: Oct 2001
Location: The other side of the Black Stump
Posts: 83
@ Bonzo

A couple of apps I have tested under wine.

pulldown.exe, works well. source code is available, so a linux version should be possible.

vstrip. (my favorite ripper) works well. source is also available, a quick test compile with gcc 3.2 errored out, will investigate building from source when time permits. (winaspi.dll and wnaspi32.dll need to be placed in the wine \windows\system directory, tested with the dll's from forceaspi 1.7)

ifoedit 0.95. works well, able to use the use the dvd author function successfully.

ac3 delay corrector. works well.

Mad.

Last edited by madluther; 16th January 2003 at 18:42.
madluther is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.