Re: [FFmpeg-user] amerge channel layout

2016-06-23 Thread Alex
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
  libavformat57. 37.101 / 57. 37.101
  libavdevice57.  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
  libpostproc54.  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:
0x060A2B340101010501010D11130098F70D03477505A50431002608FE0387
timecode: 00:00:00:00
  Duration: 00:04:25.96, start: 0.00, bitrate: 51792 kb/s
Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv,
unknown/bt709/bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5 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:
0x060A2B340101010501010D11130098F70D03477505A50431002608FE0387
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 

Re: [FFmpeg-user] amerge channel layout

2016-06-23 Thread Alex
The output file seems to be okay. I was a bit confused regarding the warning
messages. Especially this one: "Using AVStream.codec to pass codec
parameters to muxers is deprecated, use AVStream.codecpar instead".



--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/amerge-channel-layout-tp4676437p4676458.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] amerge channel layout

2016-06-23 Thread Carl Eugen Hoyos
Alex  ffmpeg.org> writes:

> Sorry, output again:

(Don't you agree that it is much easier to read the output 
if it is posted together with the command line?)

So what is wrong with the output file?
Or is no output file created?

Carl Eugen

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] amerge channel layout

2016-06-23 Thread Alex
Sorry, output again:

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
  libavformat57. 37.101 / 57. 37.101
  libavdevice57.  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
  libpostproc54.  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:
0x060A2B340101010501010D11130098F70D03477505A50431002608FE0387
timecode: 00:00:00:00
  Duration: 00:04:25.96, start: 0.00, bitrate: 51792 kb/s
Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv,
unknown/bt709/bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5 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 @ 0x37f6330] No channel layout for input 1
[Parsed_amerge_0 @ 0x37f6330] Input channel layouts overlap: output layout
will be determined by the number of distinct input channels
[mp4 @ 0x3505660] 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:
0x060A2B340101010501010D11130098F70D03477505A50431002608FE0387
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 @ 0x3505660] Starting second pass: moving the moov atom to the
beginning of the file




--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/amerge-channel-layout-tp4676437p4676455.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] amerge channel layout

2016-06-23 Thread Alex
Thanks Carl!

Here ist the command line I actually use and the full output:

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
develo   pers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
  configuration: --arch=64
--prefix=/root/ffmpeg-static/ffmpeg-build-script/work   
   
space
--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
--disabl   e-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
--enabl  
e-runtime-cpudetect --enable-libfdk-aac --enable-avfilter
--enable-libopencore_a  
mrwb --enable-libopencore_amrnb --enable-filters --enable-libvidstab
--enable-li  
bebur128 --enable-bzlib --enable-libopus --enable-libkvazaar --enable-frei0r
  libavutil  55. 24.100 / 55. 24.100
  libavcodec 57. 43.100 / 57. 43.100
  libavformat57. 37.101 / 57. 37.101
  libavdevice57.  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
  libpostproc54.  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:
0x060A2B340101010501010D11130098F70D03477505A5043   
   
1002608FE0387
timecode: 00:00:00:00
  Duration: 00:04:25.96, start: 0.00, bitrate: 51792 kb/s
Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv,
unknown/bt709/bt709), 19
  
20x1080 [SAR 1:1 DAR 16:9], 5 kb/s, 25 fps, 25 tbr, 25 tbn
Metadata:
  file_package_umid:
0x060A2B340101010501010D1213B3B5A098F70D03477505A5C4670 
 
02608FE0387
  file_package_name: Source Package
Stream #0:1: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
Metadata:
  file_package_umid:
0x060A2B340101010501010D1213B3B5A098F70D03477505A5C4670 
 
02608FE0387
  file_package_name: Source Package
Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
Metadata:
  file_package_umid:
0x060A2B340101010501010D1213B3B5A098F70D03477505A5C4670 
 
02608FE0387
  file_package_name: Source Package
Codec AVOption bf (set maximum number of B frames between non-B-frames)
specifie   d for
output file #0 (file.mp4) has not been used for any stream. The most likel  

y reason is either wrong type (e.g. a video option with no video streams) or
tha   t it is a
private option of some encoder which was not actually used for any str  

eam.
[Parsed_amerge_0 @ 0x316d330] No channel layout for input 1
[Parsed_amerge_0 @ 0x316d330] Input channel layouts overlap: output layout
willbe
determined by the number of distinct input channels
[mp4 @ 0x2e7c660] Using AVStream.codec to pass codec parameters to muxers is
dep   recated, use
AVStream.codecpar instead.
Output #0, mp4, to 

Re: [FFmpeg-user] amerge channel layout

2016-06-22 Thread Carl Eugen Hoyos
Alex  ffmpeg.org> writes:

> [Parsed_amerge_00x2eae4d0] No channel layout for input 1

This doesn't look like an error.

When asking for help on this mailing list, please always provide 
the command line you tested together with the complete, uncut 
console output.
(In your other email, command line and excerpt do not match.)

Carl Eugen

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] amerge channel layout

2016-06-22 Thread Alex
Hi all,

I have some issues with amerge channel layouts. Source file is a MXF with 2
mono stream. Output should be one stereo stream (L/R).

Source File:

Input #0, mxf, from 'file.mxf': 
  Duration: 00:04:25.96, start: 0.00, bitrate: 51792 kb/s
Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv,
unknown/bt709/bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5 kb/s, 25 fps, 25
tbr, 25 tbn
Stream #0:1: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s

I tried the following:

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 "[0:1][0:2]amerge=inputs=2,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

But:

Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono


[Parsed_amerge_0 @ 0x2eae4d0] No channel layout for input 1
[Parsed_amerge_0 @ 0x2eae4d0] Input channel layouts overlap: output layout
will be determined by the number of distinct input channels


So it isn't really a problem because the output audio stream is correct
(stereo) "output layout will be determined by the number of distinct input
channels". But how can I set a correct channel layout to avoid these
warnings.

Thanks,
Alex





--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/amerge-channel-layout-tp4676437.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".