En r�ponse � Jean Segers <[EMAIL PROTECTED]>:
Champi a �crit:
Je te conseille les scripts divx2vcd, divx2cvd, ou divx2svcd. Tu les trouveras �
http://dvdripping-guid.berlios.de/Divx-to-VCD_en.html
Ca fait tout le boulot, ya plus qu'� graver l'image avec cdrdao � la
fin :-)
Champi.
Ok, ca c'est pour des fichiers.avi Comment faire avec des fichiers.mpg ???
Ben en fait ces scripts, m�me si ils s'appellent "divx2*cd", on peut les utiliser avec n'importe quel format lisible par mplayer. Ils utilisent mplayer pour envoyer les donn�es � transcode. Donc je n'ai jamais essy� avec des *.mpg mais �a doit fonctionner.
Champi.
Ben non, ca marche pas!
[EMAIL PROTECTED] Video]$ divx2vcd ./test.mpg (ioaux.c) invalid filename or host "./test.mpg" (standard_in) 1: parse error (standard_in) 1: parse error (standard_in) 1: parse error (standard_in) 1: parse error (standard_in) 1: parse error *************** FILE INFO *************** Frame Size: x - FPS: Length: - Seconds: hours, minutes, seconds ./divx2vcd: [: too many arguments Video Output: 352x288 (standard_in) 1: parse error (standard_in) 1: parse error (standard_in) 1: parse error (standard_in) 1: parse error alto sin bordes: , con borde: transcode -i "./test.mpg" -V -x mplayer -y mpeg2enc,mp2enc -F 1 -Z 352x -Y -,0,-,0 --export_asr 2 -E 44100 -b 224 -o /home/jean/Lopster/Video/Pelicula (transcode.c) invalid filename or host "./test.mpg"
**** ERROR during transcoding. Code 1
En gratouillant le code de divx2vcd, je teste la commande directe:
[EMAIL PROTECTED] Video]$ vcdimager -t vcd2 -c test.cue -b test.bin test.mpg ++ WARN: initializing libvcd 0.7.12 [linux-gnu/i386] ++ WARN: ++ WARN: this is the UNSTABLE development branch! ++ WARN: use only if you know what you are doing ++ WARN: see http://www.hvrlab.org/~hvr/vcdimager/ for more information ++ WARN: INFO: scanning mpeg sequence item #0 for scanpoints... ++ WARN: mpeg stream will be padded on the fly -- hope that's ok for you! ++ WARN: packet length beyond buffer (pos = 2066 + size = 2030 > buflen = 2324) -- stream may be truncated or packet length > 2324 bytes! ++ WARN: bad packet at packet #813 (stream byte offset 1665024) -- remaining 684697604 bytes of stream will be ignored ++ WARN: autopadding requires to insert additional 224388 zero bytes into MPEG stream (due to 813 unaligned packets of 813 total) ++ WARN: INFO.{VCD,SVD}: assuming PAL-type resolution for track #0 -- are we creating a X(S)VCD? INFO: writing track 1 (ISO9660)... INFO: writing track 2, MPEG1, PAL UNKNOWN (352x288/29.97fps), audio[0]: l2/44.1kHz/224kbps/stereo ... finished ok, image created with 1488 sectors [00:19.63] (3499776 bytes)
Et l� ca semble marcher, mais non car il semble qu'il y aie un probl�me (non vu par mplayer...) de bad packet #813 et donc le fichier.cue produit ne fait que 3 MO alors que le test.mpg fait 650 MO...
Une petite recherche dans le man:mjpegtools m'informe que je peux convertir le mpg avec transcode, donc j'essaie:
[EMAIL PROTECTED] Video]$ transcode -V -o vcd_stream ./test.mpg warning: unused command line parameter detected (4/5) argc[4]=./test.mpg (unused) transcode v0.6.0 (C) 2001-2002 Thomas �streich [transcode] auto-probing source (null) (ok) [transcode] V: import format | unknown (V=null|A=null) [transcode] V: import frame | disabled [transcode] V: bits/pixel | 0.000 (unknown) [transcode] V: encoding fps | 25.000 [transcode] V: Y'CbCr | YV12/I420 [transcode] A: import format | 0x2001 AC3/A52 [ 0,16,0] [transcode] A: export format | 0x55 MPEG layer-3 [ 0,16,0] 128 kbps [transcode] A: bytes per frame | 0 (0.000000) [transcode] A: adjustment | [EMAIL PROTECTED] [transcode] no option -i found, reading from "/dev/zero" [transcode] no option -y found, option -o ignored, writing to "/dev/null" [import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null [export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null filling buffer ... done
Maintenant, ca mouline, ca mouline... et je croise les doigts pour qu'il ne soit pas en train de travailler dans le vide :-P
--
Jean
\\\!///
-(@ @)-
----------------------------oOO--(_)--OOo----------------------------
Jean Segers Venez r�ver -----> http://www.Demoiselles.com
26, rue du Pin http://www.Sadems.com
34190 Saint Bauzille de Putois http://it.mondelinux.org
France http://www.deveze.com
Gsm 06 86 12 49 15 http://www.cyberboutic.com
Tel&Fax 04 67 73 38 30 http://www.mondelinux.org
Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft? Rendez-vous sur "http://www.mandrakestore.com"
