This forum has been archived. All content is frozen. Please use KDE Discuss instead.

no PCM audio

Tags: None
(comma "," separated)
linuxloon
Registered Member
Posts
20
Karma
0

no PCM audio

Mon Jun 06, 2016 7:24 pm
With any 15 / 16 version of kdenlive that I have tried, PCM audio is not recognized or rendered. Worked in the old 9 version.

in 9 when generating a render script this is what the .mlt file has for the Audio

<property name="meta.media.1.stream.type">audio</property>
<property name="meta.media.1.codec.sample_fmt">s32</property>
<property name="meta.media.1.codec.sample_rate">48000</property>
<property name="meta.media.1.codec.channels">2</property>
<property name="meta.media.1.codec.name">pcm_s24le</property>
<property name="meta.media.1.codec.long_name">PCM signed 24-bit little-endian</property>
<property name="meta.media.1.codec.bit_rate">2304000</property>
<property name="seekable">1</property>

Renders w/audio in 9 w/o audio in 15/16 .. same script will run in 15/16 but the output has no audio.

source file is generated by a blackmagic 4k intensity capture card and the black magic media express software.
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: no PCM audio

Mon Jun 06, 2016 8:09 pm
MLT codecs are mainly FFmpeg codecs, which version are you using?
Does "ffplay" play your file with sound?
Is there any tool able to transcode your audio to import in your project?
linuxloon
Registered Member
Posts
20
Karma
0

Re: no PCM audio

Tue Jun 07, 2016 12:20 am
Thanks for replying.
ffmpeg version 2.8.6-1ubuntu2
ffplay does not play the audio.
Stream #0:1: Audio: none, 48000 Hz, 2 channels, 2304 kb/s

I may have compiled ffmpeg from source on mint/kdenlive version 9, I don't recall anymore.

A quick google found http://sourcedigit.com/19349-how-to-install-ffmpeg-3-0-1-on-ubuntu-via-ppa/ and http://www.ubuntumaniac.com/2016/02/ffmpeg-30-released-install-on-ubuntu.html

I will give ffmpeg 3.0 a try. any recommended / preferred versions of ffmpeg for mlt, kdenlive 16.x ?

is mlt using the ffmpeg on the system or is it using the ffmpeg on the system when it's compiled ?

I could transcode the audio on the source files first but I would really prefer not to do that just to edit the files.
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: no PCM audio

Tue Jun 07, 2016 6:42 am
MLT uses FFmpeg as it is installed
Changing the distro FFmpeg sometimes breaks some other multimedia apps (not happened to me for long but...): be prepared to revert!
Not even sure that FFmpeg 3 handles has 24b sound enabled by default, you should try. PPA is faster than source build ;)
MLT 6.2 are kdenlive 16.04.1 are latest releases, recommended.
linuxloon
Registered Member
Posts
20
Karma
0

Re: no PCM audio

Wed Jun 08, 2016 1:16 pm
Used the PPA for ffmpeg 3.0 and still no joy. I may have to spend some trying to get ffmpeg to compile.

though ffprobe -codec shows
DEA..S pcm_s24le PCM signed 24-bit little-endian
so it should be available but an ffprobe on a source file shows

[avi @ 0x10acca0] non-interleaved AVI
[avi @ 0x10acca0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[avi @ 0x10acca0] Could not find codec parameters for stream 1 (Audio: none, 48000 Hz, 2 channels, 2304 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, avi, from 'WSB-Donnington.avi':
Duration: 00:51:23.38, start: 0.000000, bitrate: 1329269 kb/s
Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 1920x1080, 1325778 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
Stream #0:1: Audio: none, 48000 Hz, 2 channels, 2304 kb/s
Unsupported codec with id 0 for input stream 1

I did try increasing the value for the 'analyzeduration' and 'probesize' and it has the same result. I will reboot into the older system and check the ffprobe output on the same file.
linuxloon
Registered Member
Posts
20
Karma
0

Re: no PCM audio

Thu Jun 09, 2016 11:02 pm
old system is using ffmpeg 2.7 but ... ffprobe and ffplay have the same result, the audio is not recognized. ffplay will show video but no audio. The melt script on the old system will process the audio however so something is decoding it. is there a way to show/figure out what, other than ffmpeg, is processing the audio ?
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: no PCM audio

Fri Jun 10, 2016 8:00 am
From my searches, it's normally ffmpeg that supports 24bits audio.
I don't know what else melt can be using...
is your setup using the default melt & ffmpeg binaries ? (Kdenlive can point to alternative path in Configuration / Environment)
then try to see the ouput of "ldd melt" to see to what libs it links...
linuxloon
Registered Member
Posts
20
Karma
0

Re: no PCM audio

Sat Jun 11, 2016 3:04 pm
looks to be the normal paths the kdenlive is using /use/bin/ffmpeg and /usr/share/mlt/profiles /usr/bin/melt

/usr/bin $ ldd melt
linux-vdso.so.1 => (0x00007fff8d151000)
libmlt.so.6 => /usr/lib/libmlt.so.6 (0x00007fce32c40000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fce32a22000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fce3265d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fce32459000)
/lib64/ld-linux-x86-64.so.2 (0x00007fce32e70000)

ffmpeg -version
ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --prefix=/opt/ffmpeg --libdir=/opt/ffmpeg/lib/ --enable-shared --enable-avresample --disable-stripping --enable-gpl --enable-version3 --enable-nonfree --enable-runtime-cpudetect --build-suffix=.ffmpeg --enable-postproc --enable-x11grab --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-libfdk_aac --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-openal --enable-opengl --enable-pthreads --enable-vaapi --enable-vdpau --enable-zlib --enable-debug=3
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100


There is another version of ffmpeg installed but I verified that it's not using is by renaming it and re-running the script. it's ffprobe / ffplay also fail to detect the audio.

I do seem to have a non-standered ffmpeg installed though /opt/ffmpeg/bin/ffmpeg
/usr/bin $ ldd /opt/ffmpeg/bin/ffmpeg
linux-vdso.so.1 => (0x00007ffe43a17000)
libavdevice.ffmpeg.so.56 => /opt/ffmpeg/lib/libavdevice.ffmpeg.so.56 (0x00007f1abdc0e000)
libavfilter.ffmpeg.so.5 => /opt/ffmpeg/lib/libavfilter.ffmpeg.so.5 (0x00007f1abd8b3000)
libavformat.ffmpeg.so.56 => /opt/ffmpeg/lib/libavformat.ffmpeg.so.56 (0x00007f1abd4db000)
libavcodec.ffmpeg.so.56 => /opt/ffmpeg/lib/libavcodec.ffmpeg.so.56 (0x00007f1abc237000)
libavresample.ffmpeg.so.2 => /opt/ffmpeg/lib/libavresample.ffmpeg.so.2 (0x00007f1abc018000)
libpostproc.ffmpeg.so.53 => /opt/ffmpeg/lib/libpostproc.ffmpeg.so.53 (0x00007f1abbdf8000)
libswresample.ffmpeg.so.1 => /opt/ffmpeg/lib/libswresample.ffmpeg.so.1 (0x00007f1abbbdd000)
libswscale.ffmpeg.so.3 => /opt/ffmpeg/lib/libswscale.ffmpeg.so.3 (0x00007f1abb965000)
libavutil.ffmpeg.so.54 => /opt/ffmpeg/lib/libavutil.ffmpeg.so.54 (0x00007f1abb6fd000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f1abb3c8000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1abb0c2000)
libvdpau.so.1 => /usr/lib/x86_64-linux-gnu/libvdpau.so.1 (0x00007f1abaebe000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1abaca0000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1aba8db000)
libXv.so.1 => /usr/lib/x86_64-linux-gnu/libXv.so.1 (0x00007f1aba6d6000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f1aba4c4000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f1aba2a5000)
libxcb-xfixes.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007f1aba09e000)
libxcb-shape.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007f1ab9e9a000)
libcdio_paranoia.so.1 => /usr/lib/libcdio_paranoia.so.1 (0x00007f1ab9c92000)
libcdio_cdda.so.1 => /usr/lib/libcdio_cdda.so.1 (0x00007f1ab9a8a000)
libjack.so.0 => /usr/lib/x86_64-linux-gnu/libjack.so.0 (0x00007f1ab9831000)
libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f1ab9541000)
libSDL-1.2.so.0 => /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 (0x00007f1ab92ab000)
libdc1394.so.22 => /usr/lib/x86_64-linux-gnu/libdc1394.so.22 (0x00007f1ab9037000)
libGL.so.1 => /usr/lib/nvidia-352/libGL.so.1 (0x00007f1ab8d07000)
libopenal.so.1 => /usr/lib/x86_64-linux-gnu/libopenal.so.1 (0x00007f1ab8aae000)
libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f1ab8865000)
libcaca.so.0 => /usr/lib/x86_64-linux-gnu/libcaca.so.0 (0x00007f1ab8598000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1ab8394000)
libzmq.so.3 => /usr/lib/x86_64-linux-gnu/libzmq.so.3 (0x00007f1ab813c000)
libfribidi.so.0 => /usr/lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007f1ab7f25000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f1ab7c82000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f1ab7a46000)
libflite_cmu_us_awb.so.1 => /usr/lib/x86_64-linux-gnu/libflite_cmu_us_awb.so.1 (0x00007f1ab745c000)
libflite_cmu_us_kal.so.1 => /usr/lib/x86_64-linux-gnu/libflite_cmu_us_kal.so.1 (0x00007f1ab706f000)
libflite_cmu_us_kal16.so.1 => /usr/lib/x86_64-linux-gnu/libflite_cmu_us_kal16.so.1 (0x00007f1ab6add000)
libflite_cmu_us_rms.so.1 => /usr/lib/x86_64-linux-gnu/libflite_cmu_us_rms.so.1 (0x00007f1ab644f000)
libflite_cmu_us_slt.so.1 => /usr/lib/x86_64-linux-gnu/libflite_cmu_us_slt.so.1 (0x00007f1ab5e63000)
libflite_usenglish.so.1 => /usr/lib/x86_64-linux-gnu/libflite_usenglish.so.1 (0x00007f1ab5c3a000)
libflite_cmulex.so.1 => /usr/lib/x86_64-linux-gnu/libflite_cmulex.so.1 (0x00007f1ab59a5000)
libflite.so.1 => /usr/lib/x86_64-linux-gnu/libflite.so.1 (0x00007f1ab5775000)
libbs2b.so.0 => /usr/lib/libbs2b.so.0 (0x00007f1ab556f000)
libass.so.4 => /usr/lib/x86_64-linux-gnu/libass.so.4 (0x00007f1ab534b000)
libssh.so.4 => /usr/lib/x86_64-linux-gnu/libssh.so.4 (0x00007f1ab5105000)
librtmp.so.0 => /usr/lib/x86_64-linux-gnu/librtmp.so.0 (0x00007f1ab4eeb000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1ab4cd2000)
libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26 (0x00007f1ab4a14000)
libmodplug.so.1 => /usr/lib/libmodplug.so.1 (0x00007f1ab4745000)
libgme.so.0 => /usr/lib/libgme.so.0 (0x00007f1ab44f8000)
libbluray.so.1 => /usr/lib/x86_64-linux-gnu/libbluray.so.1 (0x00007f1ab42be000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f1ab40ae000)
libva.so.1 => /usr/lib/x86_64-linux-gnu/libva.so.1 (0x00007f1ab3e97000)
libzvbi.so.0 => /usr/lib/x86_64-linux-gnu/libzvbi.so.0 (0x00007f1ab3c0b000)
libxvidcore.so.4 => /usr/lib/x86_64-linux-gnu/libxvidcore.so.4 (0x00007f1ab38cd000)
libx265.so.60 => /usr/lib/x86_64-linux-gnu/libx265.so.60 (0x00007f1ab337f000)
libx264.so.142 => /usr/lib/x86_64-linux-gnu/libx264.so.142 (0x00007f1ab2fe9000)
libwebp.so.5 => /usr/lib/x86_64-linux-gnu/libwebp.so.5 (0x00007f1ab2d91000)
libwavpack.so.1 => /usr/lib/x86_64-linux-gnu/libwavpack.so.1 (0x00007f1ab2b68000)
libvpx.so.1 => /usr/lib/x86_64-linux-gnu/libvpx.so.1 (0x00007f1ab2789000)
libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f1ab22ba000)
libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f1ab208d000)
libvo-aacenc.so.0 => /usr/lib/x86_64-linux-gnu/libvo-aacenc.so.0 (0x00007f1ab1e70000)
libtheoraenc.so.1 => /usr/lib/x86_64-linux-gnu/libtheoraenc.so.1 (0x00007f1ab1c30000)
libtheoradec.so.1 => /usr/lib/x86_64-linux-gnu/libtheoradec.so.1 (0x00007f1ab1a17000)
libspeex.so.1 => /usr/lib/x86_64-linux-gnu/libspeex.so.1 (0x00007f1ab17fe000)
libschroedinger-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libschroedinger-1.0.so.0 (0x00007f1ab153a000)
libopus.so.0 => /usr/lib/x86_64-linux-gnu/libopus.so.0 (0x00007f1ab12f2000)
libopencore-amrwb.so.0 => /usr/lib/x86_64-linux-gnu/libopencore-amrwb.so.0 (0x00007f1ab10de000)
libopencore-amrnb.so.0 => /usr/lib/x86_64-linux-gnu/libopencore-amrnb.so.0 (0x00007f1ab0eb4000)
libmp3lame.so.0 => /usr/lib/x86_64-linux-gnu/libmp3lame.so.0 (0x00007f1ab0c27000)
libgsm.so.1 => /usr/lib/x86_64-linux-gnu/libgsm.so.1 (0x00007f1ab0a19000)
libfdk-aac.so.0 => /usr/lib/x86_64-linux-gnu/libfdk-aac.so.0 (0x00007f1ab076f000)
libfaac.so.0 => /usr/lib/x86_64-linux-gnu/libfaac.so.0 (0x00007f1ab055e000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f1ab033c000)
libsoxr.so.0 => /usr/lib/x86_64-linux-gnu/libsoxr.so.0 (0x00007f1ab00f8000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1abde38000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f1aafef4000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f1aafcee000)
libcdio.so.13 => /usr/lib/libcdio.so.13 (0x00007f1aafac8000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1aaf8c0000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1aaf5bc000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1aaf3a6000)
libpulse-simple.so.0 => /usr/lib/x86_64-linux-gnu/libpulse-simple.so.0 (0x00007f1aaf1a2000)
libraw1394.so.11 => /usr/lib/x86_64-linux-gnu/libraw1394.so.11 (0x00007f1aaef94000)
libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007f1aaed7d000)
libnvidia-tls.so.352.63 => /usr/lib/nvidia-352/tls/libnvidia-tls.so.352.63 (0x00007f1aaeb7a000)
libnvidia-glcore.so.352.63 => /usr/lib/nvidia-352/libnvidia-glcore.so.352.63 (0x00007f1aac0e7000)
libjson-c.so.2 => /lib/x86_64-linux-gnu/libjson-c.so.2 (0x00007f1aabedc000)
libpulsecommon-4.0.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-4.0.so (0x00007f1aabc75000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f1aaba30000)
libslang.so.2 => /lib/x86_64-linux-gnu/libslang.so.2 (0x00007f1aab6a0000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f1aab46c000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f1aab243000)
libpgm-5.1.so.0 => /usr/lib/x86_64-linux-gnu/libpgm-5.1.so.0 (0x00007f1aaaff7000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f1aaadd1000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1aaaba7000)
libenca.so.0 => /usr/lib/x86_64-linux-gnu/libenca.so.0 (0x00007f1aaa974000)
libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f1aaa598000)
libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11 (0x00007f1aaa318000)
libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f1aaa104000)
libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f1aa9ec2000)
libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f1aa9b5b000)
libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f1aa9952000)
liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007f1aa96d0000)
libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f1aa94c1000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f1aa92b0000)
libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f1aa90a6000)
libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f1aa8e3e000)
libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f1aa8c38000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f1aa8a33000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f1aa882b000)
libcgmanager.so.0 => /lib/x86_64-linux-gnu/libcgmanager.so.0 (0x00007f1aa8610000)
libnih.so.1 => /lib/x86_64-linux-gnu/libnih.so.1 (0x00007f1aa83f8000)
libnih-dbus.so.1 => /lib/x86_64-linux-gnu/libnih-dbus.so.1 (0x00007f1aa81ee000)
libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f1aa7fd4000)
libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f1aa7da3000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f1aa7b88000)

dpkg -s ffmpeg-opti
Package: ffmpeg-opti
Status: install ok installed
Priority: extra
Section: video
Installed-Size: 4646
Maintainer: Rog131 <samrog131@hotmail.com>
Architecture: amd64
Source: ffmpeg
Version: 2.7.1~trusty~ppa1
Depends: libavcodec56-ffmpeg, libavdevice56-ffmpeg, libavfilter5-ffmpeg, libavformat56-ffmpeg, libavresample2-ffmpeg, libavutil54-ffmpeg, libc6 (>= 2.14), libpostproc53-ffmpeg, libsdl1.2debian (>= 1.2.11), libswresample1-ffmpeg, libswscale3-ffmpeg, libvdpau1 (>= 0.2), libx11-6
Suggests: ffmpeg-opti-doc, ffmpeg-set-alternatives
Breaks: ffmpeg-real (<< 2.5~)
Description: multimedia player, server and encoder

FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video.

resh ffmpeg installed to the /opt/ffmpeg.

Useful for Trusty or Linux Mint 17.x that does not contains real FFmpeg.

This PPA restores FFmpeg part of the Rog131 repository that was deleted some time ago because author moved away from Ubuntu.
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: no PCM audio

Sat Jun 11, 2016 7:14 pm
So there is a mess in your FFmpeg installation?
Can't you remove the PPA version (2.7)?
linuxloon
Registered Member
Posts
20
Karma
0

Re: no PCM audio

Sun Jun 12, 2016 2:29 pm
Yes the one thats working is a mess and I could clean it up but I'm trying to get the new system working. As a side note I installed ubuntu 16.04 but I see you are running debian, as do many of the other developers. Is the current development work in kdenlive being done in debian and then moved to other distos ? I guess what I'm asking is, will things work better if I use debian (8.4?)

I found mencoder will recognize the PCM audio so for now I will pre-transcode the raw files before editing. A bit of a pain but it will work. Not sure what format is best, I just did lavc (mp2) as a test.

mencoder WSB-Donnington.avi -oac lavc -ovc copy -o test.avi
MEncoder 1.2.1 (Debian), built with gcc-5.3.1 (C) 2000-2016 MPlayer Team
success: format: 0 data: 0x0 - 0x49474c5a
libavformat version 56.40.101 (external)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
AVI: ODML: Building ODML index (2 superindexchunks).
Detected NON-INTERLEAVED AVI file format.
VIDEO: [v210] 1920x1080 20bpp 29.970 fps 1325778.2 kbps (161838.2 kbyte/s)
[V] filefmt:3 fourcc:0x30313276 size:1920x1080 fps:29.970 ftime:=0.0334
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s24le, 2304.0 kbit/100.00% (ratio: 288000->288000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
videocodec: framecopy (1920x1080 20bpp fourcc=30313276)
libavcodec version 56.60.100 (external)
[mp2 @ 0x7fe9728ed3c0]Channel layout not specified
Writing header...
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: no PCM audio

Sun Jun 12, 2016 6:55 pm
Well, Debian on my profile as a long time fan, and still using it as home PC OS...
but since I have set up the PPA's I'm running (K)ubuntu on my laptop.
Stable debian (Jessie) doesn't offer KF5 libs, so one hase to run unstable (sid).
However I don't do much video editing! I'm just offering time for some QA & packaging, that's all, so not a good reference :-\
Our regular testers are running latest *ubuntu, Arch and OpenSuse (Tumbleweed).

I had misunderstood your case, thinking the messy setup was the one failing.
With stock Xenial package, "ffmpeg -formats | grep PCM" shows me the 24bits versions with "DE", what about you?
linuxloon
Registered Member
Posts
20
Karma
0

Re: no PCM audio

Mon Jun 13, 2016 3:30 pm
shows the same DE on 24bit PCM, so it should work. I found that if I use mencoder to change it from 24bit to 16bit PCM audio it works fine.

At this point I'm not sure if this is a ffmpeg issue or an issue with the blackmagic card not encoding 24bit PCM audio correctly. Not a kdenlive issue though.

I am having two other issues with the kdenlive 15/16 - Are the forums the best place for this or should I submit a bug report ?

) No GPU affects available.
) Canopus jog wheel not working correctly.

Thanks


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]