ffmpeg detects audio as pcm_s16be, but it seems to be 32bit
Hi there, I've got many files from the Convergent Design's Odyssey 7Q recorder. They are MOV's with Apple ProRes 422 (HQ) and PCM Audio. When i try to convert them to MJPEG MOV's with AAC Audio for editing, the resulting video is fine, but the audio sounds weirdly scrambled, like playing in slow-mo with many clicky noisy sounds. Is seems, ffmpeg recognizes the audio as 'pcm_s16be', but when i examine the file in Quicktime's inspector or mediainfo, it says for the audio channel signed 32 bit, big endian. Even ffplay can't play the audio properly (QT can), so i think it's not an encoding problem but something else. If needed, i can upload my smallest file (it's 80 MB), i tried to make it smaller with 'dd', like said in the bug report guidelines, but the resulting file is unreadable for every player and ffmpeg. Im using ffmpeg on Windows 7 -> ffmpeg-20140805-git-de41798-win64-shared ffmpeg -version ffmpeg version N-65298-gde41798 Copyright (c) 2000-2014 the FFmpeg developers built on Aug 5 2014 01:59:43 with gcc 4.8.3 (GCC) Below is the output of ffprobe: Thanks, Dietmar ---------------------------------------------------------------------- ffprobe started on 2014-08-08 at 19:07:11 Report written to "ffprobe-20140808-190711.log" Command line: ffprobe -report input.mov ffprobe version N-65298-gde41798 Copyright (c) 2007-2014 the FFmpeg developers built on Aug 5 2014 01:59:43 with gcc 4.8.3 (GCC) configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib libavutil 52. 97.100 / 52. 97.100 libavcodec 55. 72.101 / 55. 72.101 libavformat 55. 51.101 / 55. 51.101 libavdevice 55. 13.102 / 55. 13.102 libavfilter 4. 11.102 / 4. 11.102 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc 52. 3.100 / 52. 3.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000598160] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000598160] ISO: File Type Major Brand: qt [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000598160] Before avformat_find_stream_info() pos: 81196221 bytes read:197115 seeks:7 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000598160] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000598160] After avformat_find_stream_info() pos: 3025408 bytes read:1186343 seeks:9 frames:3 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov': Metadata: major_brand : qt minor_version : 537331968 compatible_brands: qt CDes creation_time : 2008-06-06 20:25:39 timecode : 15:51:23:24 Duration: 00:00:03.24, start: 0.000000, bitrate: 200484 kb/s Stream #0:0(eng), 1, 1/25: Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 181197 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default) Metadata: creation_time : 2008-06-06 20:25:39 encoder : Apple ProRes 422 (HQ) Stream #0:1(eng), 1, 1/48000: Audio: pcm_s16be (lpcm / 0x6D63706C), 48000 Hz, 2 channels, s16, 1536 kb/s (default) Metadata: creation_time : 2008-06-06 20:25:39 Stream #0:2(eng), 1, 1/25: Data: none (tmcd / 0x64636D74), 0 kb/s (default) Metadata: creation_time : 2008-06-06 20:25:39 timecode : 15:51:23:24 detected 12 logical cores Unsupported codec with id 0 for input stream 2 [AVIOContext @ 00000000005a0820] Statistics: 1186343 bytes read, 9 seeks
Dietmar Thal <d <at> dequid.net> writes:
If needed, i can upload my smallest file
Please upload a sample, there is NO filesize limit (there is a ticket for which a 10G sample was uploaded). Carl Eugen
On 08.08.2014 22:30, Carl Eugen Hoyos wrote:
Dietmar Thal <d <at> dequid.net> writes:
If needed, i can upload my smallest file
Please upload a sample, there is NO filesize limit (there is a ticket for which a 10G sample was uploaded).
I uploaded the sample to http://www.datafilehost.com/d/f0563d42 I tried to specify the input audio with 'ffmpeg -c:a pcm_s32be -i input.mov -vn -c:a pcm_s32be output.aiff' In the resulting file the pitched down slo-mo effect is gone, but it plays very stagnat with many click sounds. Thanks, Dietmar
On 08.08.2014 22:30, Carl Eugen Hoyos wrote:
Dietmar Thal <d <at> dequid.net> writes:
If needed, i can upload my smallest file
Please upload a sample, there is NO filesize limit (there is a ticket for which a 10G sample was uploaded).
I uploaded the sample to http://www.datafilehost.com/d/f0563d42 I tried to specify the input audio with 'ffmpeg -c:a pcm_s32be -i input.mov -vn -c:a pcm_s32be output.aiff' In the resulting file the pitched down slo-mo effect is gone, but it plays very stagnat with many click sounds. Thanks, Dietmar
Dietmar Thal <d <at> dequid.net> writes:
I uploaded the sample to http://www.datafilehost.com/d/f0563d42
Should be fixed in current FFmpeg git head, thank you for the sample and sorry for the delay! Carl Eugen
On 02.10.2014 10:07, Carl Eugen Hoyos wrote:
Should be fixed in current FFmpeg git head,
Thank you Carl, i've tried with my sample and the current Zeranoe FFmpeg build (git-c29d999 64-bit) but no luck. Is it already in the win builds? Or can you provide me a command line that worked? Thanks, Dietmar
On 02.10.2014 11:16, Dietmar Thal wrote:
Thank you Carl, i've tried with my sample and the current Zeranoe FFmpeg build (git-c29d999 64-bit) but no luck.
My fault, the current git head is not yet in the Zeranoe windows builds. I'll wait and post the results. Dietmar
On 02.10.2014 21:17, Dietmar Thal wrote:
My fault, the current git head is not yet in the Zeranoe windows builds. I'll wait and post the results.
The problem is gone with the latest Zeranoe build: git-6b347f5 (2014-10-06) Audio is detected and exported as it should. Thanks Carl Eugen!
participants (2)
-
Carl Eugen Hoyos -
Dietmar Thal