jliljebl / flowblade

Video Editor for Linux
GNU General Public License v3.0
2.66k stars 181 forks source link

flowblade renders without audio #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was rendering some video clips with new audio, but after the rendering 
progress was finished my movie file had no audio track.

I am using Ubuntu 12.04 and the current flowblade version and I tried different 
rendering profiles, but in all cases the problem occured.

A snapshot of my environment is attached.

Original issue reported on code.google.com by Gregor.M...@gmail.com on 25 Jan 2013 at 8:59

Attachments:

GoogleCodeExporter commented 9 years ago
Okay, unfortunately I have not been able to reproduce this, so at this point 
I'm taking no action on this Issue. I'm running Ubuntu 12.04 here myself. Some 
further points:

1. I'm leaving this open to see if there are other cases of this bug.
2. Hopefully future versions of MLT  will fix this.
3. I will add a "Write environment Data to File" button so that users can 
provide more information on their runtime environments more easily.   

Original comment by janne.li...@gmail.com on 30 Jan 2013 at 10:31

GoogleCodeExporter commented 9 years ago
Tried to render attached file. No sound. Also many presets cause a crash in 
Ubuntu 13.10 amd64.

f=mp4
s=1920x1080
hq=1
acodec=mp2
ab=192k
ar=48000
vcodec=mpeg4
minrate=0
b=3000k

Original comment by pki...@gmail.com on 25 Nov 2013 at 5:07

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in repository.

Original comment by janne.li...@gmail.com on 2 Dec 2013 at 6:27

GoogleCodeExporter commented 9 years ago
I have got the same problem, there is no sound after I render a video. Is it 
because of my settings? You find them in attachment.

Original comment by marsa...@gmail.com on 25 Feb 2015 at 2:58

Attachments:

GoogleCodeExporter commented 9 years ago
I tested this on my system, and I'm unable to reproduce the problem.

By the way, are you using the latest version of Flowblade (0.16) and a 
reasonably new MLT like 0.9.2? For example Ubuntu carries an older version of 
Flowblade than 0.12 that was the release that carries the Fixed Dec 2. 2013 
patch for issues on mp4 rendering.

Original comment by janne.li...@gmail.com on 3 Mar 2015 at 12:24

GoogleCodeExporter commented 9 years ago
I updated Flowblade to 0.16 on Ubuntu 14.10 and have still the same problem. 
What's that mlt and do I have to update that manually too? How do I do that?  

Original comment by heinecke...@gmail.com on 16 Mar 2015 at 10:02

GoogleCodeExporter commented 9 years ago
Ok, Flowblade 0.16 and Ubuntu 14.10 are new enough so that no audio rendering 
related problems should be caused by this.

Some things that you can do to try fix or diagnose this problem:

1. Does installing extra codecs with terminal command 'sudo apt-get install 
libavcodec-extra-56' help?

2. Start Flowblade with terminal command 'flowblade', do the rendering that 
causes the missing audio bug to happen and post the full output from terminal 
here.

Original comment by janne.li...@gmail.com on 17 Mar 2015 at 12:04

GoogleCodeExporter commented 9 years ago
Ok, I installed libacodec-extra-56 but still no luck.

Here's the output from the terminal:

$ flowblade
FLOWBLADE MOVIE EDITOR 0.16
---------------------------
Launch script dir: /usr/bin
Running from installation...
modules path: /usr/share/flowblade/Flowblade
MLT found, version: 0.9.2
OS: Ubuntu 14.10
Python 2.7.8 (default, Oct 20 2014, 15:05:19) 
[GCC 4.9.1]
GTK+ version: (2, 24, 25)
Locale: de_DE
Detecting environment...
---
video_codecs:
  - a64multi
  - a64multi5
  - alias_pix
  - asv1
  - asv2
  - bmp
  - cljr
  - dnxhd
  - dpx
  - dvvideo
  - ffv1
  - ffvhuff
  - flashsv
  - flv
  - gif
  - h261
  - h263
  - h263p
  - huffyuv
  - jpegls
  - ljpeg
  - mjpeg
  - mpeg1video
  - mpeg2video
  - mpeg4
  - msmpeg4v2
  - msmpeg4
  - pam
  - pbm
  - pcx
  - pgm
  - pgmyuv
  - png
  - ppm
  - prores
  - qtrle
  - rawvideo
  - roqvideo
  - rv10
  - rv20
  - sgi
  - sunrast
  - svq1
  - targa
  - tiff
  - utvideo
  - v210
  - v410
  - wmv1
  - wmv2
  - xbm
  - xwd
  - zlib
  - zmbv
  - libopenjpeg
  - libschroedinger
  - libtheora
  - libvpx
  - libvpx-vp9
  - libx264
  - libxvid
...
---
audio_codecs:
  - comfortnoise
  - aac
  - ac3
  - ac3_fixed
  - alac
  - eac3
  - flac
  - mp2
  - nellymoser
  - real_144
  - vorbis
  - wmav1
  - wmav2
  - pcm_alaw
  - pcm_f32be
  - pcm_f32le
  - pcm_f64be
  - pcm_f64le
  - pcm_mulaw
  - pcm_s8
  - pcm_s16be
  - pcm_s16le
  - pcm_s24be
  - pcm_s24daud
  - pcm_s24le
  - pcm_s32be
  - pcm_s32le
  - pcm_u8
  - pcm_u16be
  - pcm_u16le
  - pcm_u24be
  - pcm_u24le
  - pcm_u32be
  - pcm_u32le
  - roq_dpcm
  - adpcm_adx
  - g722
  - g726
  - adpcm_ima_qt
  - adpcm_ima_wav
  - adpcm_ms
  - adpcm_swf
  - adpcm_yamaha
  - libgsm
  - libgsm_ms
  - libmp3lame
  - libopencore_amrnb
  - libopus
  - libspeex
  - libvo_aacenc
  - libvo_amrwbenc
  - libvorbis
...
---
formats:
  - a64
  - ac3
  - adts
  - adx
  - aiff
  - amr
  - asf
  - ass
  - asf_stream
  - au
  - avi
  - avm2
  - cavsvideo
  - crc
  - daud
  - dirac
  - dnxhd
  - dts
  - dv
  - eac3
  - f4v
  - ffmetadata
  - filmstrip
  - flac
  - flv
  - framecrc
  - framemd5
  - g722
  - gif
  - gxf
  - h261
  - h263
  - h264
  - hds
  - hevc
  - hls
  - ilbc
  - image2
  - image2pipe
  - ipod
  - ismv
  - ivf
  - latm
  - m4v
  - md5
  - matroska
  - matroska
  - mjpeg
  - mlp
  - mmf
  - mov
  - mp2
  - mp3
  - mp4
  - mpeg
  - vcd
  - mpeg1video
  - dvd
  - svcd
  - mpeg2video
  - vob
  - mpegts
  - mpjpeg
  - mxf
  - mxf_d10
  - null
  - nut
  - ogg
  - oma
  - alaw
  - mulaw
  - f64be
  - f64le
  - f32be
  - f32le
  - s32be
  - s32le
  - s24be
  - s24le
  - s16be
  - s16le
  - s8
  - u32be
  - u32le
  - u24be
  - u24le
  - u16be
  - u16le
  - u8
  - psp
  - rawvideo
  - rm
  - roq
  - rso
  - rtp
  - rtsp
  - sap
  - segment
  - smjpeg
  - smoothstreaming
  - sox
  - spdif
  - srt
  - swf
  - 3g2
  - 3gp
  - truehd
  - rcv
  - voc
  - wav
  - webm
  - wv
  - yuv4mpegpipe
  - alsa
  - oss
...
MLT detection succeeded, 115 formats, 61 video codecs and 52 audio codecs found.
318 MLT services found.
Loading render profiles...
Proxy encoding MPEG-4 Preset Ultrafast ...available
Proxy encoding MPEG-2 Transport Stream ...available
Loading filters...
MLT service lumakey not found.
Brightness dropped, MLT version too low for this filter.
Loading transitions...
RGB Adjustment dropped for Color Adjustment
Hue dropped for Color Adjustment
Gamma dropped for Lift Gain Gamma
Player initialized with profile:  DV/DVD PAL
Autosave started...
Save project autosave_1557576a933fbec48679caf8d70e1714
Loading gertrud2.flb, SAVEFILE_VERSION: 5
Player initialized with profile:  DV/DVD PAL
Autosave started...
Save project autosave_1557576a933fbec48679caf8d70e1714
timeline render...
render consumer created, path:/home/ralf/Videos/Gertrüdchen/gertrud3.mp4, 
args: f=mp4, s=720x576, hq=1, acodec=libmp3lame, ab=384k, ar=48000, 
pix_fmt=yuv420p, vcodec=libx264, minrate=0, b=3000k, b_strategy=1, subcmp=2, 
cmp=2, coder=1, flags=+loop, flags2=dct8x8, qmax=51, subq=7, qmin=10, 
qcomp=0.6, qdiff=4, trellis=1, aspect=@4/3
start_rendering(), start frame :0, stop_frame: 1637
[libx264 @ 0x7f58603f4e80] [Eval @ 0x7f586affc4c0] Undefined constant or 
missing '(' in 'dct8x8'
[libx264 @ 0x7f58603f4e80] Unable to parse option value "dct8x8"
[libmp3lame @ 0x7f586015d100] [Eval @ 0x7f586affc470] Undefined constant or 
missing '(' in 'dct8x8'
[libmp3lame @ 0x7f586015d100] Unable to parse option value "dct8x8"
[libmp3lame @ 0x7f586015d100] channel_layout not specified
[mp4 @ 0x7f58600146c0] Using AVStream.codec.time_base as a timebase hint to the 
muxer is deprecated. Set AVStream.time_base instead.
Save project autosave_1557576a933fbec48679caf8d70e1714
Save project autosave_1557576a933fbec48679caf8d70e1714
stop_rendering, producer frame: 1637
[consumer avformat] error writing flushed audio frame
render done, time: 1m 30s
Save project autosave_1557576a933fbec48679caf8d70e1714
Save project autosave_1557576a933fbec48679caf8d70e1714
Save project autosave_1557576a933fbec48679caf8d70e1714
Save project autosave_1557576a933fbec48679caf8d70e1714
Save project autosave_1557576a933fbec48679caf8d70e1714
Save project autosave_1557576a933fbec48679caf8d70e1714

Original comment by heinecke...@gmail.com on 17 Mar 2015 at 7:18

GoogleCodeExporter commented 9 years ago
Ok, it seems this is a MLT issue that has been fixed. Info here:

http://forums.debian.net/viewtopic.php?f=6&t=117482
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760773

To get your system working you unfortunately have to wait until fixed package 
is available on Ubuntu or manually compile and install repository MLT from 
source.

Original comment by janne.li...@gmail.com on 18 Mar 2015 at 10:08

GoogleCodeExporter commented 9 years ago
Thank you very much for the help. With this information and a little help from 
google I found a working solution: The bug is fixed in Ubuntu 15.4. You can get 
the package from the repository and install it like this:

cd $(mktemp -d)
wget 
https://launchpad.net/ubuntu/+archive/primary/+files/libmlt%2B%2B3_0.9.2%2Bgit20
141027-1_amd64.deb
wget 
https://launchpad.net/ubuntu/+archive/primary/+files/libmlt6_0.9.2%2Bgit20141027
-1_amd64.deb
sudo dpkg -Oi *deb

Original comment by heinecke...@gmail.com on 18 Mar 2015 at 7:25