Re: Merging problem in cluster-mode

Helge Mühlmeier <[email protected]>
Newsgroups gmane.comp.video.dvdrip.user
Organization privat
Message-ID <[email protected]>
Hi all,

I have tested some comands in a xterm windows after I read the avimerge manual on my NetBSD- system. I started with a copy of the comand calculated by the dvdrip-master program:

---
Thu Feb 21 23:02:58 2008 [1] Job 'Project 'Treppe' - title #17' fertig
Thu Feb 21 23:02:58 2008 [1] Job 'Video Abschnitte zusammenfÃ?hren - Titel #17, PSU #0' fertig
Thu Feb 21 23:02:58 2008 [1] Job 'Video Abschnitte zusammenfÃ?hren - Titel #17, PSU #0' wurde fehlerhaft beendet: Command exits with failure code:
Command: umask 0002; mkdir -m 0775 -p '/home/helgoman/dvdrip-data/Treppe/avi/017/audio-video-psu' && `which nice` -n 19 execflow avimerge -i /home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/* -o /home/helgoman/dvdrip-data/Treppe/avi/017/audio-video-psu/Treppe-017-av-psu-00.avi  -p /home/helgoman/dvdrip-data/Treppe/avi/017/audio-psu-00/Treppe-017-audio-psu-00-00.avi  && rm /home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/* '/home/helgoman/dvdrip-data/Treppe/avi/017/audio-psu-00/Treppe-017-audio-psu-00-00.avi' && echo EXECFLOW_OK

Output: avimerge (transcode v1.0.5) (C) 2001-2004 Thomas Oestreich, T. Bitterberg, 2004-2008 Transcode Team

Usage: avimerge [options]
         -o file                   output file name
         -i file1 [file2 [...]]    input file(s)
         -p file                   multiplex additional audio track from file
         -a num                    select audio track number from input file [0]
         -A num                    select audio track number in output file [next]
         -b n                      handle vbr audio [autodetect]
         -c                        drop video frames in case audio is missing [off]
         -f FILE                   read AVI comments from FILE [off]
         -x FILE                   read AVI index from FILE [off] (see aviindex(1))
Thu Feb 21 23:02:58 2008 [1] Alle laufenden Cluster Projekte: 80% erledigt.
---

The same error- message... Than I tested the following comand (with changed sequence of order):

---
bash-3.2$ umask 0002; mkdir -m 0775 -p '/home/helgoman/dvdrip-data/Treppe/avi/017/audio-video-psu' && `which nice` -n 19 execflow avimerge -o /home/helgoman/dvdrip-data/Treppe/avi/017/audio-video-psu/Treppe-017-av-psu-00.avi -i /home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/*  && rm /home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/* '/home/helgoman/dvdrip-data/Treppe/avi/017/audio-psu-00/Treppe-017-audio-psu-00-00.avi' && echo EXECFLOW_OK
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = "de_DE.ISO8859-15",
        LANG = "de_DE"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
EXEC_FLOW_JOB_PID=8775
scanning file /home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/Treppe-017-00000.avi for video/audio parameter
[avilib] V: 25.000 fps, codec=XVID, frames=5664, width=640, height=352
merging multiple AVI-files (concatenating) ...
file 01 /home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/Treppe-017-00000.avi
[/home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/Treppe-017-00000.avi] (000000-005663) (226560.00 <-> 0.00)
file 02 /home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/Treppe-017-00001.avi
[/home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/Treppe-017-00001.avi] (005664-011315) (452640.00 <-> 0.00)
file 03 /home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/Treppe-017-00002.avi
[/home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/Treppe-017-00002.avi] (011316-016979) (679200.00 <-> 0.00)
file 04 /home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/Treppe-017-00003.avi
[/home/helgoman/dvdrip-data/Treppe/avi/017/chunks-psu-00/Treppe-017-00003.avi] (016980-022628) (905160.00 <-> 0.00)
... done merging 4 file(s) in /home/helgoman/dvdrip-data/Treppe/avi/017/audio-video-psu/Treppe-017-av-psu-00.avi
[avilib] V: 25.000 fps, codec=XVID, frames=22629, width=640, height=352
EXECFLOW_OK
---

Now I think merging was fine...

The manual give me some examples like this:
avimerge -o big.avi -i my_file1.avi my_file2.avi my_file3.avi
avimerge -o out.avi -i in.avi -p audio2.avi -a 1
avimerge -o out.avi -i in.avi -p sound.mp3

Is it possible that the sequence of the given options will only work in the correct order?

Greetings,
Helge




On Wed, 13 Feb 2008 21:11:25 +0100
Helge Mühlmeier <[email protected]> wrote:

> Hi all,
> 
> I have a problem with dvdrip in cluster-mode. I rip the film and start a job with dvdrip-master-deamon. Everything works fine but if the is at the point to be merged I get the following error-message:
> 
> ---
> Wed Feb 13 20:00:01 2008 [1] Video Transkodieren - Titel #1, PSU 0, Block 9, Lauf 2: 20% erledigt.
> Wed Feb 13 20:03:18 2008 [1] Video Transkodieren - Titel #1, PSU 0, Block 9, Lauf 2: 30% erledigt.
> Wed Feb 13 20:06:36 2008 [1] Video Transkodieren - Titel #1, PSU 0, Block 9, Lauf 2: 40% erledigt.
> Wed Feb 13 20:09:32 2008 [1] Video Transkodieren - Titel #1, PSU 0, Block 9, Lauf 2: 50% erledigt.
> Wed Feb 13 20:12:37 2008 [1] Video Transkodieren - Titel #1, PSU 0, Block 9, Lauf 2: 60% erledigt.
> Wed Feb 13 20:15:46 2008 [1] Video Transkodieren - Titel #1, PSU 0, Block 9, Lauf 2: 70% erledigt.
> Wed Feb 13 20:19:09 2008 [1] Video Transkodieren - Titel #1, PSU 0, Block 9, Lauf 2: 80% erledigt.
> Wed Feb 13 20:22:22 2008 [1] Video Transkodieren - Titel #1, PSU 0, Block 9, Lauf 2: 90% erledigt.
> Wed Feb 13 20:25:13 2008 [1] Job 'Alle Video Abschnitte verarbeiten - Titel #1, PSU #0' fertig
> Wed Feb 13 20:25:13 2008 [1] Starte Job 'Video Abschnitte zusammenführen - Titel #1, PSU #0'
> Wed Feb 13 20:25:13 2008 [1] Befehlsausführung: execflow ssh -o PreferredAuthentications=publickey helgoman@WOPR "export LD_ASSUME_KERNEL=2.4.30; umask 0002; mkdir -m 0775 -p '/home/helgoman/dvdrip-data/Bean_JohnnyEnglish/avi/001/audio-video-psu' && `which nice` -n 19  avimerge -i /home/helgoman/dvdrip-data/Bean_JohnnyEnglish/avi/001/chunks-psu-00/* -o /home/helgoman/dvdrip-data/Bean_JohnnyEnglish/avi/001/audio-video-psu/Bean_JohnnyEnglish-001-av-psu-00.avi  -p /home/helgoman/dvdrip-data/Bean_JohnnyEnglish/avi/001/audio-psu-00/Bean_JohnnyEnglish-001-audio-psu-00-00.avi  && rm /home/helgoman/dvdrip-data/Bean_JohnnyEnglish/avi/001/chunks-psu-00/* '/home/helgoman/dvdrip-data/Bean_JohnnyEnglish/avi/001/audio-psu-00/Bean_JohnnyEnglish-001-audio-psu-00-00.avi' && echo EXECFLOW_OK"
> Wed Feb 13 20:25:13 2008 [1] Job 'Multipass Video Transkodieren - Titel #1, PSU #0, Abschnitt #9' fertig
> Wed Feb 13 20:25:14 2008 [1] Job 'Video Transkodieren - Titel #1, PSU 0, Block 9, Lauf 2' fertig
> Wed Feb 13 20:25:16 2008 [1] Job 'Alle laufenden Cluster Projekte' fertig
> Wed Feb 13 20:25:20 2008 [1] Projektdatei wurde nach '/home/helgoman/.dvdrip-master/projects/00000008-Bean_JohnnyEnglish.rip' gespeichert
> Wed Feb 13 20:25:20 2008 [1] Job 'Projekt 'Bean_JohnnyEnglish' - Titel #1' fertig
> Wed Feb 13 20:25:20 2008 [1] Job 'Alle laufenden Cluster Projekte' fertig
> Wed Feb 13 20:25:20 2008 [1] Projektdatei wurde nach '/home/helgoman/.dvdrip-master/projects/00000008-Bean_JohnnyEnglish.rip' gespeichert
> Wed Feb 13 20:25:20 2008 [1] Job 'Projekt 'Bean_JohnnyEnglish' - Titel #1' fertig
> Wed Feb 13 20:25:20 2008 [1] Job 'Verarbeite alle PSUs - Titel #1' fertig
> Wed Feb 13 20:25:20 2008 [1] Job 'Verarbeite PSU #0' fertig
> Wed Feb 13 20:25:20 2008 [1] Job 'Video Abschnitte zusammenführen - Titel #1, PSU #0' fertig
> Wed Feb 13 20:25:20 2008 [1] Job 'Video Abschnitte zusammenführen - Titel #1, PSU #0' wurde fehlerhaft beendet: Command exits with failure code:
> Command: execflow ssh -o PreferredAuthentications=publickey helgoman@WOPR "export LD_ASSUME_KERNEL=2.4.30; umask 0002; mkdir -m 0775 -p '/home/helgoman/dvdrip-data/Bean_JohnnyEnglish/avi/001/audio-video-psu' && `which nice` -n 19  avimerge -i /home/helgoman/dvdrip-data/Bean_JohnnyEnglish/avi/001/chunks-psu-00/* -o /home/helgoman/dvdrip-data/Bean_JohnnyEnglish/avi/001/audio-video-psu/Bean_JohnnyEnglish-001-av-psu-00.avi  -p /home/helgoman/dvdrip-data/Bean_JohnnyEnglish/avi/001/audio-psu-00/Bean_JohnnyEnglish-001-audio-psu-00-00.avi  && rm /home/helgoman/dvdrip-data/Bean_JohnnyEnglish/avi/001/chunks-psu-00/* '/home/helgoman/dvdrip-data/Bean_JohnnyEnglish/avi/001/audio-psu-00/Bean_JohnnyEnglish-001-audio-psu-00-00.avi' && echo EXECFLOW_OK"
> 
> Output: avimerge (transcode v1.0.3) (C) 2001-2004 Thomas Oestreich, T. Bitterberg
> 
> Usage: avimerge [options]
> 	 -o file                   output file name
> 	 -i file1 [file2 [...]]    input file(s)
> 	 -p file                   multiplex additional audio track from file
> 	 -a num                    select audio track number from input file [0]
> 	 -A num                    select audio track number in output file [next]
> 	 -b n                      handle vbr audio [autodetect]
> 	 -c                        drop video frames in case audio is missing [off]
> 	 -f FILE                   read AVI comments from FILE [off]
> 	 -x FILE                   read AVI index from FILE [off] (see aviindex(1))
> 
> ---
> 
> My system is NetBSD 3.1 (on all machines).
> 
> Software:
> dvdrip		0.98.1
> transcode	v1.0.3
> avimerge	(transcode v1.0.3)
> 
> What do I have to do?
> 
> Thank you!
> 
> -- 
> Helge Mühlmeier <[email protected]>


-- 
Helge Mühlmeier <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.