[FFmpeg-trac] #6318(ffmpeg:new): Problem with -filter_complex and DNxHD with ffmpeg 3.3
FFmpeg
trac at avcodec.org
Fri Apr 14 15:58:14 EEST 2017
#6318: Problem with -filter_complex and DNxHD with ffmpeg 3.3
-------------------------------------+-------------------------------------
Reporter: | Type: defect
paulpacifico | Priority: normal
Status: new | Version: git-
Component: ffmpeg | master
Keywords: dnxhd | Blocked By:
amerge error | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Hello everyone,
This is my first post and i'm french user so please be indulgent with my
english.
Since '''ffmpeg build 3.3''' is out, i've got a problem when using
-filter_complex with video '''AND''' amerge audio filter.
'''This is my command :'''
ffmpeg -i "DNxHD_4_Mono_Channels.mov" -c:v libx264 -filter_complex
"[0:v]yadif=0:1:0[vout];[0:a:0][0:a:1]amerge=inputs=2[aout]" -map [vout]
-map [aout] "test.mp4"
'''and the log :'''
{{{
ffmpeg version 3.3-tessus Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-
version=tessus --enable-avisynth --enable-fontconfig --enable-gpl
--enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopus --enable-libschroedinger
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-
libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-
libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-
version3 --disable-ffplay --disable-indev=qtkit
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/nodal3/Desktop/DNxHD_4_Mono_Channels.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2017-04-14T09:15:38.000000Z
timecode : 01:00:00:00
Duration: 00:01:17.40, start: 0.000000, bitrate: 123546 kb/s
Stream #0:0(eng): Video: dnxhd (DNXHD) (AVdn / 0x6E645641),
yuv422p(tv, bt709/unknown/unknown), 1920x1080, 121241 kb/s, SAR 1:1 DAR
16:9, 25 fps, 25 tbr, 25k tbn, 25k tbc (default)
Metadata:
creation_time : 2017-04-14T09:15:38.000000Z
handler_name : Apple Alias Data Handler
encoder : Avid DNxHD Codec
Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
mono, s32 (24 bit), 1152 kb/s (default)
Metadata:
creation_time : 2017-04-14T09:15:38.000000Z
handler_name : Apple Alias Data Handler
Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
mono, s32 (24 bit), 1152 kb/s (default)
Metadata:
creation_time : 2017-04-14T09:15:39.000000Z
handler_name : Apple Alias Data Handler
Stream #0:3(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2017-04-14T09:16:05.000000Z
handler_name : Apple Alias Data Handler
timecode : 01:00:00:00
Stream mapping:
Stream #0:0 (dnxhd) -> yadif
Stream #0:1 (pcm_s24le) -> amerge:in0
Stream #0:2 (pcm_s24le) -> amerge:in1
yadif -> Stream #0:0 (libx264)
amerge -> Stream #0:1 (aac)
Press [q] to stop, [?] for help
[Parsed_amerge_1 @ 0x7f93c3400500] No channel layout for input 1
[Parsed_amerge_1 @ 0x7f93c3400500] Input channel layouts overlap: output
layout will be determined by the number of distinct input channels
Error while filtering
Failed to inject frame into filter network: Cannot allocate memory
Error while processing the decoded data for stream #0:0
Conversion failed!
}}}
I tried to to set layout to mono for inputs -> no success
But it works with amix, and it works with Apple ProRes file with same
audio mapping...
'''This same command line works perfectly with ffmpeg build 3.2.4'''
Looking for a solution, thanks for all.
Paul Pacifico.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6318>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list