| Anonymous | Login | Signup for a new account | 2013-05-24 13:50 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0002667 | Kdenlive | Rendering | public | 2012-07-03 14:12 | 2012-12-12 03:23 | ||||||||
| Reporter | johnedstone | ||||||||||||
| Assigned To | |||||||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||||||
| Status | new | Resolution | open | ||||||||||
| Platform | 64bit | OS | FreeBSD | OS Version | 8.1-RELEASE-p2 | ||||||||
| Product Version | |||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0002667: No audio when rendering as VOB - Workaround described below | ||||||||||||
| Description | Workaround for known issue (I believe) - (the problem is described below the 'Workaround' Workarounds that have worked for me. ----------- 1) edit script and add mixing_level=100. Then render by running script. This is most preferred or 2) edit script and remove acodec=ac3, in which case the render vob has audio codec of mp2 (less preferred than #1, I'd say, since ac3 is more compatible with DVD.) Again, render by running script. or 3) in FreeBSD use ffmpeg-devel port instead of ffmpeg. This is, I think, ffmpeg 10.x.x (ffmpeg-HEAD-8f89954.tar.xz) (Port: ffmpeg-devel-2012.04.25_2). This is least preferred because when I recompiled ports dependent on this, some of them failed, e.g. VLC, Xine. But it did fix the problem. What is the issue? (again reported elsewhere) ---------------------------------------------- Rendering, as VOB, with this version of ffmpeg, does not create an audio track. Here's an example, as seen from the command line, and the resultant output. /usr/local/bin/melt -verbose script003.sh.mlt in=0 out=3643 -profile dv_ntsc -consumer avformat:/home/ejstone34/kdenlive/projects/demo_failing.vob progress=1 f=dvd vcodec=mpeg2video acodec=ac3 s=720x480 vb=6000k maxrate=9000k minrate=0 bufsize=1835008 packetsize=2048 muxrate=10080000 g=18 me_range=63 trellis=1 mlt_profile=dv_ntsc pass=1 threads=4 real_time=-1 [dv @ 0x80c3d5020] Estimating duration from bitrate, this may be inaccurate [dv @ 0x80c3e0020] Estimating duration from bitrate, this may be inaccurate [dv @ 0x80c3ec020] Estimating duration from bitrate, this may be inaccurate [producer avformat] audio: total_streams 2 max_stream 2 total_channels 4 max_channels 2 [dv @ 0x80c3fb020] Estimating duration from bitrate, this may be inaccurate [dv @ 0x80cbcb020] Estimating duration from bitrate, this may be inaccurate [dv @ 0x80cbcd020] Estimating duration from bitrate, this may be inaccurate [producer avformat] audio: total_streams 2 max_stream 2 total_channels 4 max_channels 2 [ac3_fixed @ 0x8103f5a20] channel_layout not specified [ac3_fixed @ 0x8103f5a20] No channel layout specified. The encoder will guess the layout, but it might be incorrect. [ac3_fixed @ 0x8103f5a20] invalid mixing level. must be between 80dB and 111dB consumer_avformat.c: Unable to encode audio - disabling audio output. [dv @ 0x810e75020] Estimating duration from bitrate, this may be inaccurate [dv @ 0x810dfc020] Estimating duration from bitrate, this may be inaccurate [dv @ 0x810dfe020] Estimating duration from bitrate, this may be inaccurate ^Crrent Frame: 257, percentage: 7 Observation ------------ From above, this line [ac3_fixed @ 0x8103f5a20] invalid mixing level. must be between 80dB and 111dB consumer_avformat.c: Unable to encode audio - disabling audio output. a) it used ac3_fixed, instead of ac3 as called in the script - this may be irrelevant b) error was around "mixing level". This is how I arrived at the Fix #1 above. Okay: that's it. Nothing to do. Just an observation. Thanks a million! for working on this great tool. Awesome!! | ||||||||||||
| Steps To Reproduce | Select Render -> DVD -> VOB | ||||||||||||
| Additional Information | uname -imprs FreeBSD 8.1-RELEASE-p2 amd64 amd64 GENERIC pkg_info -XI kdenlive kdenlive-0.9.2_1 KDE professional quality non-linear video editing suite pkg_info -XI fmpeg ffmpeg-0.7.12_2,1 Realtime audio/video encoder/converter and streaming server My ports are built from the ports, ie. compiled, and not from the prebuilt packages. | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Build/Install Method | 3rd party package | ||||||||||||
| Attached Files | |||||||||||||
Notes |
|
|
(0008145) johnedstone (reporter) 2012-07-03 14:15 |
Feel free to reduce the severity level. I simply marked it that way, because without the fix, I was unable to make a vob and DVD. I tried other file format's , e.g. mpg (File Rendering -> MPEG-2), but the DVD Wizard crashed. So I was relying on the vob. Thanks again. |
|
(0008147) johnedstone (reporter) 2012-07-03 14:30 |
Retracted!! Well, I wrote out the DVD last night, since the vob rendered w/o error, before checking the vob. The VOB rendered, correctly, but the sound is just high-pitched squeaking. So, Fix #1 did not work - sorry. And, I'm not thrilled about Fix 0000002. So if I figure anythin out, I'll post it later. Output showing it rendered okay -------------------------------- ffprobe my.vob ffprobe version 0.7.12, Copyright (c) 2007-2011 the FFmpeg developers built on Jul 2 2012 10:27:36 with gcc 4.2.1 20070719 [FreeBSD] configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --cc=cc --extra-cflags='-msse -I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --disable-libaacplus --disable-indev=alsa --disable-outdev=alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libcelt --disable-libdirac --disable-libfaac --enable-libfreetype --enable-frei0r --disable-libgsm --disable-libmp3lame --enable-libopencv --disable-libopenjpeg --disable-librtmp --enable-libschroedinger --disable-ffplay --disable-libspeex --enable-libtheora --disable-vaapi --disable-vdpau --disable-libvo-aacenc --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid libavutil 50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale 0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 [mpeg @ 0x805a22020] max_analyze_duration 5000000 reached at 5005000 Input #0, mpeg, from '../projects/starwars_2010_2011_23_min_03.vob': Duration: 00:23:20.69, start: 1.000000, bitrate: 6309 kb/s Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [PAR 8:9 DAR 4:3], 9000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s |
|
(0008148) johnedstone (reporter) 2012-07-03 14:33 |
Note: above where it says "Fix 0000002" - that's a typo caused by this form submission. I meant to say that I'm not thrilled about the second fix I described above. |
|
(0008149) johnedstone (reporter) 2012-07-03 15:34 |
Summary: for now, until the FreeBSD ffmpeg port, and the dependent ports are upgraded, I will go with Fix number 2, which uses mp2 (MPEG-1 Layer 2) for the audio codec, keeping in mind the following """ For DVD products in PAL, MPEG-1 Layer 2 audio is compatible with all players. For NTSC markets (North America, Japan), most (but not all) DVD players support playback of MPEG-1 Layer 2 audio. If you create NTSC titles using MPEG audio, be aware that there may be problems in playback on some players http://documentation.apple.com/en/dvdstudiopro/usermanual/index.html#chapter=5%26section=3%26tasks=true [^] """ |
|
(0008150) johnedstone (reporter) 2012-07-03 20:59 |
Summary notes, again -------------------- In addition to using Fix 2, above (which is to drop 'acodec=ac3' from the script), if I am concerned about this being the audio codec mp2, then after the vob is completed, I can run this command to change the audio codec to ac3 ffmpeg -i firstfile.vob -vcodec copy -acodec ac3 newfile.vob This works, as confirmed by ffprobe, and viewing the vob |
|
(0008152) johnedstone (reporter) 2012-07-03 22:13 |
Summary notes, again --------------------- This is so odd, ffmpeg -acodec ac3 works on a single file, but in the context of melt (mlt) it doesn't. |
|
(0008741) orbspider (reporter) 2012-12-12 03:23 |
I just ran into this same problem with no audio after vob render. And mp4 render had distorted audio. mpeg2 render is fine. A few weeks back all was fine with vob render -I just wasted 3 dvds! The only thing I can think of is various updates have caused this, while trying to install google earth with i32-libs which failed. rebuilded ffmpeg from snapshot and mlt from latest stable 0.8.6, with no better result. :( |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-07-03 14:12 | johnedstone | New Issue | |
| 2012-07-03 14:15 | johnedstone | Note Added: 0008145 | |
| 2012-07-03 14:30 | johnedstone | Note Added: 0008147 | |
| 2012-07-03 14:33 | johnedstone | Note Added: 0008148 | |
| 2012-07-03 15:34 | johnedstone | Note Added: 0008149 | |
| 2012-07-03 20:59 | johnedstone | Note Added: 0008150 | |
| 2012-07-03 22:13 | johnedstone | Note Added: 0008152 | |
| 2012-12-12 03:23 | orbspider | Note Added: 0008741 | |
| Copyright © 2000 - 2013 MantisBT Team |