devede, wrong avconv/ffmpeg option "-newaudio"

Bug #1328774 reported by Andrey Belostotskiy on 2014-06-11
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
devede (Ubuntu)
Undecided
Unassigned
libav (Ubuntu)
Undecided
Unassigned

Bug Description

Whenever converting file with more than one audio track with avconv or ffmpeg, conversion stopped with
"Maybe Mencoder bug" . (But with mencoder everything converting without troubles.)

Console echo:

Launching program: avconv -i /input.mkv -y -vcodec mpeg4 -acodec libmp3lame -f avi -sn -g 300 -bf 2 -strict 1 -ac 2 -vtag DX50 -s 720x576 -threads 2 -trellis 1 -mbd 2 -b 5001k -b:a 224k /movie/movie_01_01.avi -newaudio
elemento: /usr/bin
avconv version 9.13-6:9.13-0ubuntu0.14.04.1+fdkaac, Copyright (c) 2000-2014 the Libav developers
  built on May 10 2014 17:36:31 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
Unrecognized option 'newaudio'.
Error splitting the argument list: Option not found
Creating window /usr/share/devede/werror_dialog.ui

It's look, like

/usr/lib/devede/devede_avconv_convert.py

wrong in line 546. But I don't know, how fix it.

System: Ubuntu 14.04 LTS (x32)
devede: 3.23.0~ds1-5ubuntu1
libav-tools: 6:9.13-0ubuntu0.14.04.1+fdkaac

Andrey Belostotskiy (antalis) wrote :

I think, its devede bug

affects: libav (Ubuntu) → devede (Ubuntu)
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in devede (Ubuntu):
status: New → Confirmed
Changed in libav (Ubuntu):
status: New → Confirmed
Marco Ciampa (ciampix) wrote :

Quick hack:

edit

 devede_avconv_convert.py

and

 devede_ffmpeg_convert.py

search and comment out (append a '#' on top of the line):

 command_var.append("-newaudio")

It worked for me, with avconv _and_ original ffmpeg (from ppa).

Nicholas Nelson (nenelson1981) wrote :

Commenting out the line has worked for me so far. Will repost if I come across a situation where the workaround fails.

gaara (yoggic) wrote :

Yes, commenting the line 518 in devede_avconv_convert.py and devede_ffmpeg_convert.py seems to work.

Sebastian Ramacher (s-ramacher) wrote :

devede bug.

Changed in libav (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers