conversion to mp4 of a video with audio never finishes

Bug #1367068 reported by Alessandro Nilsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
h264enc (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello, this happens every time I try to convert a video with audio to mp4.

I have a video named myVideo.avi and I wanna convert it to mp4 with the sdb preset, using LC-AAC stereo with 110kbps.
The process stuck in:

-> Track 1: Encoding audio with 'faac' to LC-AAC, please wait...
-> Track 1: This can take a while...

Seeing the code I find something:

The command "mkfifo "$TEMPDIR/audio.wav" creates a file audio.wav that the mplayer can't write, the file in the folder ~/.h264enc/job14705/audio.wav remains always with 0b of size.

I think the part that is getting stuck is this:

mkfifo "$TEMPDIR/audio.wav"
FIFO="test -p \"$TEMPDIR/audio.wav\" || mkfifo \"$TEMPDIR/audio.wav\""
MPL="$MPLAYER \"$OUTPUT\" $MPLAYEROPTS -really-quiet -vc null -vo null -nocache ${channels[1]} -ao pcm:fast:file=\"$TEMPDIR/audio.wav\""
NERO="$NEROAACENC -ignorelength ${neroaacbr[1]} -if \"$TEMPDIR/audio.wav\" -of \"$TEMPDIR/audio.aac\" &"
AACPLUS="$AACPLUSENC \"$TEMPDIR/audio.wav\" \"$TEMPDIR/audio.aac\" ${aacplusbr[1]} &"
OGG="$OGGENC ${vorbq[1]} \"$TEMPDIR/audio.wav\" -o \"$TEMPDIR/audio.ogg\" &"
FLACENC="$FLAC ${flacq[1]} \"$TEMPDIR/audio.wav\" -o \"$TEMPDIR/audio.flac\" &"
FAACENC="$FAAC -w --mpeg-vers 4 ${br[1]} ${tns[1]} $faacparams \"$TEMPDIR/audio.wav\" -o \"$TEMPDIR/audio.aac\" &"

Thanks!

--------------------

Ubuntu 14.04 64bit

h264enc:
  Instalado: 9.3.7~dfsg-0ubuntu1
  Candidato: 9.3.7~dfsg-0ubuntu1
  Tabela de versão:
 *** 9.3.7~dfsg-0ubuntu1 0
        500 http://ubuntu.c3sl.ufpr.br/ubuntu/ trusty/multiverse amd64 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.