audio format problems

40 views
Skip to first unread message

MrBaseball34

unread,
Dec 31, 2010, 6:51:53 PM12/31/10
to tovid-users
Since I don't like having a menu on my ripped DVDs, I use the command
line to create them. I took the command line that tovidGUI produced
and used it like this:

tovid -quiet -overwrite -ntsc -dvd -full -quality 8 -in "/home/eddie/
NATM2.mp4" -out "/home/eddie/Downloads/NATM2.mp4.encoded" -from-gui -
noask

But, I'm getting an error and don't know how to fix it:
Here is the output when the file was analyzed:

[tovid]: =========================================================
[tovid]:
[tovid]: Probing video for information. This may take several
minutes...
[tovid]: The encoding process is estimated to require 4398 MB of disk
space.
[tovid]: You currently have 20977 MB available in this directory.
[tovid]: Analysis of file /home/eddie/NATM2.mp4:
[tovid]: 1280 x 544 pixels, 23.976 fps
[tovid]: Duration (best guess): 01:44:43 (HH:MM:SS)
[tovid]: avc1 video with faad audio
[tovid]: Target format:
[tovid]: 720 x 480 pixels, 29.970 fps
[tovid]: m2v video with ac3 audio
[tovid]: 7200 kbits/sec video, 224 kbits/sec audio
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Using explicitly provided aspect ratio 4:3
[tovid]: Overriding auto-detected aspect ratio 235:100
[tovid]: No letterboxing necessary
[tovid]: Input is not 29.970 fps. Framerate will be adjusted.
[tovid]: Scaling picture to 720 x 480
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Encoding audio stream to ac3 with the following command:
[tovid]: nice
-n 0
ffmpeg -i
/home/eddie/NATM2.mp4 -vn
-ab 224k
-ar 48000
-ac 2
-acodec ac3
-y /home/eddie/NATM2.mp4.encoded.1/audio.ac3
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009
Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --
enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --
enable-libgsm --enable-libschroedinger --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-
stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --
enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --
enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 4 2010 12:35:30, gcc: 4.4.3

Seems stream 0 codec frame rate differs from container frame rate:
47.95 (133786/2790) -> 23.98 (24000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/eddie/NATM2.mp4':
Duration: 01:44:43.34, start: 0.000000, bitrate: 1966 kb/s
Stream #0.0(und): Video: h264, yuv420p, 1280x544, 23.98 tbr, 23.98
tbn, 47.95 tbc
Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16
Output #0, ac3, to '/home/eddie/NATM2.mp4.encoded.1/audio.ac3':
Stream #0.0(und): Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
Resampling with input channels greater than 2 unsupported.
Can not resample 6 channels @ 48000 Hz to 2 channels @ 48000 Hz
[tovid]: Encode stopped, killing all sub processes
[tovid]: Keeping temporary files used during encoding in /home/eddie/
NATM2.mp4.encoded.1
[tovid]: tovid encountered an error during encoding:
[tovid]: There was a problem with encoding the audio to ac3
format.

grepper

unread,
Jan 2, 2011, 10:19:33 PM1/2/11
to tovid...@googlegroups.com
Hi,
ffmpeg has changed the reporting of 5.1 audio from '5:1' to '5.1' and
tovid has not kept up. I have adjusted the code in the idvid script
accordingly.
svn up and it should work - let me know please.

thanks for reporting !
grepper

grepper

unread,
Jan 3, 2011, 8:57:30 PM1/3/11
to tovid...@googlegroups.com
On Friday December 31 2010, MrBaseball34 wrote:
> Since I don't like having a menu on my ripped DVDs, I use the command
> line to create them. I took the command line that tovidGUI produced
> and used it like this:
>
> tovid -quiet -overwrite -ntsc -dvd -full -quality 8 -in "/home/eddie/
> NATM2.mp4" -out "/home/eddie/Downloads/NATM2.mp4.encoded" -from-gui -
> noask

Hi again,
In current tovidgui (svn), there is a "No menu" option under "Menu
options" on the opening window. The command that is run is similar to:
tovid disc -no-menu -files NATM2.mp4 -out NATM2.mp4.encoded ... etc ...

Using current svn tovid will also solve the downmixing problem as I
mentioned in my other post in this thread. If you could verify this fix
it would be a help.

grepper

MrBaseball34

unread,
Jan 6, 2011, 10:23:53 PM1/6/11
to tovid-users
How do I download this svn version?

grepper

unread,
Jan 7, 2011, 1:26:31 AM1/7/11
to tovid...@googlegroups.com
On Thursday January 6 2011, MrBaseball34 wrote:
> How do I download this svn version?

See the "Subversion" section at this page:
http://tovid.wikia.com/wiki/Installing_tovid

Make sure you uninstall your present tovid before installing the new
one.

grepper

MrBaseball34

unread,
Jan 8, 2011, 6:50:39 PM1/8/11
to tovid-users
I must be dense because I did everything on this page, AFA the SVN
install is concerned and I still cannot launch tovidgui.

I move the tovidgui.desktop file to the desktop and made it launchable
but nothing comes up.

grepper

unread,
Jan 8, 2011, 7:07:06 PM1/8/11
to tovid...@googlegroups.com

On Saturday January 8 2011, MrBaseball34 wrote:
> I must be dense because I did everything on this page, AFA the SVN
> install is concerned and I still cannot launch tovidgui.
>
> I move the tovidgui.desktop file to the desktop and made it
> launchable but nothing comes up.

Run:
tovid gui
from a terminal and see what error messages it prints out.

grepper

MrBaseball34

unread,
Jan 9, 2011, 12:43:11 AM1/9/11
to tovid-users
_tkinter.TclError: can't find package Tix

is the error I get when running from command-line.

MrBaseball34

unread,
Jan 9, 2011, 12:51:05 AM1/9/11
to tovid-users
This is full error trace:
Traceback (most recent call last):
File "/usr/local/lib/tovid/todiscgui", line 8, in <module>
todisc.run(sys.argv[1:])
File "/usr/local/lib/python2.6/dist-packages/libtovid/guis/
todisc.py", line 993, in run
gui = GUI("tovid gui", 800, 660, app, icon=tovid_icon)
File "/usr/local/lib/python2.6/dist-packages/libtovid/metagui/
gui.py", line 488, in __init__
Tix.Tk.__init__(self)
File "/usr/lib/python2.6/lib-tk/Tix.py", line 210, in __init__
self.tk.eval('package require Tix')
_tkinter.TclError: can't find package Tix


MrBaseball34

unread,
Jan 9, 2011, 12:52:11 AM1/9/11
to tovid-users
Downloaded Tix package from SF but don't know how to install.

grepper

unread,
Jan 9, 2011, 9:04:30 AM1/9/11
to tovid...@googlegroups.com
On Sunday January 9 2011, MrBaseball34 wrote:
> Downloaded Tix package from SF but don't know how to install.
>
> > _tkinter.TclError: can't find package Tix

Your distro doesn't have a package for Tix ? That would obviously be
the easiest way to install it.

grepper

Mike Muzurakis

unread,
Jan 9, 2011, 3:51:40 AM1/9/11
to tovid...@googlegroups.com
What OS/distribution are you using? If you're on ubuntu/debian, just:
sudo apt-get install tix

or open synaptic package manager and search for tix.

If you're using another linux distro, use your distribution's package
manager to install tix.

MrBaseball34

unread,
Jan 9, 2011, 2:12:05 PM1/9/11
to tovid-users
I got an error but realized I'd typed it in as
sudo apt-get install Tix (not the capital T)

tried it with small 't' and got it working.

Thanks, everyone.

P O'Neil

unread,
Jan 23, 2020, 11:04:50 AM1/23/20
to tovid-users
Old thread, new issue. I have been trying to recode some DVDs from PAL to NTSC using tovid but am stymied almost immediately with this sound issue.  Tovid fails out on the first actual vob with:

Encode stopped, killing all sub processes
Keeping temporary files used during encoding in /home/padraigen/DVDchg/newdvd/new-vob_00m_001.vob.enc.2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

tovid encountered an error during encoding:
    There was a problem with encoding the audio to ac3 format.
Check the contents of /home/padraigen/DVDchg/newdvd/new-vob_00m_001.vob.enc.2/makempg.log to see what went wrong.

I see the script for idvid does contain 5.1 rather than 5:1 so the problem of the previous user on this couldn't be my problem.  Going to the wiki as suggested in the error message is of no help as I find nothing refering to this issue or how to fix it. 

grepper

unread,
Jan 23, 2020, 12:26:23 PM1/23/20
to tovid-users


On Thursday, 23 January 2020 11:04:50 UTC-5, P O'Neil wrote:
Old thread, new issue. I have been trying to recode some DVDs from PAL to NTSC using tovid but am stymied almost immediately with this sound issue.  Tovid fails out on the first actual vob with:

Encode stopped, killing all sub processes
Keeping temporary files used during encoding in /home/padraigen/DVDchg/newdvd/new-vob_00m_001.vob.enc.2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
tovid encountered an error during encoding:
    There was a problem with encoding the audio to ac3 format.
Check the contents of /home/padraigen/DVDchg/newdvd/new-vob_00m_001.vob.enc.2/makempg.log to see what went wrong.

I see the script for idvid does contain 5.1 rather than 5:1 so the problem of the previous user on this couldn't be my problem.  Going to the wiki as suggested in the error message is of no help as I find nothing refering to this issue or how to fix it. 

Hi,
    Please start a new thread for this question.
Its impossible to say what the problem since you don't say what command line you used (or perhaps the gui), what version of tovid you are using, what distro, nor do you include any logs. For starters look at /home/padraigen/DVDchg/newdvd/new-vob_00m_001.vob.enc.2/makempg.log as the error message suggests, or at least the "todisc.log" which should include much the same.

cheers,
grepper
Reply all
Reply to author
Forward
0 new messages