Log in

View Full Version : Muxman script to automatically set P&S and letterbox


zoose
24th December 2006, 12:20
Using the free version of muxman, im trying to create a script that will automatically set both the pan-scan and letterboxed attributes for a movie I mux so I no longer have to edit the ifo with ifoedit after the mux is complete.

I have tried the following script, but it doesn’t seem to do anything at all – could someone please advise?

Item=Segment
{
Name=name
Display Mode=P/S and LB
}

Matthew
25th December 2006, 00:11
It's been ok when I do that...I take it the m2v is flagged correctly?

setarip_old
25th December 2006, 03:41
Hi!Using the free version of muxmanDo I remember correctly that the freeware version doesn't avail itself to scripting?

Sir Didymus
25th December 2006, 12:36
@setarip_old - no, no... MuxMan 0.15P is perfectly happy with scripting...

@zoose - if what you have posted is the whole mxp script, I am not surprised it does nothing... It is largely incomplete, missing some mandatory parts...

The simplest way to prepare a valid mxp script is to load a small piece of m2v video in the MuxMan GUI, then save the project as... Then you have a valid script to start with... You can modify it, reload the script to check the effects of your modifications... and so on...

Apart this "obvious" premise, the syntax of the display mode in your example line is correct. Please consider also that the display mode is honored if the aspect ratio of the video is compatible, otherwise it is not... But again, in your example the whole video stream item is missed...

Let me take the opportunity for wishing all of the old and new friends of the doom9 forum a Merry Christmas and a happy new year...

SD

chouguojing
26th December 2006, 12:02
i don't know what you saied

Sir Didymus
26th December 2006, 15:59
@chouguojing

I am saying that if you want to play with MuxMan script files, a good idea could be NOT to build up a new script from scratch. It is better to prepare a script using the MuxMan GUI (graphic user interface), and then modify this script to achieve your purposes (and to learn a lot).

The steps are as follow:
1. Start MuxMan
2. Load a valid video file in the MuxMan GUI
3. File --> Save Project As...

This is the minimum number of steps necessary to create a new valid MuxMan script. You can edit this script as you want. When you start MuxMan (in a new session...) and load the project you have modifyed, you can see if the modifications applied to the script have some effect or not.

Checking the log file produced by MuxMAn (usually C:\MuxMan.log), is also giving some indications about the last MuxMan session.

Is it now more clear ?

zoose
27th December 2006, 11:34
Yes Sir Didymus what I had posted was the whole muxman script, following your advise and it worked perfectly, thanks.

Sir Didymus
27th December 2006, 12:04
@zoose. Excellent!
For a moment I had the very bad feeling that my ...hem... "quite strong Italian accent" may have totally compromised the meaning of my reply... :scared:

Nice to know it haven't...

Cheers,
SD