[MPlayer-users] encoding SVCD from divx avi

Christian Berger einStein at donau.de
Thu Jul 3 13:11:18 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Mittwoch, 2. Juli 2003 22:14 schrieb Lenart Jozsef:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi !
>
> I want to make an svcd from an divx avi. How can i make it ?
> I've tried it (mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video
> -oac copy -o xxx.mpeg xxx.avi)
> It does well, but in the resulting mpeg has no sound !
> Where is the error ?

Well you'd need to use a better mpeg encoder like mpeg2enc, then you should 
use MPlayer with -vo yuv4mpeg which will write to "stream.yuv". I use the 
following script for creating VCDs in 16:9 mode
(parameters are vdrdir and resulting file)
#!/bin/bash
mkdir /daten/temp/dvb
cd /daten/temp/dvb
rm temp.mp2
cat $1/0*.vdr >>temp.mp2
mkfifo stream.yuv
nice -+19 mplayer temp.mp2 -vo yuv4mpeg -ao pcm -vop 
scale=352:288,hqdn3d,lavcdeint,crop=704:432:0:72 -af resample=44100:0:2 &
nice -+18 cat stream.yuv | mpeg2enc -f 1 -n p -a 3 -o video.mpeg
nice -+19 toolame -b 224 audiodump.wav
mplex -f 1 -o $2 video.mpeg 
audiodump.mp2casandro at casandro:~/projekte/dvdrecode>


> BTW what is the correct format for the svcd ? (480x480, mpeg1 ???, audio
> codec ?)

No idea, but it's MPEG2 and I think 480x576 (yes more lines than columns) and 
mpeg2

> Thanks,
>     Jocc

Servus
  Casandro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/BA9lpVm6o7yZBc8RAomoAJ9/iLQl+bBSqdZbH4ePF9k3nuUkBACdGQmy
AsgHi9pO3pz6AYo3ZieL20Y=
=Wbbc
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list