Avi_SteamSetFormat() : couldn't set format : une soluce !

Questions / réponses pour le rippack uniquement !

Modérateur : Modérateurs

Avatar de l’utilisateur
NEXUS6
Sâge !
Sâge !
Messages : 1798
Inscription : ven. nov. 01, 2002 9:43 am

Avi_SteamSetFormat() : couldn't set format : une soluce !

Message par NEXUS6 »

Here is my solution to fix the message avi_fileopen() : Avi_SteamSetFormat() : couldn't set format! with DivX 5.x 2 Pass Encoding.

DivX Multipass and and certification profiles don't work with Mpeg2Avi,then i disable profiles by the DivX CLI (-profile 0) and i configure VBV Settings same to the Home Theatre profile (-vbv 4000000,3145728,2359296) and instead of Multipass, i use first the Original 2 Pass-1st Pass (-b21) and then the Original 2 Pass-2nd Pass.

To Automate encrypting, i use DivXAuto5.exe Modified by Aki-SoftWare in a batch File like this :

---------------------- START OF FILE --------------------------------------------------
@Echo Off
CLS
Echo -------------------------------------------------------------
Echo Encodage en 2 passes avec Mpeg2Avi et Codec DivX 5.0.5 Pro
Echo -------------------------------------------------------------

Start "DivXAuto 5 pass 1" C:\Video\DivXAuto5.exe WI00:"Choose a CODEC - YV12" CB00:"DivX Pro 5.0.5 Codec" BT04: WI01:"DivX codec properties" ED04:"-b21 1065 -psy 2 -key 250 -log 'c:\video\divx.log' -mv 'c:\video\mvinfo.bin' -d 1 -b -g -sc 50 -pq 5 -vbv 4000000,3145728,2359296 -profile 0" BT11: WI00: BT02: QU00:

Echo.
Echo -------------------------------------------------------------
Echo -------- Première Passe - Ecriture du Fichier .log ----------
Echo -------------------------------------------------------------
Echo.

Start /wait "Mpeg2Avi pass 1" C:\Video\m2apx3g.016.exe -b "C:\Video\Rip\rip.lst" -f2 -q0 -r1 -p 4 4 -a -# 0 100 -1 656 384 -3X 704 -3Y 400 -o8 C:\Video\Video_DivX.avi

Start "DivXAuto 5 pass 1" C:\Video\DivXAuto5.exe WI00:"Choose a CODEC - YV12" CB00:"DivX Pro 5.0.5 Codec" BT04: WI01:"DivX codec properties" ED04:"-b22 1065 -psy 2 -key 250 -log 'c:\video\divx.log' -mv 'c:\video\mvinfo.bin' -d 1 -b -g -sc 50 -pq 5 -vbv 4000000,3145728,2359296 -profile 0" BT11: WI00: BT02: QU00:

Echo.
Echo -------------------------------------------------------------
Echo -------- Deuxième Passe - Ecriture du Fichier .avi ----------
Echo -------------------------------------------------------------
Echo.

Start /wait "Mpeg2Avi pass2" C:\Video\m2apx3g.016.exe -b "C:\Video\Rip\rip.lst" -f2 -q0 -r1 -p 4 4 -a -# 0 100 -1 656 384 -3X 704 -3Y 400 -o8 C:\Video\Video_DivX.avi

CLS
EXIT
--------------------------- END OF FILE ---------------------------------------------

It work fine for DivX 5.0.2, 5.0.3, 5.0.4, 5.0.5 etc...

Maybe you can reuse that method to fix the message avi_fileopen() : Avi_SteamSetFormat() : couldn't set format! provided by mpeg2avi with DivX Multipass.


source : forum simpledivx
lonefrog
Débutant
Messages : 1
Inscription : lun. juil. 28, 2003 12:03 pm

bug fix of Avi_SteamSetFormat() : couldn't set format

Message par lonefrog »

Thanks for the tip, but this is not really easy to apply for non specialists!!!
:???:
Bruce, if I understand it well this bug only occurs with rippack + DivX5.0.5 (my configuration and I have the problem). It does not occur with previous versions of the codec. Would it be possible to create a patch that users would simply run to solve the problem? I guess that if the solution is not easy enough, users will turn away from rippack, that would be bad (because myself and many others really LIKE this programm!!!).

Thanks a lot for all users!!!!


Lonefrog

:love:
Avatar de l’utilisateur
Schummy
Expert
Expert
Messages : 55
Inscription : jeu. août 22, 2002 6:23 pm
Localisation : Portsall
Contact :

Message par Schummy »

le problème principal pour rippack c'est que beaucoup d'autres programmes l'ont dépasé et que par conséquant à moins d'une très prochaine sortie du rippack XP, le codec divx 6 sera sorti que le soft en sera resté au 5.02 ...

Mais bon Bruce nous l'a promis, le rippack XP sera une bombe... le problème c'est que pour le moment elle est à retardement...

Alors, ce temps sera-t-il bénéfique...
"that is the question" !

:jap:

====================

the principal problem for rippack it is that many of other programs are now better and that by conséquant at less than one very forthcoming exit of rippack XP, the codec divx 6 will have left that the software will have remained about it to the 5.02... But Bruce promised it to us, rippack XP will be a bomb... the problem it is that for the moment it is with delayed-action... Then, this time will be it beneficial... "that is the question"!

:jap:
le plus pauvre des Hommes aura la plus grande des richesses durant l'éternité: les souvenirs !
Avatar de l’utilisateur
bruce
Superviseur
Superviseur
Messages : 1409
Inscription : mer. avr. 18, 2001 2:00 am
Localisation : In da beat we trust !
Contact :

Message par bruce »

Intéressant de savoir qu'il existe un "work-around" mais trop galère à implémenter dans un code que je ne peu plus compiler depuis un moment...

Je sais que le rippack XP se fait attendre, en attendant d'autres excellents softs existent ;)

<=>

Quite interesting to know that there is a "work-around", but way to complicated to implement this in a code I can't even compile...

I know that the Rippack XP is long-awaited, but in the mean time there are some great softwares around ;)
A+++
Bruce aka Lemmings
www.bheller.com
Répondre