LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2007, 02:56 PM   #1
ockertom
LQ Newbie
 
Registered: May 2006
Location: Melbourne Australia
Distribution: Mandriva 2007 ati 9550, sempron 3000 1gb mem
Posts: 13

Rep: Reputation: 0
Tovid Error


Hi I am using tovid to make some dvd's from avi's but I am having trouble with this one file it seems to do all the processes then this happens?

Encoding video stream with the following commands:
nice -n 0 mplayer -benchmark -nosound -noframedrop -noautosub -vo yuv4mpeg:file="/home/ockertom/Download/wild/wild.U13993/video.yuv" -vf-add scale=720:560 -vf-add expand=720:576 "/home/ockertom/Download/wild/wild.avi"
cat "/home/ockertom/Download/wild/wild.U13993/video.yuv" | yuvfps -r 25:1 -v 0 | nice -n 0 mpeg2enc --sequence-length 4300 --nonvideo-bitrate 304 --aspect 3 -f 8 -b 7840 -g 4 -G 9 -D 10 -K hi-res --frame-rate 3 -v 0 --video-norm p --reduction-4x4 2 --reduction-2x2 1 -q 5 -o "/home/ockertom/Download/wild/wild.U13993/video.m2v"

Processing started. Please wait...



Processing started. Please wait...
--- Encoding video stream: 2259 MB written to video.m2v


=========================================================

Multiplexing audio and video together with the following command:
mplex -V -f 8 -o "/home/ockertom/Download/wild/wild.mpg" "/home/ockertom/Download/wild/wild.U13993/video.m2v" "/home/ockertom/Download/wild/wild.U13993/audio.ac3"
Multiplexing finished successfully
du: cannot access `/home/ockertom/Download/wild/wild*.mpg': No such file or directory
Output files:
expr: syntax error
expr: syntax error

=========================================================

----------------------------------------
Final statistics
----------------
tovid 0.28
File: /home/ockertom/Download/wild/wild.mpg, 4897 secs DVD PAL
Final size: 0 kilobytes
Target bitrate: 7840 kbits/sec
Average bitrate: kbits/sec
Peak bitrate: kbits/sec
Took 01:34:46 to encode on AMD Sempron(tm) Processor 3000+ 1800.374 mhz
-----------------------------------------
EOF
Statistics written to /home/ockertom/.tovid/stats.tovid
Cleaning up...
removed `/home/ockertom/Download/wild/wild.U13993/video.yuv'
Removing temporary files...
removed `/home/ockertom/Download/wild/wild.U13993/video.m2v'
removed `/home/ockertom/Download/wild/wild.U13993/audio.ac3'
removed `/home/ockertom/Download/wild/wild.U13993/tovid.log'
removed `/home/ockertom/Download/wild/wild.U13993/tovid.scratch'
removed directory: `/home/ockertom/Download/wild/wild.U13993'

I do not understand why it could not access the file? It has worked flawlessly on other files. Oh and another thing about tovid when I try to start the tovid gui I get thi error.

Traceback (most recent call last):
File "/usr/bin/tovidgui", line 43, in ?
frame = TovidFrame(None, wx.ID_ANY, "tovid GUI")
File "/usr/lib/python2.4/site-packages/libtovid/gui/frames.py", line 30, in __init__
self.curConfig = TovidConfig()
File "/usr/lib/python2.4/site-packages/libtovid/gui/configs.py", line 37, in __init__
self.ConfigInit()
File "/usr/lib/python2.4/site-packages/libtovid/gui/configs.py", line 43, in ConfigInit
self.ConfigAvailFonts()
File "/usr/lib/python2.4/site-packages/libtovid/gui/configs.py", line 70, in ConfigAvailFonts
if strIMFonts[im].find(strWXFonts[wxfont]) != -1:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
Thanks in advance for any help I do not understand why I am having so much trouble with this one file
 
Old 02-11-2007, 05:58 PM   #2
Mac_North
LQ Newbie
 
Registered: Mar 2005
Location: Colorado
Distribution: debian
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by ockertom
du: cannot access `/home/ockertom/Download/wild/wild*.mpg': No such file or directory
Output files:
expr: syntax error
expr: syntax error
What does idvid say about your input file?

Quote:
Originally Posted by ockertom
----------------------------------------
Final statistics
----------------
tovid 0.28
The most recent version of tovid is 0.29, with 0.30 due any day. Please post your idvid output and try the latest version.

Quote:
Originally Posted by ockertom
Oh and another thing about tovid when I try to start the tovid gui I get thi error.

...

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
Thanks in advance for any help I do not understand why I am having so much trouble with this one file
Did you miss my earlier reply?
 
Old 02-12-2007, 09:58 PM   #3
ockertom
LQ Newbie
 
Registered: May 2006
Location: Melbourne Australia
Distribution: Mandriva 2007 ati 9550, sempron 3000 1gb mem
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Mac_North
What does idvid say about your input file?

The most recent version of tovid is 0.29, with 0.30 due any day. Please post your idvid output and try the latest version.

Did you miss my earlier reply?
hey mate just downloaded latest tovid still getting this error

[root@localhost tovid-0.30]# tovidgui
Traceback (most recent call last):
File "/usr/bin/tovidgui", line 43, in ?
frame = TovidFrame(None, wx.ID_ANY, "tovid GUI")
File "/usr/lib/python2.4/site-packages/libtovid/gui/frames.py", line 30, in __init__
self.curConfig = TovidConfig()
File "/usr/lib/python2.4/site-packages/libtovid/gui/configs.py", line 37, in __init__
self.ConfigInit()
File "/usr/lib/python2.4/site-packages/libtovid/gui/configs.py", line 43, in ConfigInit
self.ConfigAvailFonts()
File "/usr/lib/python2.4/site-packages/libtovid/gui/configs.py", line 70, in ConfigAvailFonts
if strIMFonts[im].find(strWXFonts[wxfont]) != -1:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
So it hasn't changed from the first post Ah well it happens as they say I will have to stick to the command line
 
Old 02-13-2007, 12:18 AM   #4
Mac_North
LQ Newbie
 
Registered: Mar 2005
Location: Colorado
Distribution: debian
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by ockertom
hey mate just downloaded latest tovid still getting this error
It looks like you have two versions of tovid installed, and the first tovidgui that your system finds is the old one. In a terminal, do: type -a tovidgui and see if there is more than one. I suspect you'll have /usr/bin/tovidgui and /usr/local/bin/tovidgui . You'll need to remove the old version, or install the new one over the old (./configure --prefix=/usr).

tovidgui does not have if strIMFonts[im].find(strWXFonts[wxfont]) != -1: in configs.py, you can see by grepping for 'find':
Code:
:) friedrij@savoy:~/src/oldtovids/tovid-0.30$ grep find libtovid/gui/configs.py
        #    a set (thereby removing any duplicate entries) and find their
Only a comment has 'find' in it, no commands.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tovid gui error ockertom Linux - Software 1 02-07-2007 02:36 AM
Need help installing Tovid weltercat Linux - Desktop 9 01-16-2007 04:53 PM
Tovid felix jay Linux - Newbie 4 11-27-2006 08:10 PM
tovid, wxPython and apt muddywaters Linux - Software 1 05-30-2006 12:09 AM
tovid installation problem ksgill Linux - Newbie 1 03-05-2005 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration