Hi all,
when I start encoding certain files, any2dvd will bail out while transcoding the file. But when I run the transcode command shown by any2dvd manual, transcode works fine.... So why is the script terminating itselfs?
In the tmp_any2dvd/tmp.log you can read the following:
transcode: unrecognized option `--progress_meter'
But this parameter is not echoed from any2vob on the crash as you can see below.
I found the following in the script:
if [ "$TRANSCODE_VERSION" \> "1.0.2" ]; then
PROGRESS_ARGS="--progress_meter 0"
else
PROGRESS_ARGS="--progress_off"
fi
and in transcode 1.0.3 there is no such parameter --progress_meter 0 so it should be changed to
if [ "$TRANSCODE_VERSION" /= "1.0.2" ]; then
I cahnged all two occurence to = and than it worked.
here's the patch:
diff -Naur any2vob any2vob_patched
--- any2vob 2007-05-26 14:48:26.000000000 +0200
+++ any2vob_patched 2007-05-26 14:48:17.000000000 +0200
@@ -1014,7 +1014,7 @@
fi
[ "$SKIP_VOB" = "yes" ] && return
surround_check
- if [ "$TRANSCODE_VERSION" \> "1.0.2" ]; then
+ if [ "$TRANSCODE_VERSION" \= "1.0.2" ]; then
PROGRESS_ARGS="--progress_meter 0"
else
PROGRESS_ARGS="--progress_off"
@@ -1921,7 +1921,7 @@
[ "$TOTAL" -lt 1 ] && TOTAL=1
PROCESS_FILE="$WORKDIR"/"$name".m2v
preview
- if [ "$TRANSCODE_VERSION" \> "1.0.2" ]; then
+ if [ "$TRANSCODE_VERSION" \= "1.0.2" ]; then
outfile="$name".m2v
tmp_outfile="$name"_tmp.m2v
PROGRESS_ARGS="--progress_meter 0"
Below is an example what happened
$ any2dvd -i Latin-Standard_Professional_Championship_2007.avi
Any2Dvd-0.34
Running: any2vob --workdir="tmp_any2dvd" --format=pal --audio_format=ac3
--surround=preserve --compress=no --aspect=4:3 --pulldown=no --keep_dts=yes
--preview=no --skip_comm=no --mpegts_allpids=no -i
"Latin-Standard_Professional_Championship_2007.avi"
Any2Vob-0.34
Use Ctrl+C to abort
File(s) to process: "Latin-Standard_Professional_Championship_2007.avi"
Calculating total estimated DVD Disc usage, please wait ...
Total estimated DVD Disc usage: 2.60 GB
<<<< NEW ENCODING of Latin-Standard_Professional_Championship_2007.avi started
at Sa 26. Mai 14:31:20 CEST 2007 >>>>
** Input file info **
File type: AVI
Codec: DX50
Format: PAL
Frames/sec: 25.000
Resolution: 512x384
Aspect: 1.29:1
** Output file info **
File type: DVD Vob
TV Format: PAL
Frames/sec: 25.000
Resolution: 720x576
Aspect: 4:3
Final estimated filesize: 2.60 GB
Number of VIDEO tracks detected: 1
Number of AUDIO tracks detected: 1
Running: transcode -i "Latin-Standard_Professional_Championship_2007.avi" -y
ffmpeg -F mpeg2 -Z 720x576 --export_asr 2 -J resample, -D0 -N 0x2000 -E
48000,16,2 -b 384 -m
"tmp_any2dvd/Latin-Standard_Professional_Championship_2007.ac3" -o
"tmp_any2dvd/Latin-Standard_Professional_Championship_2007.m2v" -w 5000 ...
Error: Video encoding failed for
"tmp_any2dvd/Latin-Standard_Professional_Championship_2007.m2v", file not
successfully encoded!
Logged In: YES
user_id=1269204
Originator: NO
A fairly mature beta of 0.36 that addresses this issue can be found here:
http://mightylegends.org/downloads/any2vob-0.36_beta.sh
http://mightylegends.org/downloads/any2dvd-0.36_beta.sh
Logged In: YES
user_id=1577209
Originator: YES
Tried the new version... it is running right now.
But there seems to be a issue with the status information while transcoding.
Everytime the status is updated the cursor jumps back a few chars.
Looks like this:
WARNING: Transcode appears to have hung, hard killing it!
encoding frame [4643], 20.80 fps, 2.6%, ETA: 2:21:13, ( 8| 1| 0) 0) 0) 1) 0) 0) 1) 1) 2) 0) 0) 3) 6) 2) 2) 0) 3) 3) 0) 1) 2) 2) 1) 1) 0) 0) 1) 3) 0) 0) 0) 2) 1) 0) 0) 2) 3) 0) 0) 1) 1) 0) 1) 1) 1) 0) 2) 0) 1) 9) 9) 7) 4) 9) 5) 7) 9) 5) 9) 6) 2) 4) 3) 7) 5) 5) 5) 7) 9) 9) 9) 9) 8) 8) 9) 9) 9) 9) 9) 9) 9) 9) 9) 9) 8) 9) 8) 5) 1) 5) 6) 7) 8) 2) 1) 1) 0) 1) 0) 3) 0) 1) 0) 0) 7) 0) 1) 1)
WARNING: Transcode appears to have hung, hard killing it!
encoding frame [4966], 19.75 fps, 2.7%, ETA: 2:28:28, ( 7| 1| 1) 1) 1) 0) 0) 1) 0) 0) 0) 0) 0) 1) 0) 0) 0) 0) 0) 1) 0) 0) 1) 0) 0) 0) 0) 0) 1) 0) 0) 1) 1) 2) 0) 0) 3) 6) 2) 2) 0) 3) 3) 0) 1) 2) 2) 1) 1) 0) 0) 1) 3) 0) 0) 0) 2) 1) 0) 0) 2) 3) 0) 0) 1) 1) 0) 1) 1) 1) 0) 2) 0) 1) 9) 9) 7) 4) 9) 5) 7) 9) 5) 9) 6) 2) 4) 3) 7) 5) 5) 5) 7) 9) 9) 9) 9) 8) 8) 9) 9) 9) 9) 9) 9) 9) 9) 9) 9) 8) 9) 8) 5) 1) 5) 6) 7) 8) 2) 1) 1) 0) 1) 0) 3) 0) 1) 0) 0) 7) 0) 1) 1)
WARNING: Transcode appears to have hung, hard killing it! encoding frame [5152], 19.60 fps, 2.8%, ETA: 2:29:25, ( 7| 1| 1) 0) 1) 1) 7) 9) 9) 4) 0) 0) 1) 1) 1) 0) 0) 1) 0) 0) 0) 0) 0) 1) 0) 0) 0) 0) 0) 1) 0) 0) 1) 0) 0) 0) 0) 0) 1) 0) 0) 1) 1) 2) 0) 0) 3) 6) 2) 2) 0) 3) 3) 0) 1) 2) 2) 1) 1) 0) 0) 1) 3) 0) 0) 0) 2) 1) 0) 0) 2) 3) 0) 0) 1) 1) 0) 1) 1) 1) 0) 2) 0) 1) 9) 9) 7) 4) 9) 5) 7) 9) 5) 9) 6) 2) 4) 3) 7) 5) 5) 5) 7) 9) 9) 9) 9) 8) 8) 9) 9) 9) 9) 9) 9) 9) 9) 9) 9) 8) 9) 8) 5) 1) 5) 6) 7) 8) 2) 1) 1) 0) 1) 0) 3) 0) 1) 0) 0) 7) 0) 1) 1)
encoding frame [5926], 19.94 fps, 3.3%, ETA: 2:26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