On 25 Sep 2014, at 17:19, Moritz Barsnick <[email protected]> wrote:
> Hi Steve,
>
> On Thu, Sep 25, 2014 at 17:05:05 +0100, Steve Kelly wrote:
>> ffmpeg -i "TEST.MXF" —filter_complex "[0:1][0:2] amerge=inputs=2,
>> aformat=sample_fmts=s16:channel_layouts=stereo [a_out]" -map '[0:v]' -map
>> '[a_out]' -codec:v prores -profile:v 3 -codec:a pcm_s16le "TEST_CONV.mov"
>>
>> Gives an error of "[NULL @ 0x2154200] Unable to find a suitable output
>> format for '—filter_complex'
>> —filter_complex: Invalid argument"
>
> Is this properly copy/pasted?
>
> I notice this in your email:
> -filter_complex vs.
> —filter_complex
> ^
> Those are different dash characters. An incorrect one will lead to
> "—filter_complex"
> being interpreted as a file name!
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Hi Moritz,
Gah - sorry, text editor I composed the original in inserted a rich text
version of the hypen.
However on fixing that I still have an issue with the command:
ffmpeg -i "TEST.MXF" -filter_complex "[0:1][0:2] amerge=inputs=2,
aformat=sample_fmts=s16:channel_layouts=stereo [a_out]" -map '[0:v]' -map
'[a_out]' -codec:v prores -profile:v 3 -codec:a pcm_s16le "TEST_CONV.mov"
ffmpeg -i "TEST.MXF" -filter_complex "[0:1][0:2] amerge=inputs=2,
aformat=sample_fmts=s16:channel_layouts=stereo [a_out]" -map '[0:v]' -map
'[a_out]' -codec:v prores -profile:v 3 -codec:a pcm_s16le "TEST_CONV.mov"
ffmpeg version 2.4 Copyright (c) 2000-2014 the FFmpeg developers
built on Sep 15 2014 14:00:03 with gcc 4.9.1 (Debian 4.9.1-14)
configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector-strong
-Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache
cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree
--enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid
--enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
--enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx
--enable-libschroedinger --disable-encoder=libschroedinger --enable-version3
--enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype
--enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc
--enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda
--enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r
--enable-openssl --enable-libass --enable-libopus --enable-fontconfig
--enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2
--enable-libvidstab --enable-libzvbi --enable-avresample --disable-htmlpages
--disable-podpages --enable-libiec61883 --enable-libfdk-aac --enable-vaapi
--enable-libx265 --enable-libdc1394 --disable-altivec --disable-armv5te
--disable-armv6 --shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Input #0, mxf, from 'TEST.MXF':
Metadata:
uid : c85c4076-b5ac-465a-afd9-00bebc593763
generation_uid : ac208c14-faec-4572-91f0-b74f47c0916b
company_name : SONY
product_name : XDCAM Transfer
product_version : 650
application_platform: SONY MXF Development Kit (MacOS X)
product_uid : 060e2b34-0401-0103-0e06-012002410200
modification_date: 2014-08-07 12:28:35
timecode : 00:00:00:00
Duration: 00:02:31.92, start: 0.000000, bitrate: 55232 kb/s
Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, bt709), 1920x1080 [SAR
1:1 DAR 16:9], 50000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Stream #0:3: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Stream #0:4: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Output with label '0:v' does not exist in any defined filter graph, or was
already used elsewhere.
Mapping the video stream fails. I just want to re-encode with a different
codec. Removing it from the map, just creates an audio file. Do I need to
declare the video stream (0:0) in the filter graph? If so could you tell me how
please
Many Thanks
Steve
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user