You are not logged in.

#26 2008-01-29 15:12:45

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Thank you for the startscript. I will try it. For the "passing arguments" I will have a look how this is down by other tcl-programs. There are not too many ported to Arch I guess.

I never did dig deeper into using desktop files (indeed my desktop ics icon-free) , but I can try to write one and try it under fluxbox. If it works there, it should work under Gnome too.

Offline

#27 2008-01-29 16:27:48

r0lZ
Member
Registered: 2008-01-25
Posts: 16
Website

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Not sure what you mean about the args and Tcl/Tk.  PgcEdit parses the arguments it receives from the command line, like most other programs.  They are, in fact, pre-parsed and placed in the argv list by the Tcl interpreter.  It's similar to the argc array used by C.
When using your script, the arguments were lost.  In my script, "$@" is used to pass the arguments received by the script to PgcEdit, but "$*" might be better.  I haven't been able to understand the difference between the two syntax.  Anyway, this is sh syntax, not Tcl/Tk.

If you can manage to add an icon in the menus, please let me know.  I will give you the nice Icon file someone did for PgcEdit under Linux.

BTW, I have just received a mail of Jeanl, the author of the preview.  He has found a way to implement the sound support in the preview.  It's still in alpha phase, and I don't know if it works under Linux (as some Windows specific codecs might be necessary) but anyway, that means that Jeanl is working on the preview again.  I will ask him to try to improve it, and perhaps to remove the assembly part, so that it could be compiled for Linux.  No guarantee, of course...

Offline

#28 2008-01-29 20:37:15

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Hello,

the script does not work, it prevents PgcEdit_main.tcl to be found by PgcEdit.tcl

[root@bertrand ~]# pgcedit .
Error in startup script: couldn't read file "/Tcl/work/PGCEDIT/PgcEdit_main.tcl": no such file or directory
    while executing
"source /Tcl/work/PGCEDIT/PgcEdit_main.tcl"
    invoked from within
"if {[file exists PgcEdit_main.tcl]} {
    source PgcEdit_main.tcl
} else {
    source /Tcl/work/PGCEDIT/PgcEdit_main.tcl
}"
    (file "/usr/share/pgcedit/PgcEdit.tcl" line 79)

Offline

#29 2008-01-30 23:59:22

r0lZ
Member
Registered: 2008-01-25
Posts: 16
Website

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Sorry to reply only now.  I have released a new beta that you can download here:
http://home.tele2allin.be/vt6328799/pgc … 7beta2.zip
(Note that the beta uploaded there are temporary, and are removed often, due to the lack of disc space.)
It's still a beta, but the final release should be released soon, and it will probably be very similar.

I have fixed the pwd problem, and my script should work correctly.
Also, the preview has now a somewhat limited audio support (AC3 and LPCM only.)  Tested under Ubuntu and wine, and it works fine!  ;-)

Changelog:
(A=Added, E=Enhancement, F=Fix)

8.7beta2 (January 31, 2008)
  A. Thanks to Jeanl, the preview has now a (somewhat limited) audio support,
     including under Linux and Wine.  It can play only the AC3 and LPCM streams,
     and there is a slight A/V desynchronization, but it's better than nothing.
     To enable the audio support, tick Preview -> Playback Mode -> Real Time
     With Audio.  In trace mode, the selected stream is the stream that you
     should hear with a real player.  Otherwise, a stream is selected according
     to the preferred audio language code and extension configured in the Trace
     menu -> Setup -> Virtual Player Setup.
  E. Kill PGC Playback: When a menu PGC is converted to dummy, the post commands
     are copied in the pre-command area.  They are now also removed from the
     post-commands area, as they are useless and confusing.
  F. Fixed a bug that caused a wrong parsing of menu buttons or BOVs when the
     number of buttons is > 0 but the number of groups is 0 in the nav pack.
     When this bad authoring is encountered, a warning is written in the log,
     and PgcEdit assumes that there are no buttons.
  F. Replace VTST Titles: the number of chapters were sometimes not correctly
     updated in the VMG_TT_SRPT table when more than one title was imported.
  F. New PgcEdit launcher: It was impossible to launch the source files of v8.6
     if the current directory was not the PgcEdit folder.
  F. The pwd problem under Linux when PgcEdit is started from a script is
     hopefully fixed.
  F. Dialogs larger than the screen when they contain a very long error message.
  F. PgcEdit hangs when a standard info/question/warning/error dialog is shown
     and several default sound files are missing in the Windows media folder.
  F. Since the sounds played with the standard yes/on/ok/cancel dialogs cause
     crashes on some systems, it is now possible to replace them by the simple
     bell or to use no sounds at all, with the Options -> User Interface -> Play
     Sounds menu.

8.7beta1 (January 16, 2008)
  E. Open DVD: The frame rate of the FP-PGC is now checked and fixed if needed.

Last edited by r0lZ (2008-01-31 00:00:56)

Offline

#30 2008-01-31 19:14:01

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

I updated the package. It is now basing on your beta-version. I also added the license file and changed the icon.

Offline

#31 2008-01-31 21:58:06

r0lZ
Member
Registered: 2008-01-25
Posts: 16
Website

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Thanks!  Seems perfect now.

For my information, what is libxss?  I've read that it is related to the screen saver, and I don't understand why it is needed.

Offline

#32 2008-02-01 06:17:46

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

It is one of the things I will never understand really.  Without libxss I got

[haawda@bertrand repo]$ pgcedit
wish: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
[haawda@bertrand repo]$ 

With it, it works. Why ever.

To answer your question: Yes it has to do with screensavers.

Last edited by Stefan Husmann (2008-02-01 08:15:31)

Offline

#33 2008-02-01 08:36:38

r0lZ
Member
Registered: 2008-01-25
Posts: 16
Website

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Thanks!  This is strange, indeed, but if it works that way, let's say it's OK!  ;-)

Offline

#34 2008-02-28 12:23:45

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

r0lZ wrote:

Sorry to reply only now.  I have released a new beta that you can download here:
http://home.tele2allin.be/vt6328799/pgc … 7beta2.zip
(Note that the beta uploaded there are temporary, and are removed often, due to the lack of disc space.)
It's still a beta, but the final release should be released soon, and it will probably be very similar.

The mentioned link does not exist anymore. Has someone an idea where we could host this file? If not I would like to downgrad to r.8.6.

Offline

#35 2008-02-28 12:33:31

r0lZ
Member
Registered: 2008-01-25
Posts: 16
Website

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Sorry.  A new beta is in construction!  ;-)  I will upload it soon, probably tomorrow, and will post the link here as soon as possible.  I can't give you a link to the current beta, as it uses a preview executable not compatible with Linux and wine yet.

V 8.7 final should be available soon anyway, so, please, don't downgrade now!

Offline

#36 2008-02-28 12:50:00

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Wow that was a quick answer! I will put a short sentence about this on the AUR page soon.

Offline

#37 2008-02-28 17:54:41

r0lZ
Member
Registered: 2008-01-25
Posts: 16
Website

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

OK, here is v8.7beta9.  It's still a beta, as it has not fully tested yet (especially under Linux) but you can consider it as release candidate 1.  The preview should work under Linux, and has now audio support (somewhat limited though.)
(BTW, again, as with most betas, this version will not stay forever on the net, so please copy it somewhere else if you wish, or wait for the next official release.)

Thanks for your patience.  ;-)

http://home.tele2allin.be/vt6328799/pgc … 7beta9.zip

Offline

#38 2008-02-28 22:53:44

r0lZ
Member
Registered: 2008-01-25
Posts: 16
Website

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Sorry, here is a last minute bugfix.  Please use beta10 instead of the previous version!

http://home.tele2allin.be/vt6328799/pgc … beta10.zip

Offline

#39 2008-02-29 09:14:36

r0lZ
Member
Registered: 2008-01-25
Posts: 16
Website

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

And yet another one!  Two bugs fixed.

http://home.tele2allin.be/vt6328799/pgc … beta11.zip

Offline

#40 2008-02-29 12:05:02

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Great! I will update as soon I am at home.

Offline

#41 2008-02-29 16:56:40

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

new beta is up!

Offline

#42 2008-02-29 20:29:55

r0lZ
Member
Registered: 2008-01-25
Posts: 16
Website

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Thanks, and sorry for the frequent updates.  I just want to provide a somewhat stable version.
BTW, I haven't received any bug report for beta 11 yet, so I guess I will not release a new beta soon.

Offline

#43 2008-02-29 21:26:33

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

No problem to me, for updating the PKGBUILD is not that much to do.

Offline

#44 2008-03-02 15:30:46

r0lZ
Member
Registered: 2008-01-25
Posts: 16
Website

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

And now beta 12: http://home.tele2allin.be/vt6328799/pgc … beta12.zip

Some minor bugs fixed, and an important improvement in the trace mode.  See the history...

Offline

#45 2008-03-02 16:35:31

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Updated!

Offline

#46 2008-03-03 00:36:05

mullman
Member
Registered: 2007-05-24
Posts: 28

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

For those following the beta development, here's the changelog:

PgcEdit: Version History - Since v8.6 (January 12, 2008)

A. = Added feature

R. = Removed

E. = Enhancement

F. = Fixed bug

W. = Workaround



8.7beta12 (March 2, 2008)

  A. Trace mode: The current Title, PTT, Audio, Subpic and Angle display in the

     player panel are now real menus, to simulate the menus of a real player. It

     is thus now possible to change the current Title, PTT or streams on the fly

     unless a PUO prohibits the use of the menu.  The PTT menu is especially

     handy to skip the preview of most cells of a long Title.

  F. Trace:  Fixed a bug occurring when the user did a resume by clicking on the

     Root or Title menu button of the player panel when the menu viewer was

     opened.

  E. Pgc Editor, Cells list: The seamless checkbox is now highlighted in yellow

     when it is clear but the previous cell is contiguous.

  E. It is now possible to show again the dialogs that have been hidden during

     the current session by ticking Options > User Interface > Display Hidden

     Dialog Boxes During Current Session.  Previously, only the dialog that were

     permanently hidden via a "Hide this dialog" checkbox were restored.

     Note: The hidden dialogs during current session are restored automatically

     also whan a new DVD is loaded (but not when the same DVD is reloaded.)

  E. It is now possible to hide the "Rebuild Time Map" dialog and answer Yes or

     No automatically during the current PgcEdit session.

  F. Bug in Menu > Select a Non-hidden Button/BOV by Default, when the PGC had

     several cells with buttons.



8.7beta11 (February 29, 2008)

  F. Bug when launching the preview on a PGC containing only non-AC3 or LPCM

     audio streams.

  F. New preview: the old one created a (playable) MPEG audio file in its current

     directory when a MPEG stream was selected.



8.7beta10 (February 29, 2008)

  F. Preview PGC and Preview Cell of a PGC without a valid audio stream defined

     in the IFOs failed.  Thanks blu!

  F. New preview: the Up/Down keys did not work correctly to select another entry

     in the dropdown.



8.7beta9 (February 28, 2008)

  No changes in my code, but Jean has fixed the last known bug in the preview

  (wrong position of the cursor of the seekbar and wrong behaviour of the <<, <,

  >, >> and Cell-/+ buttons when the same VOB cell is present several times in

  the PGC.)

  Also, it's now the statically linked version, compatible with Linux and Wine.



8.7beta8 (February 28, 2008)

  F. Fixed a stupid bug in the function that searches for the best audio stream

     to play, causing a crash in some circumstances.  Thanks JM1647!



8.7beta7 (February 28, 2008)

  E. The preview can now show the language code and extension in the dropdown.

     I have therefore completely removed the audio stream selection dialog, as

     it is now totally useless.

  E. The Preview menu has been modified to include a new option to force the

     preview to show always the first AC3 or LPCM stream, instead of using the

     virtual player setup to determine the best stream.

  E. Improved the method to detect the best stream to show by default.

  E. In Trace mode, when the user changes the audio stream via the dropdown menu

     of the preview, SPRM(1) is updated accordingly.  The dwopdown is disabled

     when the Audio Stream Change PUO is set.  In trace mode, the dropdown menu

     should therefore act now exactly like the audio menu of a real player.

  F. Several bugs fixed in the latest preview exe.  Thanks Jean!  There is still

     a bug with the GUI when a PGC contains several times the same cell.



8.7beta6 (February 23, 2008)

  F. The preview doesn't stop any more after an angle cell.

  F. The cell number displayed in the preview GUI now matches the cell number of

     the cell table (including in Preview Layer Break mode.)

  E. In Preview PGC mode, the user can now specify interactively which audio

     stream to use when launching the preview.  There is an option to skip this

     dialog during the current session.  The same dialog is also always shown

     when the preview is launched from the Layer Break selector of the Burn

     function.

  E. The preview has now a dropdown box to select the audio stream on the fly.

  F. Fixed an important bug introduced in a previous beta, causing an End Of

     Table error in trace mode.  Thanks Blu!

  F. Trace: When a menu VOB file was missing, the same cell of the menu PGC was

     played endlessly.

  F. Workaround for a Tcl bug: when a DVD was read from a read-only media,

     PgcEdit tried to create the backup folder anyway.



8.7beta5 (February 22, 2008)

  F. Bug in beta3: Preview PGC showed only the firsat cell.

  F. Bug in beta3: The default audio stream for the preview was wrong again!

  F. Fixed the problem with the pause after a multi-angle cell.  The seamless

     flag is now correctly retrieved from the first cell following the current

     angle block.



8.7beta4 (February 21, 2008)

  E. The preview can now play only the VOBUs pertaining to a specific angle, but

     Preview Full Domain VOBs still shows all interleaved cells as before.

     When previewing a multi-angle PGC, the user must select which angle he

     wants to see (or all interleaved angles like before) in a new dialog.

     In trace or single cell modes, the right angle is selected automatically.

     Preview bug: Currently, the right angle is lost when using the seekbar or

     the <<, < or >> buttons.  The > and Cell-/+ buttons work as expected.

  E. The perview can now be paused between the cells.  Therefore, the preview of

     a PGC now takes into account the cell still times and seamless flags.  (The

     pause is limited to a maximum of 4 seconds.)  There is still a known bug

     when previewing multi-angle PGCs: the seamless flag is retrieved from the

     next angle cell instead of the next cell that is really played.

  E. In Burn DVD, the "Preview Cell" button has been replaced by "Preview LB".

     The last seconds of the previous cells are shown, then a 2 secs pause, and

     finally the Layer Break cell, with audio whenever possible.

  F. The selection of the default audio track in preview PGC mode is now better.

     Previously, a DTS stream was selected by default in some cases.  The new

     version gives the preference to a stream that can be played (AC3 or LPCM.)

  F. The focus was not restored to the correct widget when a Yes/No/Cancel

     dialog was closed.



8.7beta3 (February 17, 2008)

  E. Thanks to the latest Wine, the DirectDraw overlays are now available for

     the preview under Linux.  They are still off by default.

  F. When the default highlighted BOV (set in SPRM 8 or forced in the nav pack)

     was out of range, the trace stopped when playing the cell.  Now, a warning

     is issued, the first BOV is highlighted, and the trace continues.

  F. Trace: The values assigned to the GPRM by a Set command after an underflow

     or overflow with the -, + and * operators, and after a division by 0 with /

     or % were wrong.  A warning is now also added in the log in such cases.

  F. With Automatic Preview ticked, the preview was opened when the user clicked

     with the middle or right button or double-clicked on the PGC Selector.

  F. Fixed a bug that caused a crash on some PCs running Win XP when a system

     sound was played with a standard Yes/No/Cancel dialog.



8.7beta2 (January 31, 2008)

  A. Thanks to Jeanl, the preview has now some audio support, including under

     Linux and Wine.  It can play only the AC3 and LPCM streams.  To enable the

     audio, tick Preview -> Playback Mode -> Real Time With Audio.  In trace

     mode, the selected stream is the stream that you should hear with a real

     player.  Otherwise, a stream is selected according to the preferred audio

     language code and extension configured in the Trace menu > Setup > Virtual

     Player Setup.

  E. Open DVD: The frame rate of the FP-PGC is now checked and fixed if needed.

  E. Kill PGC Playback: When a menu PGC is converted to dummy, the post commands

     are copied in the pre-command area.  They are now also removed from the

     post-commands area, as they are useless and confusing.

  F. Fixed a bug that caused a wrong parsing of menu buttons or BOVs when the

     number of buttons is > 0 but the number of groups is 0 in the nav pack.

     When this bad authoring is encountered, a warning is written in the log,

     and PgcEdit assumes that there are no buttons.

  F. Replace VTST Titles: the number of chapters were sometimes not correctly

     updated in the VMG_TT_SRPT table when more than one title was imported.

  F. New PgcEdit launcher: It was impossible to launch the source files of v8.6

     if the current directory was not the PgcEdit folder.

  F. The pwd problem under Linux when PgcEdit is started from a script is

     hopefully fixed.

  F. Dialogs larger than the screen when they contain a very long error message.

  F. PgcEdit hangs when a standard info/question/warning/error dialog is shown

     and several default sound files are missing in the Windows media folder.

  F. Since the sounds played with the standard yes/on/ok/cancel dialogs cause

     crashes on some systems, it is now possible to replace them by the simple

     bell or to use no sounds at all, with the Options -> User Interface -> Play

     Sounds menu.

Offline

#47 2008-04-02 08:20:06

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

Hello,
for some reason the comments and votes for this package got lost due to an error in AUR. So please, if you like this package, vote again.

Offline

#48 2008-04-27 23:41:29

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: [AUR] PgcEdit - The Swiss Army knife of DVD editing

I just wanted to commend you guys for your excellent work on this package. If you have any questions or tasks, I'll willing to help on the linux side. Unfortunately the program isn't terribly useful for me, but I'll be glad to help with packaging/scripting issues. I don't make it a point to check the forum, so please contact me on irc if you have any questions smile

By the way, I thought this would be helpful to you:

#bash wrote:

The difference between $@ and $*: without double quotes, none at all: both equal $1 $2 .... With double quotes, "$@" is "$1" "$2" ..., while "$*" is expanded as the single argument "$1c$2c..." (where c is the first character of $IFS). You almost always want "$@".

Last edited by Daenyth (2008-04-27 23:47:30)

Offline

Board footer

Powered by FluxBB