[FFmpeg-user] Prores enable all audio channels on output file
Kevin Wells
kevwells at hotmail.co.uk
Wed Dec 10 08:15:57 CET 2014
I think you mis-understood. I want all 6 of my mono audio channels embedded in the uoput Prores file, but only the first one is 'enabled', the other 5 are 'disabled', and I want them all disabled. I read somewhere this is an intentional feature of ffmpeg, but is there a way to disable this feature so all audios are 'enabled'?
Here is my command:/Users/Me/Desktop/Python/ffmpeg/ffmpeg -r 25 -i /Users/kev/Desktop/DESCRETE_TEST_5.1.mov -filter_complex \"[0:v]scale=720:576,colormatrix=bt709:bt601[v]; \ [0:a]pan=mono|c0=c0,atempo=1.0424[a0]; \ [0:a]pan=mono|c0=c1,atempo=1.0424[a1]; \ [0:a]pan=mono|c0=c2,atempo=1.0424[a2]; \ [0:a]pan=mono|c0=c3,atempo=1.0424[a3]; \ [0:a]pan=mono|c0=c4,atempo=1.0424[a4]; \ [0:a]pan=mono|c0=c5,atempo=1.0424[a5]" \-map "[v]" -map "[a0]" -map "[a1]" -map "[a2]" -map "[a3]" -map "[a4]" -map "[a5]" \-vcodec prores -profile:v 3 -c:a pcm_s16le /Users/Me/Desktop/DESCRETE_TEST_DONE5.1.mov
And here is my console output:
/Users/kev/Desktop/Python/ffmpeg/ffmpeg -r 25 -i /Users/Me/Desktop/DESCRETE_TEST_5.1.mov -filter_complex \
> "[0:v]scale=720:576,colormatrix=bt709:bt601[v]; \
> [0:a]pan=mono|c0=c0,atempo=1.0424[a0]; \
> [0:a]pan=mono|c0=c1,atempo=1.0424[a1]; \
> [0:a]pan=mono|c0=c2,atempo=1.0424[a2]; \
> [0:a]pan=mono|c0=c3,atempo=1.0424[a3]; \
> [0:a]pan=mono|c0=c4,atempo=1.0424[a4]; \
> [0:a]pan=mono|c0=c5,atempo=1.0424[a5]" \
> -map "[v]" -map "[a0]" -map "[a1]" -map "[a2]" -map "[a3]" -map "[a4]" -map "[a5]" \
> -vcodec prores -profile:v 3 -c:a pcm_s16le /Users/Me/Desktop/DESCRETE_TEST_DONE5.1.mov
ffmpeg version 2.5 Copyright (c) 2000-2014 the FFmpeg developers
built on Dec 8 2014 10:02:02 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe7a2816400] multiple edit list entries, a/v desync might occur, patch welcome
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/Me/Desktop/DESCRETE_TEST_5.1.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2014-09-23 20:15:29
Duration: 00:01:00.98, start: 0.000000, bitrate: 11703 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 4793 kb/s, 23.98 fps, 23.98 tbr, 2997 tbn, 5994 tbc (default)
Metadata:
creation_time : 2014-09-23 20:15:29
handler_name : Apple Alias Data Handler
encoder : H.264
Stream #0:1(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 5.1(side), s32 (24 bit), 6912 kb/s (default)
Metadata:
creation_time : 2014-09-23 20:25:55
handler_name : Apple Alias Data Handler
[Parsed_pan_2 @ 0x7fe7a2601ba0] Pure channel mapping detected: 0
[Parsed_pan_4 @ 0x7fe7a240c4c0] Pure channel mapping detected: 1
[Parsed_pan_6 @ 0x7fe7a2602200] Pure channel mapping detected: 2
[Parsed_pan_8 @ 0x7fe7a2602960] Pure channel mapping detected: 3
[Parsed_pan_10 @ 0x7fe7a2701660] Pure channel mapping detected: 4
[Parsed_pan_12 @ 0x7fe7a2701c60] Pure channel mapping detected: 5
Output #0, mov, to '/Users/Me/Desktop/DESCRETE_TEST_DONE5.1.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf56.15.102
Stream #0:0: Video: prores (apch) (apch / 0x68637061), yuv422p10le, 720x576, q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:
encoder : Lavc56.13.100 prores
Stream #0:1: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
Metadata:
encoder : Lavc56.13.100 pcm_s16le
Stream #0:2: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
Metadata:
encoder : Lavc56.13.100 pcm_s16le
Stream #0:3: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
Metadata:
encoder : Lavc56.13.100 pcm_s16le
Stream #0:4: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
Metadata:
encoder : Lavc56.13.100 pcm_s16le
Stream #0:5: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
Metadata:
encoder : Lavc56.13.100 pcm_s16le
Stream #0:6: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
Metadata:
encoder : Lavc56.13.100 pcm_s16le
Stream mapping:
Stream #0:0 (h264) -> scale
Stream #0:1 (pcm_s24le) -> pan
Stream #0:1 (pcm_s24le) -> pan
Stream #0:1 (pcm_s24le) -> pan
Stream #0:1 (pcm_s24le) -> pan
Stream #0:1 (pcm_s24le) -> pan
Stream #0:1 (pcm_s24le) -> pan
colormatrix -> Stream #0:0 (prores)
atempo -> Stream #0:1 (pcm_s16le)
atempo -> Stream #0:2 (pcm_s16le)
atempo -> Stream #0:3 (pcm_s16le)
atempo -> Stream #0:4 (pcm_s16le)
atempo -> Stream #0:5 (pcm_s16le)
atempo -> Stream #0:6 (pcm_s16le)
Press [q] to stop, [?] for help
frame= 34 fps=0.0 q=0.0 size= 0kB time=00:00:01.24 bitrate= 0.2kbits/sframe= 59 fps= 57 q=0.0 size= 0kB time=00:00:02.20 bitrate= 0.1kbits/sframe= 84 fps= 54 q=0.0 size= 0kB time=00:00:03.20 bitrate= 0.1kbits/sframe= 111 fps= 54 q=0.0 size= 0kB time=00:00:04.28 bitrate= 0.1kbits/sframe= 137 fps= 53 q=0.0 size= 0kB time=00:00:05.32 bitrate= 0.1kbits/sframe= 165 fps= 53 q=0.0 size= 0kB time=00:00:06.44 bitrate= 0.0kbits/sframe= 189 fps= 52 q=0.0 size= 0kB time=00:00:07.40 bitrate= 0.0kbits/sframe= 215 fps= 52 q=0.0 size= 0kB time=00:00:08.44 bitrate= 0.0kbits/sframe= 242 fps= 52 q=0.0 size= 0kB time=00:00:09.52 bitrate= 0.0kbits/sframe= 262 fps= 51 q=0.0 size= 37kB time=00:00:10.32 bitrate= 29.1kbits/sframe= 283 fps= 50 q=0.0 size= 378kB time=00:00:11.16 bitrate= 277.2kbits/sframe= 303 fps= 49 q=0.0 size= 3977kB time=00:00:11.96 bitrate=2724.1kbits/sframe= 323 fps= 48 q=0.0 size= 8087kB time=00:00:12.76 bitrate=5192.1kbits/sframe= 349 fps= 48 q=0.0 size= 13297kB time=00:00:13.80 bitrate=7893.5kbits/sframe= 369 fps= 48 q=0.0 size= 17215kB time=00:00:14.60 bitrate=9659.1kbits/sframe= 379 fps= 46 q=0.0 size= 19029kB time=00:00:15.00 bitrate=10392.6kbits/frame= 402 fps= 46 q=0.0 size= 23076kB time=00:00:15.92 bitrate=11874.2kbits/frame= 425 fps= 46 q=0.0 size= 26979kB time=00:00:16.84 bitrate=13124.2kbits/frame= 450 fps= 46 q=0.0 size= 31263kB time=00:00:17.84 bitrate=14355.9kbits/frame= 468 fps= 45 q=0.0 size= 34903kB time=00:00:18.56 bitrate=15405.5kbits/frame= 488 fps= 45 q=0.0 size= 38863kB time=00:00:19.36 bitrate=16444.4kbits/frame= 508 fps= 45 q=0.0 size= 42703kB time=00:00:20.16 bitrate=17352.3kbits/frame= 523 fps= 44 q=0.0 size= 45589kB time=00:00:20.76 bitrate=17989.7kbits/frame= 543 fps= 44 q=0.0 size= 49646kB time=00:00:21.56 bitrate=18863.7kbits/frame= 563 fps= 44 q=0.0 size= 53787kB time=00:00:22.36 bitrate=19705.8kbits/frame= 586 fps= 44 q=0.0 size= 58533kB time=00:00:23.28 bitrate=20597.2kbits/frame= 606 fps= 43 q=0.0 size= 62656kB time=00:00:24.08 bitrate=21315.4kbits/frame= 627 fps= 43 q=0.0 size= 66846kB time=00:00:24.92 bitrate=21974.3kbits/frame= 650 fps= 43 q=0.0 size= 71386kB time=00:00:25.84 bitrate=22631.4kbits/frame= 666 fps= 43 q=0.0 size= 74555kB time=00:00:26.48 bitrate=23064.6kbits/frame= 688 fps= 43 q=0.0 size= 78864kB time=00:00:27.36 bitrate=23613.1kbits/frame= 706 fps= 43 q=0.0 size= 82357kB time=00:00:28.08 bitrate=24026.8kbits/frame= 720 fps= 42 q=0.0 size= 85037kB time=00:00:28.64 bitrate=24323.4kbits/frame= 737 fps= 42 q=0.0 size= 88238kB time=00:00:29.32 bitrate=24653.8kbits/frame= 758 fps= 42 q=0.0 size= 92299kB time=00:00:30.16 bitrate=25070.0kbits/frame= 778 fps= 42 q=0.0 size= 96392kB time=00:00:30.96 bitrate=25505.1kbits/frame= 798 fps= 42 q=0.0 size= 100564kB time=00:00:31.76 bitrate=25938.8kbits/frame= 817 fps= 42 q=0.0 size= 104216kB time=00:00:32.52 bitrate=26252.7kbits/frame= 829 fps= 41 q=0.0 size= 106346kB time=00:00:33.00 bitrate=26399.5kbits/frame= 848 fps= 41 q=0.0 size= 109755kB time=00:00:33.76 bitrate=26632.4kbits/frame= 865 fps= 41 q=0.0 size= 112773kB time=00:00:34.44 bitrate=26824.5kbits/frame= 887 fps= 41 q=0.0 size= 116943kB time=00:00:35.32 bitrate=27123.4kbits/frame= 904 fps= 41 q=0.0 size= 120063kB time=00:00:36.00 bitrate=27321.0kbits/frame= 922 fps= 41 q=0.0 size= 123633kB time=00:00:36.72 bitrate=27581.7kbits/frame= 940 fps= 40 q=0.0 size= 127357kB time=00:00:37.44 bitrate=27866.2kbits/frame= 960 fps= 40 q=0.0 size= 131484kB time=00:00:38.24 bitrate=28167.2kbits/frame= 976 fps= 40 q=0.0 size= 134786kB time=00:00:38.88 bitrate=28399.4kbits/frame= 994 fps= 40 q=0.0 size= 138506kB time=00:00:39.60 bitrate=28652.6kbits/frame= 1012 fps= 40 q=0.0 size= 142223kB time=00:00:40.32 bitrate=28896.1kbits/frame= 1029 fps= 40 q=0.0 size= 145756kB time=00:00:41.00 bitrate=29122.9kbits/frame= 1049 fps= 40 q=0.0 size= 149950kB time=00:00:41.80 bitrate=29387.3kbits/frame= 1065 fps= 40 q=0.0 size= 153115kB time=00:00:42.44 bitrate=29555.1kbits/frame= 1083 fps= 39 q=0.0 size= 156549kB time=00:00:43.16 bitrate=29713.9kbits/frame= 1100 fps= 39 q=0.0 size= 159643kB time=00:00:43.84 bitrate=29831.0kbits/frame= 1121 fps= 39 q=0.0 size= 162287kB time=00:00:44.68 bitrate=29755.0kbits/frame= 1142 fps= 39 q=0.0 size= 166247kB time=00:00:45.52 bitrate=29918.5kbits/frame= 1159 fps= 39 q=0.0 size= 169655kB time=00:00:46.20 bitrate=30082.5kbits/frame= 1173 fps= 39 q=0.0 size= 172519kB time=00:00:46.76 bitrate=30224.0kbits/frame= 1193 fps= 39 q=0.0 size= 176608kB time=00:00:47.56 bitrate=30420.0kbits/frame= 1206 fps= 39 q=0.0 size= 179246kB time=00:00:48.08 bitrate=30540.4kbits/frame= 1218 fps= 39 q=0.0 size= 181721kB time=00:00:48.56 bitrate=30656.1kbits/frame= 1243 fps= 39 q=0.0 size= 186720kB time=00:00:49.56 bitrate=30863.8kbits/frame= 1270 fps= 39 q=0.0 size= 192209kB time=00:00:50.64 bitrate=31093.5kbits/frame= 1300 fps= 39 q=0.0 size= 197770kB time=00:00:51.84 bitrate=31252.6kbits/frame= 1332 fps= 40 q=0.0 size= 203765kB time=00:00:53.12 bitrate=31424.0kbits/frame= 1359 fps= 40 q=0.0 size= 209146kB time=00:00:54.20 bitrate=31611.1kbits/frame= 1393 fps= 40 q=0.0 size= 215936kB time=00:00:55.56 bitrate=31838.5kbits/frame= 1427 fps= 41 q=0.0 size= 222752kB time=00:00:56.92 bitrate=32058.7kbits/frame= 1461 fps= 41 q=0.0 Lsize= 273967kB time=00:00:58.44 bitrate=38404.2kbits/s
video:273945kB audio:11kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.003964%
More information about the ffmpeg-user
mailing list