Hi, I am converting an 8 channel Prores file to mp4 (5.1 + 2.0), although the
input files are from different sources. The resulting mp4 file has a silent
track. I am checking this by creating a Prores file with 8 channels of audio
which has a tone running from one channel to the next and then using the below
command. When using the below command the 5th audio channel of the 5.1 is
coming out silent. If I use the same structure command as below but convert
back to prores with 5.1 + 2.0 then all works fine, no silent track. Also is
there a way to name the channels as currently ffmpeg wants to name them
5.1(C,L,R,Ls,Rs,LFE) 2.0(L,R), but the 5.1 I have is a different layout
(L,R,C,LS,RS,LFE), so want them labeled as such.
ffmpeg.exe -f yuv4mpegpipe -i - -i Bars_Tone_Stairs_JobID_310.avs -map 0:0 -map
1:1 -map 1:1 -map_channel 1.1.0:0.1 -map_channel 1.1.1:0.1 -map_channel
1.1.2:0.1 -map_channel 1.1.4:0.1 -map_channel 1.1.5:0.1 -map_channel 1.1.3:0.1
-map_channel 1.1.6:0.2 -map_channel 1.1.7:0.2 -timecode 00:00:00:00 -vcodec
libx264 -profile:v main -level 40 -b-pyramid normal -weightb 1 -refs 1 -coder
ac -trellis 1 -keyint_min 1 -g 60 -bf 2 -pix_fmt yuv420p -b:v 40000k -minrate
40000k -maxrate 40000k -bufsize 1666k -x264opts "nal-hrd=cbr" -f mp4 -c:a
libfdk_aac -b:a 684k -y Bars_Tone_Stairs.mp4 -report
ffmpeg version N-77203-gb8e5b1d Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.0 (GCC)
configuration: --arch=x86 --target-os=mingw32
--cross-prefix=/Users/me/Desktop/Download/ffmpeg-windows-build-helpers-master/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-
--pkg-config=pkg-config --disable-w32threads --enable-gpl --enable-libsoxr
--enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray
--enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC
--enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++
--extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink
--extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame
--enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis
--enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls
--enable-libgsm --enable-libfreetype --enable-libopus --enable-frei0r
--enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc
--enable-libschroedinger --enable-li libavutil 55. 10.100 / 55. 10.100
libavcodec 57. 17.100 / 57. 17.100
libavformat 57. 19.100 / 57. 19.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 20.100 / 6. 20.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, yuv4mpegpipe, from 'pipe:':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (Y3[10][10] / 0xA0A3359), yuv422p10le,
1920x1080, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
Guessed Channel Layout for Input Stream #1.1 : 7.1
Input #1, avisynth, from 'Bars_Tone_Stairs_JobID_310.avs':
Duration: 00:00:07.01, start: 0.000000, bitrate: 1 kb/s
Stream #1:0: Video: rawvideo (BGRA / 0x41524742), bgra, 640x480, 23.98 fps,
23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #1:1: Audio: pcm_s24le, 48000 Hz, 8 channels, s32 (24 bit), 9216 kb/s
-map_channel is forwarded to lavfi similarly to -af
pan=0x3f|c0=c0|c1=c1|c2=c2|c3=c4|c4=c5|c5=c3.
[pan @ 04fe62e0] Pure channel mapping detected: 0 1 2 4 5 3
-map_channel is forwarded to lavfi similarly to -af pan=0x3|c0=c6|c1=c7.
[pan @ 050abae0] Pure channel mapping detected: 6 7
[libx264 @ 0500a820] VBV bitrate (40000) > level limit (20000)
[libx264 @ 0500a820] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0500a820] VBV buffer size cannot be smaller than one frame, using
1668 kbit
[libx264 @ 0500a820] profile Main, level 4.0
[libx264 @ 0500a820] 264 - core 148 r2601 a0cd7d3 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=1
deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=-2 threads=34 lookahead_threads=5
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=2 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1
open_gop=0 weightp=2 keyint=60 keyint_min=1 scenecut=40 intra_refresh=0
rc_lookahead=40 rc=cbr mbtree=1 bitrate=40000 ratetol=1.0 qcomp=0.60 qpmin=0
qpmax=69 qpstep=4 vbv_maxrate=40000 vbv_bufsize=1668 nal_hrd=cbr filler=1
ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'Bars_Tone_Stairs.mp4':
Metadata:
timecode : 00:00:00:00
encoder : Lavf57.19.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p,
1920x1080, q=-1--1, 40000 kb/s, 23.98 fps, 11988 tbn, 23.98 tbc
Metadata:
encoder : Lavc57.17.100 libx264
Stream #0:1: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 48000 Hz,
5.1, s16 (24 bit), 684 kb/s
Metadata:
encoder : Lavc57.17.100 libfdk_aac
Stream #0:2: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 48000 Hz,
stereo, s16 (24 bit), 684 kb/s
Metadata:
encoder : Lavc57.17.100 libfdk_aac
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Stream #1:1 -> #0:1 (pcm_s24le (native) -> aac (libfdk_aac))
Stream #1:1 -> #0:2 (pcm_s24le (native) -> aac (libfdk_aac))
frame= 25 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
frame= 50 fps= 50 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
frame= 74 fps= 49 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A
frame= 95 fps= 47 q=0.0 size= 3563kB time=00:00:00.66
bitrate=43740.4kbits/s
frame= 113 fps= 45 q=0.0 size= 7344kB time=00:00:01.41
bitrate=42423.8kbits/s
[yuv4mpegpipe @ 04fc6d60] Thread message queue blocking; consider raising the
thread_queue_size option (current value: 8)
frame= 128 fps= 42 q=0.0 size= 10494kB time=00:00:02.04
bitrate=42063.4kbits/s
frame= 156 fps= 44 q=0.0 size= 16377kB time=00:00:03.21
bitrate=41773.5kbits/s
frame= 168 fps= 41 q=0.0 size= 19108kB time=00:00:03.98
bitrate=39237.2kbits/s
frame= 168 fps= 37 q=0.0 size= 19108kB time=00:00:05.24
bitrate=29826.7kbits/s
frame= 168 fps= 33 q=0.0 size= 19108kB time=00:00:06.25
bitrate=25042.2kbits/s
frame= 168 fps= 30 q=-1.0 Lsize= 35308kB time=00:00:07.01
bitrate=41210.6kbits/s
video:34215kB audio:1086kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.020748%
Kind regards.
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user