[FFmpeg-user] amerge channel layout
Alex
doenerbudenchef at yahoo.de
Thu Jun 23 14:10:17 CEST 2016
Ok, once again a Mail with complete command line + output + questions:
$ ffmpeg -y -i file.mxf -filter:v yadif -b:v 8000k -minrate 8000k -maxrate
8000k -bufsize 4000k -vcodec libx264 -bf 2 -flags +cgop -pix_fmt yuv420p -f
mp4 -filter_complex "amerge,volume=14.4dB [aout]" -map [aout] -c:a
libfdk_aac -b:a 384k -ac 2 -ar 48000 -cutoff 20k -movflags faststart -ss
00:00:00 file.mp4
ffmpeg version N-80123-gd74cc61-static Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
configuration: --arch=64
--prefix=/root/ffmpeg-static/ffmpeg-build-script/workspace
--extra-cflags=-I/root/ffmpeg-static/ffmpeg-build-script/workspace/include
--extra-ldflags=-L/root/ffmpeg-static/ffmpeg-build-script/workspace/lib
--extra-version=static --extra-cflags=--static --enable-static
--disable-debug --disable-shared --disable-ffplay --disable-ffserver
--disable-doc --enable-gpl --enable-version3 --enable-nonfree
--enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-libx265
--enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter
--enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters
--enable-libvidstab --enable-libebur128 --enable-bzlib --enable-libopus
--enable-libkvazaar --enable-frei0r
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 43.100 / 57. 43.100
libavformat 57. 37.101 / 57. 37.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.100 / 6. 46.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Input #0, mxf, from 'file.mxf':
Metadata:
uid : 42704c88-2d83-11e6-a3f0-002608fe0387
generation_uid : 42704c89-2d83-11e6-a457-002608fe0387
company_name : Adobe Systems Incorporated
product_name : Premiere Pro
product_version : 7.2.2
application_platform: Mac OS X
product_uid : 10ab07a9-e89e-7510-a923-ea9220524153
modification_date: 2016-06-08 14:14:06
material_package_umid:
0x060A2B340101010501010D111300000098F70D03477505A50431002608FE0387
timecode : 00:00:00:00
Duration: 00:04:25.96, start: 0.000000, bitrate: 51792 kb/s
Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv,
unknown/bt709/bt709), 1920x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 25 fps, 25
tbr, 25 tbn
Metadata:
file_package_umid:
0x060A2B340101010501010D1213B3B5A098F70D03477505A5C467002608FE0387
file_package_name: Source Package
Stream #0:1: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
Metadata:
file_package_umid:
0x060A2B340101010501010D1213B3B5A098F70D03477505A5C467002608FE0387
file_package_name: Source Package
Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
Metadata:
file_package_umid:
0x060A2B340101010501010D1213B3B5A098F70D03477505A5C467002608FE0387
file_package_name: Source Package
Codec AVOption bf (set maximum number of B frames between non-B-frames)
specified for output file #0 (file.mp4) has not been used for any stream.
The most likely reason is either wrong type (e.g. a video option with no
video streams) or that it is a private option of some encoder which was not
actually used for any stream.
[Parsed_amerge_0 @ 0x3507330] No channel layout for input 1
[Parsed_amerge_0 @ 0x3507330] Input channel layouts overlap: output layout
will be determined by the number of distinct input channels
[mp4 @ 0x3216660] Using AVStream.codec to pass codec parameters to muxers is
deprecated, use AVStream.codecpar instead.
Output #0, mp4, to 'file.mp4':
Metadata:
uid : 42704c88-2d83-11e6-a3f0-002608fe0387
generation_uid : 42704c89-2d83-11e6-a457-002608fe0387
company_name : Adobe Systems Incorporated
product_name : Premiere Pro
product_version : 7.2.2
application_platform: Mac OS X
product_uid : 10ab07a9-e89e-7510-a923-ea9220524153
modification_date: 2016-06-08 14:14:06
material_package_umid:
0x060A2B340101010501010D111300000098F70D03477505A50431002608FE0387
timecode : 00:00:00:00
encoder : Lavf57.37.101
Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16,
384 kb/s (default)
Metadata:
encoder : Lavc57.43.100 libfdk_aac
Stream mapping:
Stream #0:1 (pcm_s16le) -> amerge:in0
Stream #0:2 (pcm_s16le) -> amerge:in1
volume -> Stream #0:0 (libfdk_aac)
Press [q] to stop, [?] for help
[mp4 @ 0x3216660] Starting second pass: moving the moov atom to the
beginning of the file
size= 2737kB time=00:00:58.11 bitrate= 385.9kbits/s speed=16.9x
video:0kB audio:2726kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.417923%
Questions:
"[mp4 @ 0x3216660] Using AVStream.codec to pass codec parameters to muxers
is deprecated, use AVStream.codecpar instead."
- What does it mean? Did I compile the ffmpeg binary wrong?
"Codec AVOption bf (set maximum number of B frames between non-B-frames)
specified for output file #0 (file.mp4) has not been used for any stream.
The most likely reason is either wrong type (e.g. a video option with no
video streams) or that it is a private option of some encoder which was not
actually used for any stream."
- I want to set the number of bframes manually. It seems that ffmpeg can't
apply that to the video stream.
"[Parsed_amerge_0 @ 0x3507330] No channel layout for input 1"
- You said it's not an error, okay. But isn't it possible to define a fix
layout and mapping for the output stream to avoid this warning message?
Thanks,
Alex
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/amerge-channel-layout-tp4676437p4676459.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list