No sound on created DVDs

831 views
Skip to first unread message

John

unread,
Feb 27, 2011, 11:27:53 AM2/27/11
to devede...@googlegroups.com
Newly created DVDs created with devede on archlinux don't have any sound.  Downgrading mplayer to 32663-1 and x264 to 20101013-1 fixes this.  There is a bug report around this on the mplayer bugzilla but no one has responded to it it.  I wondered whether it could actually be a bug in devede?

tjwoosta

unread,
Apr 10, 2011, 2:33:04 PM4/10/11
to DeVeDe forum
Same Issue here.

Im no dev but Id say the newest version of devede isnt compatible with
the latest mplayer and x264. The finished dvd's never have any sound,
unless the original video had ac3 audio and you just choose the "This
file already has ac3 audio" checkbox. This has been an issue for
months and nobody seems to be taking notice anywhere. Downgrading
mplayer and x264 does solve the audio problem on devede, but breaks
everything else that uses x264, like music players and video editing
software for example.

Martin

unread,
May 3, 2011, 11:18:58 PM5/3/11
to DeVeDe forum

Hi,

I'm having the same problem but I also don't get audio in the preview.
I'm running DeVeDe 3.16.9, Mplayer 33265-4.5.2 and x264 0.0.20110223.
I ran devede-debug and I think I've hit what the problem is (at least
for my system).

The problem appears to be that DeVeDe is using the wrong audio codec.
According to the output of mplayer the ac3 codec is using an
"unsupported" input method. There is an "ac3_fixed" codec. I've tested
the mencoder command changing the codec to ac3_fixed and audio does
work for the preview file.

Here is the relevant section of devede.debug when I try to launch a
preview on a Matroska file:

Launching program: mencoder -srate 48000 -speed 25025:24000 -af
lavcresample=48000 -noautosub -oac lavc -aid 1 -ovc lavc -of mpeg -
mpegopts format=dvd:tsaf -endpos 60.0 -ofps 25 -vf
scale=720:576,harddup -lavcopts
threads=2:vcodec=mpeg2video:trell:mbd=2:sc_threshold=1000000000:cgop:vstrict=0:vrc_maxrate=8500:vrc_buf_size=1835:vbitrate=5001:keyint=12:acodec=ac3:abitrate=224:aspect=16/9
-o /var/tmp/previewfile_01_01.mpg /usr/home/martin/testfile.mkv
elemento: /usr/bin
[matroska,webm @ 0x13c1f30] max_analyze_duration reached
[matroska,webm @ 0x13c1f30] Estimating duration from bitrate, this may
be inaccurate
Encoder requires input not properly supported.Try using e.g.
'ac3_fixed' instead of 'ac3' as codec

Samsagax

unread,
May 12, 2011, 2:30:53 PM5/12/11
to DeVeDe forum
I had the same issue but couldn't fix it the way you describe, Martin.
I have no audio on any video format, but mplayer does play sound when
the same video is played.
I'm using Archlinux. In Ubuntu Natty I hadn't this issue (probably an
older version of mplayer?)

Samsagax

unread,
May 12, 2011, 5:07:19 PM5/12/11
to DeVeDe forum
Try this, it worked for me:
Edit the file
/usr/lib/devede/devede_video_convert.py
arround line 467 change:
Orig:
if disctype=="dvd":
lavcopts+="ac3"
else:

New:
if disctype=="dvd":
lavcopts+="ac3_fixed"
else:


Should work at least the video has sound now.

Martin

unread,
May 12, 2011, 5:18:50 PM5/12/11
to DeVeDe forum

Hi,

I actually had to hack the sources. I use Gentoo which "optimizes" all
python modules into some weird byte code. Here's the patch I used:

diff -urN devede-3.16.9.old/devede_video_convert.py devede-3.16.9.new/
devede_video_convert.py
--- devede_video_convert.py 2010-04-18 16:27:34.000000000 -0400
+++ devede_video_convert.py 2011-05-03 23:33:50.121770001 -0400
@@ -464,7 +464,7 @@
if(copy_audio==False):
lavcopts+=":acodec="
if disctype=="dvd":
- lavcopts+="ac3"
+ lavcopts+="ac3_fixed"
else:
lavcopts+="mp2"
lavcopts+=":abitrate="+str(audiorate)
diff -urN devede-3.16.9.old/devede_xml_menu.py devede-3.16.9.new/
devede_xml_menu.py
--- devede_xml_menu.py 2010-01-27 17:52:18.000000000 -0500
+++ devede_xml_menu.py 2011-05-03 23:34:21.191770001 -0400
@@ -884,7 +884,7 @@
lavcopts=""
lavcopts
+="vcodec=mpeg2video:sc_threshold=1000000000:cgop:trell:mbd=2:vstrict=0:"
lavcopts
+="vrc_maxrate=7000:vrc_buf_size=1835:vbitrate=1000:keyint=12:"
- lavcopts+="acodec=ac3:abitrate=128:aspect="+wide
+ lavcopts+="acodec=ac3_fixed:abitrate=128:aspect="+wide
command_var.append(lavcopts)
command_var.append("-o")
command_var.append(currentfile)


Sergio Costas

unread,
May 13, 2011, 7:56:43 PM5/13/11
to devede...@googlegroups.com
Hi all:

I uploaded a fix for this bug to the Devede GIT repository. To activate
it, just go to Edit->Preferences.

If you never downloaded the GIT repository, just install git on your
system and type

git clone https://github.com/devede/Devede.git

If you already downloaded the GIT repository, just open a terminal, go
into its folder and type

git pull

this will update your GIT repository.

Enjoy

David Ward

unread,
Dec 26, 2012, 2:43:37 AM12/26/12
to devede...@googlegroups.com
Sorry to reply to an old post but I am having this issue on Linux Mint 13

ii  devede                                               3.21.0-1
ii  ffmpeg                                               4:0.8.4-0ubuntu0.12.04.1
ii  mencoder                                             2:1.0~rc4.dfsg1+svn34540-1+medibuntu1

Distributor ID: LinuxMint
Description:    Linux Mint 13 Maya
Release:        13
Codename:       maya

User FFMPEG instead of Mencoder is NOT ticked.
The AC3_FIXED option was not ticked.

Ticking the latter did not help though; still no sound.

Ticking the former (to use Mencoder) results in no menus as reported here:

Not sure if is this is a Linux Mint issue specifically or not.

Am I missing an AC3 fixed package perhaps?

Thanks for this great app.

Sergio Costas

unread,
Dec 26, 2012, 10:12:19 AM12/26/12
to devede...@googlegroups.com
Try the current stable version, 3.23.0. This has several fixes and,
also, allows to choose separately what to use to code films and menus,
so you can use mencoder for menus and ffmpeg for videos, or vice-versa.

El 26/12/12 08:43, David Ward escribi�:
--
Nos leemos
RASTER (Linux user #228804)
ras...@rastersoft.com http://www.rastersoft.com

David Ward

unread,
Dec 26, 2012, 10:11:20 PM12/26/12
to devede...@googlegroups.com
I can confirm ver 3.23.0 with default settings (ffmpeg for videos and mencoder for menus and NONE of the AC3 fix tick boxes ticked) works on my system.

Thank you very much.



On Thursday, December 27, 2012 2:12:19 AM UTC+11, Sergio costas wrote:
Try the current stable version, 3.23.0. This has several fixes and,
also, allows to choose separately what to use to code films and menus,
so you can use mencoder for menus and ffmpeg for videos, or vice-versa.

El 26/12/12 08:43, David Ward escribi�:

Branden Capell

unread,
Dec 29, 2012, 10:09:57 PM12/29/12
to devede...@googlegroups.com
This forum really keeps my inbox full.
Reply all
Reply to author
Forward
0 new messages