[FFmpeg-trac] #4097(ffmpeg:new): How to manually set `mono` for the channel layout
FFmpeg
trac at avcodec.org
Mon Nov 10 01:43:59 CET 2014
#4097: How to manually set `mono` for the channel layout
-------------------------------------+-------------------------------------
Reporter: | Type:
michael.heuberger | enhancement
Status: new | Priority: normal
Component: ffmpeg | Version:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
When encoding the video, I always see this warning
{{{
Guessed Channel Layout for Input Stream #1.0 : mono
}}}
I want this warning to disappear by manually setting the channel layout to
mono. So that ffmpeg does not have to guess it. How can I do this? I did
some research but didn't find such an option to manually set it. Can you
add one?
How to reproduce:
{{{
% ffmpeg -r 14.563322542394877 -f image2 -i /home/michael-
heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e4
-686f-55c3c770-9cab-b5660842b8b4/frames/%d.jpg -i /home/michael-
heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e4
-686f-55c3c770-9cab-b5660842b8b4/videomail_preview.wav -y -acodec
libfdk_aac -ar 44100 -ac 1 -vcodec libx264 -preset ultrafast -profile:v
baseline -crf 24 -pix_fmt yuv420p -loglevel warning -movflags faststart
/home/michael-
heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e4
-686f-55c3c770-9cab-b5660842b8b4/videomail_preview.mp4
}}}
{{{
$ ffmpeg
ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 10 2014 15:15:58 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-
avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3
--enable-x11grab --enable-libpulse --enable-libopencore-amrnb --enable-
libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb
--enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis
--enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex
--enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid
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
Hyper fast Audio and Video encoder
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4097>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list