LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices

Reply
 
Search this Thread
Old 06-27-2005, 03:01 PM   #661
SerfurJ
Member
 
Registered: May 2003
Posts: 80

Rep: Reputation: 15

using the patch without an aspect ratio switch worked nicely with one movie. it didn't work with the second i tried, so i'm trying to do things manually to see what went wrong. i was able to encode the audio, then i tried this:
Code:
mplayer -benchmark -nosound -noframedrop -noautosub -vo yuv4mpeg -vf-add pp=hb/vb/dr/al:f -vf-add hqdn3d "movie.avi"
and my hard drive filled up with a >17GB stream.yuv file. i'm guessing that tovid pipes stream.yuv to the next command to prevent this from happening, but i couldn't figure out how to do it. here's what i tried:
Code:
$ nice -n 19 mplayer -benchmark -nosound -noframedrop -noautosub -vo yuv4mpeg -vf-add pp=hb/vb/dr/al:f -vf-add hqdn3d "movie.avi" | yuvfps -r 30000:1001 -n -v 0 | nice -n 19 mpeg2enc -M 0 -a 2 -f 8 -b 8000 -g 4 -G 11 -D 10 -F 4 -v 0 -n n -4 2 -2 1 -q 5 --keep-hf -o "movie.m2v"
**ERROR: [yuvfps] Could'nt read YUV4MPEG header!
**ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed read/write)!
how does tovid encode the video without filling up the harddrive? from the source, it looks like they're two separate commands.
 
Old 08-03-2005, 05:35 PM   #662
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
is there any way to convert an .ogg file to mpg using tovid?
 
Old 08-15-2005, 03:51 PM   #663
jrw2005
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Re: Tovidgui

I'm having the same problem with the tovidgui, and I have an identical system to what you reported. Mandriva LE 2005, same Python and wxPythonGTK packages installed. I was running zlib 1.2.2 and zlib-devel 1.2.2, but updated to zlib and zlib-devel to 1.2.3 when I got this error with no change. tovidgui.py loads, very briefly spawns a blank window, then dumps the exact same info you've reported to the console I started it from.

CLI works great on my system. Excellent tool.


Quote:
Originally posted by sjaglin
Hi there,
New to Linux (2 months!!) so usual apologies from newbies. I have looked through the questions and can't find a thread about my problem so here it is:

I run tovid as a command line and it is a marvel. I love it! I just wish someone would design a nice Icon cause I use another icon and it doesn t feel the same...

My problem:

When I try to run tovidgui I get :

Traceback (most recent call last):
File "./tovidgui.py", line 3513, in ?
frame = MainFrame(None, wxID_ANY, "tovidGUI")
File "./tovidgui.py", line 3384, in __init__
self.panDiscLayout = DiscLayoutPanel( self, wxID_ANY )
File "./tovidgui.py", line 2514, in __init__
self.idxIconMenu = self.listIcons.Add( GetMenuIcon() )
File "./tovidgui.py", line 122, in GetMenuIcon
iconMenu = zlib.decompress(
zlib.error: Error -3 while decompressing data: invalid window size

and it crashes without starting. I run Mandriva LE2005, python-2.4-5mdk,wxPythonGTK-2.5.3.1-3mdk. I don t know what to try next.

I can't wait to have my GUI, please help me!!!

Thanks for all your work !

Stef
 
Old 08-29-2005, 10:05 AM   #664
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
Here is info for new users who end up here and are looking for help:

If you need assistance or have questions about tovid,
please consult the following (in order of preference):

tovid documentation (also the main website):
http://tovid.sourceforge.net/

tovid discussion forum:
http://www.createphpbb.com/phpbb/?mforum=tovid

tovid IRC channel:
irc.freenode.org, channel #tovid

Debian experimental apt repository:

http://julien.valroff.free.fr/


Thanks.

Last edited by sk545; 08-29-2005 at 10:14 AM.
 
Old 10-28-2005, 01:06 PM   #665
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
a little bump.
 
Old 12-29-2005, 03:02 AM   #666
streaker
LQ Newbie
 
Registered: Aug 2005
Location: /home/streaker
Distribution: Ubuntu 5.04
Posts: 4

Rep: Reputation: 0
A little audio problem I have:
I hear no sound when playing a final mpeg I created by using tovid version 0.22 on Ubuntu. I managed to extract a wav file from the original avi file and its playing fine but no sound on the final mpg.

The avi file info:
Quote:

VIDEO: [XVID] 720x480 24bpp 25.000 fps 645.5 kbps (78.8 kbyte/s)

AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
and the final mpg info:

Quote:
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 7840.0 kbps (980.0 kbyte/s)
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
Can you tell me, what seems to be the problem?

BTW, nice script
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Convert AVI to either DVD, VCD or SVCD format linux-rulz Linux - General 13 12-27-2011 02:29 PM
XVID, VCD, SVCD and so on. How to?? Thakowbbery Suse/Novell 7 10-31-2005 04:39 PM
Encoding video for VCD and DVD wapcaplet LinuxQuestions.org Member Success Stories 3 08-01-2004 02:03 PM
SVCD, VCD, DVD editing asalford Linux - Software 19 07-16-2004 05:47 PM
converting *.avi file to *.vcd (or svcd) zstingx Linux - General 1 10-07-2003 07:44 AM


All times are GMT -5. The time now is 03:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration