Quantcast FFmpeg: How to Make K(s)VCD in Linux ??? - digitalFAQ.com Forums [Archives]
  #1  
12-01-2003, 05:39 AM
otzi otzi is offline
Free Member
 
Join Date: Nov 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
somebody has some link of this howto?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
12-01-2003, 07:28 AM
russiansexpat russiansexpat is offline
Free Member
 
Join Date: Nov 2003
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
There is none so far. I made a script, thanks to paranouei.
http://dvdripping-guid.berlios.de/fo...opic.php?t=148
__________________
are you ready for year 2038?
x+2038-1970 > (2^31+1)/(365.25*24*3600)
/dev/mem < /dev/null
Reply With Quote
  #3  
12-02-2003, 01:28 AM
tetra tetra is offline
Free Member
 
Join Date: Oct 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #4  
12-02-2003, 07:27 AM
otzi otzi is offline
Free Member
 
Join Date: Nov 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
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
what line command you used for this?
Reply With Quote
  #5  
12-02-2003, 07:45 AM
russiansexpat russiansexpat is offline
Free Member
 
Join Date: Nov 2003
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts


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
__________________
are you ready for year 2038?
x+2038-1970 > (2^31+1)/(365.25*24*3600)
/dev/mem < /dev/null
Reply With Quote
  #6  
12-02-2003, 07:52 AM
tetra tetra is offline
Free Member
 
Join Date: Oct 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #7  
12-02-2003, 08:32 AM
otzi otzi is offline
Free Member
 
Join Date: Nov 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
I tried it but receive segmentation fault ...
Reply With Quote
  #8  
12-02-2003, 08:46 AM
otzi otzi is offline
Free Member
 
Join Date: Nov 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
ops ....

i have recompiled the mplayer and its works

thanks ...

huahau

thx again
Reply With Quote
  #9  
12-02-2003, 09:10 AM
otzi otzi is offline
Free Member
 
Join Date: Nov 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Can i make ksvcd keep aspect ratio ... my video is wide screen and this script converts to full screen
Reply With Quote
  #10  
12-02-2003, 11:19 AM
russiansexpat russiansexpat is offline
Free Member
 
Join Date: Nov 2003
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
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.
__________________
are you ready for year 2038?
x+2038-1970 > (2^31+1)/(365.25*24*3600)
/dev/mem < /dev/null
Reply With Quote
  #11  
12-02-2003, 11:33 AM
russiansexpat russiansexpat is offline
Free Member
 
Join Date: Nov 2003
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
__________________
are you ready for year 2038?
x+2038-1970 > (2^31+1)/(365.25*24*3600)
/dev/mem < /dev/null
Reply With Quote
  #12  
12-03-2003, 02:29 AM
tetra tetra is offline
Free Member
 
Join Date: Oct 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #13  
12-03-2003, 02:56 AM
russiansexpat russiansexpat is offline
Free Member
 
Join Date: Nov 2003
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
--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
__________________
are you ready for year 2038?
x+2038-1970 > (2^31+1)/(365.25*24*3600)
/dev/mem < /dev/null
Reply With Quote
  #14  
12-03-2003, 03:04 AM
tetra tetra is offline
Free Member
 
Join Date: Oct 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #15  
12-03-2003, 08:26 AM
otzi otzi is offline
Free Member
 
Join Date: Nov 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #16  
12-03-2003, 09:25 AM
russiansexpat russiansexpat is offline
Free Member
 
Join Date: Nov 2003
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
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.
__________________
are you ready for year 2038?
x+2038-1970 > (2^31+1)/(365.25*24*3600)
/dev/mem < /dev/null
Reply With Quote
  #17  
12-03-2003, 01:53 PM
russiansexpat russiansexpat is offline
Free Member
 
Join Date: Nov 2003
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
http://www.kvcd.net/forum/viewtopic.php?t=7771
__________________
are you ready for year 2038?
x+2038-1970 > (2^31+1)/(365.25*24*3600)
/dev/mem < /dev/null
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
FFMPEG: Kvcd script for Linux/Unix fragmaster170 Video Encoding and Conversion 3 04-25-2006 04:24 PM
FFMPEG: DVDPatcher for Linux? bilu Video Encoding and Conversion 0 01-31-2004 08:23 AM
FFMPEG: Linux kvcd status (so far) japie Video Encoding and Conversion 20 11-28-2003 03:13 PM
FFMPEG: AVIsynth for Linux ak47 Video Encoding and Conversion 0 09-15-2003 07:48 PM
KVCD: Using templates in linux (transcode/ffmpeg) japie Video Encoding and Conversion 25 07-18-2003 02:23 PM

Thread Tools



 
All times are GMT -5. The time now is 09:23 AM  —  vBulletin Jelsoft Enterprises Ltd