digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   FFMPEG: How to make K(s)VCD in linux ??? (http://www.digitalfaq.com/archives/encode/6937-ffmpeg-how-make.html)

otzi 12-01-2003 05:39 AM

How to make K(s)VCD in linux ???
 
somebody has some link of this howto?

russiansexpat 12-01-2003 07:28 AM

There is none so far. I made a script, thanks to paranouei.
http://dvdripping-guid.berlios.de/fo...opic.php?t=148

tetra 12-02-2003 01:28 AM

I tested this, results are great quality and everything stays in sync.

SWEEEEEEEET!!!!!!!!!!!!!!

This is the only thing that has worked for me, thanks a million :D :D :D :D

otzi 12-02-2003 07:27 AM

Quote:

Originally Posted by tetra
I tested this, results are great quality and everything stays in sync.

SWEEEEEEEET!!!!!!!!!!!!!!

This is the only thing that has worked for me, thanks a million :D :D :D :D

what line command you used for this?

russiansexpat 12-02-2003 07:45 AM

:dark:

Typical encoding takes less than 2x movie length
with this -

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Celeron (Coppermine)
stepping : 10
cpu MHz : 952.304
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1900.54

tetra 12-02-2003 07:52 AM

Quote:

Originally Posted by otzi
what line command you used for this?

Code:

scriptname output-name movie.avi bitrate
i renamed the script to sexpat-ksvcd:
Code:

./sexpat-ksvcd 28days-mpeg ~/Movies/28_Days_Later.avi 620
which then spitted out a file
Code:

28days-mpeg00.mpg
and the cue/bin-files.

The movie I tested this with, is 1h 48min long, fits on a single CD (80min).
This is incredible, fast encoding (less than 3 hours) and really good picture quality, and works like a charm on my standalone DVD-player!

/tetra

otzi 12-02-2003 08:32 AM

I tried it but receive segmentation fault ...

otzi 12-02-2003 08:46 AM

ops ....

i have recompiled the mplayer and its works :D

thanks ...

huahau

thx again :D

otzi 12-02-2003 09:10 AM

Can i make ksvcd keep aspect ratio ... my video is wide screen and this script converts to full screen

russiansexpat 12-02-2003 11:19 AM

You can edit ASPECT variable just after a dash line.
#ASPECT="1.0000" # 1:1
ASPECT="1.3333" # 4:3
#ASPECT="1.7777" # 16:9
Note, that this variable does not scale output itself, it just tells
subsequent software scaler how to scale and also stores aspect flag for mplayer in mpeg file.
In order to do correct scaling with preserved aspect ratio for your DVD player, you have to take into account resolution
after scaling:
"The script is capable to scale into NTSC/PAL dimensions if the source is fit - width is used as a base to scale, so scaled height have to be within allowed height for NTSC or PAL."
Depends on your source and output resolution (variables WID and HEI you choose), the script adds black bands.
Ideally, you don't have them at all and still have original aspect ratio, but it is not always possible.
(standard resolutions -
VCD: 352*288 PAL, 352*240 NTSC
SVCD: 480*576 PAL, 480*480 NTSC.
Note that pixels on TV set are not square!)
Quality of final CD also depends on chosen bitrate, you put it in command line, so higher resolutions mean lower bitrates to fit CD that's why XVCD can be better qulity than SVCD because of higher bitrates.

russiansexpat 12-02-2003 11:33 AM

http://www.digitalfaq.com/archives/error.gif

tetra 12-03-2003 02:29 AM

Quote:

Originally Posted by tetra
[snip]
...
[/snip]
The movie I tested this with, is 1h 48min long, fits on a single CD (80min).
This is incredible, fast encoding (less than 3 hours) and really good picture quality, and works like a charm on my standalone DVD-player!

Damnit, watched the movie last night...it's only 100minutes long. Seems like vcdimager does this automatically:

Quote:

Originally Posted by vcdimager
++ WARN: SVCD/TRACKS.SVD: playing time value (6461 seconds) to great, clipping to 100 minutes

Anyone know how to fix this....?

/tetra

russiansexpat 12-03-2003 02:56 AM

--broken-svcd-mode enable non-compliant compatibility
mode for broken devices

--update-scan-offsets update scan data offsets in video
mpeg2 stream

Try --update-scan-offsets option in vcdimager.
Radical solution is to split mpeg file, and then run
vcdimager [options] first.mpg second.mpg

tetra 12-03-2003 03:04 AM

Quote:

Originally Posted by russiansexpat
--broken-svcd-mode enable non-compliant compatibility
mode for broken devices

--update-scan-offsets update scan data offsets in video
mpeg2 stream

Try --update-scan-offsets option in vcdimager.
Radical solution is to split mpeg file, and then run
vcdimager [options] first.mpg second.mpg

Thanks for the quick reply.

Noticed one really weird thing. If I play it on my standalone DVD-player, it stops there at 100 minutes. If I play it on my computer with MPlayer, I'm able to see full movie length.

I'll try the options you posted and will tell what happened.

/tetra

otzi 12-03-2003 08:26 AM

Quote:

Originally Posted by russiansexpat
You can edit ASPECT variable just after a dash line.
#ASPECT="1.0000" # 1:1
ASPECT="1.3333" # 4:3
#ASPECT="1.7777" # 16:9
Note, that this variable does not scale output itself, it just tells
subsequent software scaler how to scale and also stores aspect flag for mplayer in mpeg file.
In order to do correct scaling with preserved aspect ratio for your DVD player, you have to take into account resolution
after scaling:
"The script is capable to scale into NTSC/PAL dimensions if the source is fit - width is used as a base to scale, so scaled height have to be within allowed height for NTSC or PAL."
Depends on your source and output resolution (variables WID and HEI you choose), the script adds black bands.
Ideally, you don't have them at all and still have original aspect ratio, but it is not always possible.
(standard resolutions -
VCD: 352*288 PAL, 352*240 NTSC
SVCD: 480*576 PAL, 480*480 NTSC.
Note that pixels on TV set are not square!)
Quality of final CD also depends on chosen bitrate, you put it in command line, so higher resolutions mean lower bitrates to fit CD that's why XVCD can be better qulity than SVCD because of higher bitrates.



i have tested any modes and not work :(

russiansexpat 12-03-2003 09:25 AM

I have removed ASPECT variable from the script - to simplify and to avoid some confusion between aspect width/height and viewable aspect on TV or monitor.
The script now just preserve original aspect, and if you want to change aspect view on your monitor, use -aspect option from mplayer or other in your software player.

russiansexpat 12-03-2003 01:53 PM

:arrow: http://www.kvcd.net/forum/viewtopic.php?t=7771


All times are GMT -5. The time now is 06:32 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.