Can't convert to DVD from flv

Started by Mikhail, July 27, 2012, 03:57:54 PM

Previous topic - Next topic

Mikhail

Good day! I have a problem. The program can't convert to DVD from flv by the options:
Auto→Optical disk→DVD.
The next time an error appears (the log in attachment) and the programm closes.
Can anybody help me?

Jan Gruuthuse

If avidemux 2.5.# crashes every time when you open, if that is what your saying, try this:
use windows explorer and copy text below in its address bar: %appdata%\avidemux and delete its contents, It contains all settings the avidemux settings.

Mikhail

Quote from: Jan Gruuthuse on July 28, 2012, 05:50:47 AM
If avidemux 2.5.# crashes every time when you open, if that is what your saying, try this:
use windows explorer and copy text below in its address bar: %appdata%\avidemux and delete its contents, It contains all settings the avidemux settings.

I have done this, but thee are no any contens, see attachment...


Mikhail

So the folder "custom" was already empty

Jan Gruuthuse

not folder custom, all content of folder Avidemux: config <- delete
When crashing = by opening avidemux  / not while opening/loading video file
flv can have different codecs inside, if this is H.264 video and HE-AAC audio you better use avidemux 2.6. The dvd feature there is not enabled. Take note what dvd setting is doing in 2.5.6 and apply same changes in 2.6. When you have tweaked this setting to work in 2.6. Save as project. Main menu -> Tinypy Project: Save As Project. Edit the saved project an omit the part where video is loaded and markers are set. Delete lines similar to the bold ones

Quote#PY  <- Needed to identify #
#--automatically built--

adm = Avidemux()
adm.loadVideo("/media/DataB_SATA3/ToProcess/1Upstairs/NDR FS HH HD @200040_15JUL2012/NDR FS HH HD @200040_15JUL2012.trp")
adm.appendVideo("/media/DataB_SATA3/ToProcess/1Upstairs/NDR FS HH HD @200040_15JUL2012/NDR FS HH HD @200040_15JUL2012.001")
adm.appendVideo("/media/DataB_SATA3/ToProcess/1Upstairs/NDR FS HH HD @200040_15JUL2012/NDR FS HH HD @200040_15JUL2012.002")
adm.appendVideo("/media/DataB_SATA3/ToProcess/1Upstairs/NDR FS HH HD @200040_15JUL2012/NDR FS HH HD @200040_15JUL2012.003")
adm.appendVideo("/media/DataB_SATA3/ToProcess/1Upstairs/NDR FS HH HD @200040_15JUL2012/NDR FS HH HD @200040_15JUL2012.004")
adm.clearSegments()
adm.addSegment(0, 0, 1269351988)
adm.addSegment(1, 0, 1271280211)
adm.addSegment(2, 0, 1261210000)
adm.addSegment(3, 0, 1272340000)
adm.addSegment(4, 0, 1289607988)
adm.markerA = 451988
adm.markerB = 175491988

you then can call this from main: menu : custom: py: whatever name you gave should show up there.

Mikhail

By programm mediainfo I 've known that audio codec of my video is PCM. Other properties see in attachments. Should I update version avidemux to 2.6 ? It is beta, does the 2.5ver   features remined in this case?

Jan Gruuthuse

Most of 2.6 stuff is functional, some not, still work in progress, I use it on daily basis and have 2.5.6 to on the computer, have a go at it.

Mikhail

I've upgraded  avidemux to 2.5.6. But the crush is still stay. See log file

Mikhail

I' ve saved proect as *.js file. Cliced to its icon to edit but the window error appears -
Windows Script Host
22
About
Scenario: E: \ My Documents \ Video \ DVD.js
Line: 5
Symbol: 1
Error: 'Avidemux' - not defined
Code: 800A1391
Source: Microsoft JScript Runtime Error.

Can I edit it by internal windows notepad?

Mikhail

This is the text of my project:

//AD  <- Needed to identify//
//--automatically built--
//--Project: E:\ My Documents \ Videos \DVD.js

var app = new Avidemux();

//** Video **
// 01 videos source
app.load("E:/ÐÅ"ои докÃ'Æ'менÃ'‚Ã'‹/Видео Ã' Ã'„оÃ'‚ика/Nastavniki (2006year).avi");
//01 segments
app.clearSegments();
app.addSegment(0,0,1899);
app.markerA=0;
app.markerB=1898;

//** Postproc **
app.video.setPostProc(3,3,0);

app.video.fps1000 = 25000;

//** Filters **

//** Video Codec conf **
app.video.codec("Copy", "CQ=0", "0 ");

//** Audio **
app.audio.reset();
app.audio.codec("copy",2277760,0,"");
app.audio.normalizeMode=0;
app.audio.normalizeValue=0;
app.audio.delay=0;
app.audio.mixer="NONE";
app.setContainer("AVI");
setSuccess(1);
//app.Exit();

//End of script

And there is the lines similar your bold ones?

Jan Gruuthuse

#11
should become like this:

//AD  <- Needed to identify//
//--automatically built--
//--Project: E:\ My Documents \ Videos \DVD.js

var app = new Avidemux();

//** Postproc **
app.video.setPostProc(3,3,0);

app.video.fps1000 = 25000;

//** Filters **
app.video.addFilter("mpresize","w=720","h=408","algo=0");
app.video.addFilter("addblack","left=0","right=0","top=84","bottom=84");

//** Video Codec conf **
app.video.codecPlugin("DBAECD8B-CF29-4846-AF57-B596427FE7D3", "mpeg2video", "2PASSBITRATE=6000", "<?xml version='1.0'?><Mpeg2Config><Mpeg2Options><minBitrate>0</minBitrate><maxBitrate>8000</maxBitrate><xvidRateControl>true</xvidRateControl><bufferSize>224</bufferSize><widescreen>false</widescreen><interlaced>none</interlaced><gopSize>12</gopSize></Mpeg2Options></Mpeg2Config>");

//** Audio **
app.audio.reset();
app.audio.codec("copy",0,279,"3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 27 31 2e 30 27 3f 3e 3c 4d 70 65 67 32 43 6f 6e 66 69 67 3e 3c 4d 70 65 67 32 4f 70 74 69 6f 6e 73 3e 3c 6d 69 6e 42 69 74 72 61 74 65 3e 30 3c 2f 6d 69 6e 42 69 74 72 61 74 65 3e 3c 6d 61 78 42 69 74 72 61 74 65 3e 38 30 30 30 3c 2f 6d 61 78 42 69 74 72 61 74 65 3e 3c 78 76 69 64 52 61 74 65 43 6f 6e 74 72 6f 6c 3e 74 72 75 65 3c 2f 78 76 69 64 52 61 74 65 43 6f 6e 74 72 6f 6c 3e 3c 62 75 66 66 65 72 53 69 7a 65 3e 32 32 34 3c 2f 62 75 66 66 65 72 53 69 7a 65 3e 3c 77 69 64 65 73 63 72 65 65 6e 3e 66 61 6c 73 65 3c 2f 77 69 64 65 73 63 72 65 65 6e 3e 3c 69 6e 74 65 72 6c 61 63 65 64 3e 6e 6f 6e 65 3c 2f 69 6e 74 65 72 6c 61 63 65 64 3e 3c 67 6f 70 53 69 7a 65 3e 31 32 3c 2f 67 6f 70 53 69 7a 65 3e 3c 2f 4d 70 65 67 32 4f 70 74 69 6f 6e 73 3e 3c 2f 4d 70 65 67 32 43 6f 6e 66 69 67 3e ");
app.audio.normalizeMode=0;
app.audio.normalizeValue=0;
app.audio.delay=0;
app.audio.mixer="NONE";
app.setContainer("PS", "00 00 00 00 00 00 00 00 ");
setSuccess(1);
//app.Exit();

//End of script

If this is still a problem upgrade to 2.6 instead of 2.5.6.
  • 2.5.6:
    save as ToDVD.js and place this in
%appdata%\avidemux\custom\

%appdata%\avidemux6\custom\py\

    if folder py is not there you need to create it in custom
Now when you load same type of video, you can now select this from avidemux text menu: Custom and ToDVD should be showing in that menu, click on it.

I don't have a clue why the APPCRASH occurs, just being a avidemux user
QuoteThe name of the module with the error: libADM_vidEnc_avcodec.dll
   Version of the module with the error: 0.0.0.0

Mikhail

I have done all you said. I not find the folder "Custom" and "Ty", so I've created its.  But I can't find in menu "Custom". It must be here (see screenshot)?

Mikhail

#13
I've find folder appdata and Custom. Created folder Py there and Py file. No chanches followered

Jan Gruuthuse

#14
Sorry,  my mistake. Have mixed up 2.5.6 <> 2.6, slightly different procedure
2.5.6:
  • not in folder Custom\py, should be in Custom
  • extension ToDVD.py should be ToDVD.js
1st load video, then apply from menu custom: ToDVD
apologies for inconvenience.
Attachment: Main Text Menu: Custom: ToDVD.js (Custom job)