tovid help please

Hi, I have often run tovid in Fedora, but I decided to try out Opensuse 11.4.
11.4 is really nice, easy to use, but still feels like real Linux.

My issue is this:

I can create DVD movies from xvid and other files without issues as long as I choose no menus.
If I choose static or animated menus then I get a halt and an error:


Creating a menu title image

[1 of 4] Seeking to 2 seconds in God Is Our Pilot.avi /usr/lib/tovid/todisc: line 5587: strings: command not found

!!!
todisc encountered an error:
Problem creating images from the video.

Check the contents of /home/Ninja/todisc.log to see what went wrong.
See the tovid website (Tovid Wiki) for what to do next.
Sorry for the inconvenience!
!!!

todisc.log:


todisc from the tovid suite (0.33) - log for Sat Apr 2 10:14:22 EDT 2011


todisc
-files
/home/Ninja/Videos/Tripping The Rift/God Is Our
Pilot.avi
/home/Ninja/Videos/Tripping The Rift/Miss
Galaxy.avi
/home/Ninja/Videos/Tripping The Rift/Mutilation
Ball.avi
/home/Ninja/Videos/Tripping The Rift/Sidewalk Soiler.avi
-titles
God
Is Our Pilot
Miss Galaxy
Mutilation Ball
Sidewalk
Soiler
-menu-title
CyberMonkey Presents
Tripping the Rift Disk
1
-out
TTR1
-from-gui

You are using the following locale settings:
LANG=en_US.utf8
LC_CTYPE=“en_US.utf8”
LC_NUMERIC=“en_US.utf8”
LC_TIME=“en_US.utf8”
LC_COLLATE=“en_US.utf8”
LC_MONETARY=“en_US.utf8”
LC_MESSAGES=“en_US.utf8”
LC_PAPER=“en_US.utf8”
LC_NAME=“en_US.utf8”
LC_ADDRESS=“en_US.utf8”
LC_TELEPHONE=“en_US.utf8”
LC_MEASUREMENT=“en_US.utf8”
LC_IDENTIFICATION=“en_US.utf8”
LC_ALL=

[todisc]:
[todisc]: =========================================================
[todisc]:
[todisc]: Determining aspect ratio of videos
[todisc]: Checking aspect ratios: /home/Ninja/Videos/Tripping The Rift/God Is
Our Pilot.avi
[todisc]: Aspect ratio of 4:3 found.
Videos in this menu (titleset) will be
done using that ratio.
[todisc]:
[todisc]: =========================================================
[todisc]:
[todisc]:
[todisc]: =========================================================
[todisc]:
[todisc]: Creating work directories
[todisc]:
[todisc]: =========================================================
[todisc]:
[todisc]: Creating pics directories…
[todisc]: 4 pics directories created
Using mencoder to get length of /home/Ninja/Videos/Tripping The Rift/God Is Our Pilot.avi
Using mencoder to get length of /home/Ninja/Videos/Tripping The Rift/Miss Galaxy.avi
Using mencoder to get length of /home/Ninja/Videos/Tripping The Rift/Mutilation Ball.avi
Using mencoder to get length of /home/Ninja/Videos/Tripping The Rift/Sidewalk Soiler.avi
[todisc]:
[todisc]: =========================================================
[todisc]:
[todisc]: Menu title: “CyberMonkey Presents
Tripping the Rift Disk 1”
[todisc]: (adjust with -menu-title)
[todisc]: Including the following files:
[todisc]: Current font settings:
[todisc]: -menu-font Helvetica
[todisc]: -menu-fontsize 30
[todisc]: -titles-font Helvetica
[todisc]: -titles-fontsize 16
[todisc]: Current menu settings:
[todisc]: -menu-length 20 seconds
[todisc]:
[todisc]: =========================================================
[todisc]:
[todisc]: Creating a menu title image

Running: ffmpeg -ss 2 -i /home/Ninja/Videos/Tripping The Rift/God Is Our
Pilot.avi -an -vframes 1 -s 192x128 /tmp/todisc-work.5/pics/0/%06d.jpg

[todisc]: todisc encountered an error:
[todisc]: Problem creating images from the video.

I used to run the same version of tovid on Fedora without this happening.
I looked at the todisc file and this is line 5587:

if ! “${FFMPEG_CMD@]}” 2>&1 |strings >> “$LOG_FILE”;then

The entire section of code is:

create the preview images

if ! $TEXTMENU && ! $SINGLE_SLIDESHOW && $DO_MENU; then
for ((i=0; i<=NUM_FILES; i++)) ; do
# don’t make titles if all input files are images
# pass -f image2 to ffmpeg if its an image (not always needed but …)
${file_is_image*} = “yes” ]] && fmt="-f image2" || fmt=""
SV=${SEEK_VAL*}; CURFILE="${IN_FILES*##*/}"
spin “$((i + 1)) of ${#FILES@]}] Seeking to $SV seconds in $CURFILE”

    FFMPEG_CMD=(ffmpeg $fmt -ss ${SEEK_VAL*} -i "${IN_FILES*}" -an \
    -vframes 1 -s $THUMB_SIZE $WORK_DIR/pics/$i/%06d.$IMG_FMT)
    CMD=( "${FFMPEG_CMD@]}" )
    SED_VAR="frame="
    !  "$SC_FRAMESTYLE" = "glass" ]] \
    && echo -e "

Running: “${CMD@]}”
" | fold -bs >> “$LOG_FILE”
# some vars for get_framed_pics()
VOUT=“png:z=7”; FRAMES=30
FRAME_SIZE=$THUMB_SIZE
D=2

    if  "$SC_FRAMESTYLE" = "glass" ]; then
        MPLAYER_SEEK_VAL=${SEEK_VAL*}
        get_framed_pics "${IN_FILES*}"  &gt;&gt; "$LOG_FILE" 2&gt;&1
        largest_png=$(du -s $WORK_DIR/000*[0-9].png | sort -r |
                                    awk 'NR&gt;1{exit};1 {print $2}')
        mv -f $largest_png $WORK_DIR/pics/$i/$(printf "%06d%s" 0 .$IMG_FMT)
        rm -f "$WORK_DIR"/000*[0-9].png
    elif  "$SC_FRAMESTYLE" = "none" ]; then
        if ! "${FFMPEG_CMD@]}" 2&gt;&1 |strings &gt;&gt; "$LOG_FILE";then
            runtime_error "Problem creating images from the video."
        fi
    fi

    wait
    unset NAVSEEK_CMD rectangle run_transcode FFMPEG_CMD TRANSCODE_CMD
done
echo

fi

Any help would be greatly appreciated.

:)*******

Have you installed all codecs?
Open a terminal and write this

su
# zypper lr -d

Post the output here.

Hi,

Here is the output of the zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

–±---------------------±---------------------------±--------±--------±---------±-------±----------------------------------------------------------------±-------
1 | Packman Repository | Packman Repository | Yes | Yes | 99 | rpm-md | Index of /suse/openSUSE_11.4/ |
2 | libdvdcss repository | libdvdcss repository | Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/11.4/ |
3 | repo-debug | openSUSE-11.4-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/11.4/repo/oss |
4 | repo-debug-update | openSUSE-11.4-Update-Debug | No | Yes | 99 | NONE | Index of /debug/update/11.4 |
5 | repo-non-oss | openSUSE-11.4-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.4/repo/non-oss |
6 | repo-oss | openSUSE-11.4-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.4/repo/oss |
7 | repo-source | openSUSE-11.4-Source | No | Yes | 99 | NONE | Index of /source/distribution/11.4/repo/oss |
8 | repo-update | openSUSE-11.4-Update | Yes | Yes | 99 | rpm-md | Index of /update/11.4

And your problem is…
I want it summarized.

I launch tovid Gui
I choose the video files I want to convert into DVD format.
If I choose to make menus (animated or static) then todisc stops with the above error.
If I choose no menus then it works fine all the way through and I get a good DVD.

I know the menu options work in Tovid Gui because I used them many time on my Fedora box.

I may be missing a dependency, but I can not seem to figure out what I am missing.

Try this tovid-0.33-0.pm.1.1.noarch.rpm - openSUSE 11.4 - Download

On 2011-04-02 16:36, CyberMonkey wrote:
>
> Hi, I have often run tovid in Fedora, but I decided to try out Opensuse
> 11.4.
> 11.4 is really nice, easy to use, but still feels like real Linux.
>
> My issue is this:
>
> I can create DVD movies from xvid and other files without issues as
> long as I choose no menus.
> If I choose static or animated menus then I get a halt and an error:

which you have to read.

>
> **************
>
> Creating a menu title image
>
> [1 of 4] Seeking to 2 seconds in God Is Our Pilot.avi
> /usr/lib/tovid/todisc: line 5587: strings: command not found

So… why don’t you try to install “strings”? It comes in binutils.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Well, I went through the list on that page, and I have every single dependency and requirement listed.

I am stuck on this one.

I still think that is part of the error is a clue:

/usr/lib/tovid/todisc: line 5587: strings: command not found

Line 5587 of todisc:

if ! “${FFMPEG_CMD@]}” 2>&1 |strings >> “$LOG_FILE”;then

You did it !!!

Installing the binutils, fixed my issue.

Thanks, I was searching for an app called strings.
Now I know it is in the binutils.

I think maybe binutils should be added to the rpm for tovid gui.

Thanks.

Hi
Send an email to the packman folks and point to this thread, so it can get fixed;
packman{at}links2linux{dot}de

Thanks,
I sent the email to the packman group.

FYI
I just received this message from the packman team:

Thanks, done, the Requires:binutils is in tovid >=
0.33-0.pm.2.1, which will be pulled by the mirrors in <= 4
hours.