New submission from rrivas <[email protected]>:

I'm trying to mix 6 mono tracks as one mov with 6 audio tracks and 
video (for video editing 5.1 AC3 audio in Final Cut Pro). If I use -ac 
5 (five channels) as an option the muxing still goes ok, but 6 crashes. 
Video does not contribute to the problem at all. I'm using latest w32 
build.

L:\AVCHD Wrapper\STREAM>ffmpeg -i prores_video.mov -vcodec copy -i 
1.wav -acodec pcm_s16le -i 2.wav -acodec pcm_s16le -i 3.wav -acodec 
pcm_s16le -i 4.wav -acodec pcm_s16le -i 5.wav -acodec pcm_s16le -i 
6.wav -acodec pcm_s16le -ac 6 prores_6ch_mono.mov
FFmpeg version SVN-r24795, Copyright (c) 2000-2010 the FFmpeg developers
  built on Aug 14 2010 04:14:04 with gcc 4.4.2
  configuration: --enable-gpl --enable-version3 --enable-libgsm --
enable-pthreads --enable-libvorbis --enable-libtheora --enable-libspeex 
--enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --
enable-libopencore_amrwb --enable-libopencore_amrnb --enable-libvpx --
arch=x86 --enable-runtim
e-cpudetect --enable-libxvid --enable-libx264 --extra-libs='-lx264 -
lpthread' --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -
lwinmm' --target-os=mingw32 --enable-avisynth --cross-prefix=i686-
mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign-hack
  libavutil     50.23. 0 / 50.23. 0
  libavcore      0. 4. 0 /  0. 4. 0
  libavcodec    52.85. 1 / 52.85. 1
  libavformat   52.78. 2 / 52.78. 2
  libavdevice   52. 2. 1 / 52. 2. 1
  libavfilter    1.34. 1 /  1.34. 1
  libswscale     0.11. 0 /  0.11. 0

Seems stream 0 codec frame rate differs from container frame rate: 
25000.00 (25000/1) -> 25.00 (25/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'prores_video.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf52.68.0
  Duration: 00:00:19.76, start: 0.000000, bitrate: 171566 kb/s
    Stream #0.0(eng): Video: apch / 0x68637061, 1920x1080, 171564 kb/s, 
25 fps, 25 tbr, 25k tbn, 25k tbc
[wav @ 030c3d60] max_analyze_duration reached
[wav @ 030c3d60] Estimating duration from bitrate, this may be 
inaccurate
Input #1, wav, from '1.wav':
  Duration: 00:00:19.77, bitrate: 768 kb/s
    Stream #1.0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[wav @ 03187580] max_analyze_duration reached
[wav @ 03187580] Estimating duration from bitrate, this may be 
inaccurate
Input #2, wav, from '2.wav':
  Duration: 00:00:19.77, bitrate: 768 kb/s
    Stream #2.0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[wav @ 030e0ad0] max_analyze_duration reached
[wav @ 030e0ad0] Estimating duration from bitrate, this may be 
inaccurate
Input #3, wav, from '3.wav':
  Duration: 00:00:19.77, bitrate: 768 kb/s
    Stream #3.0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[wav @ 030e1a70] max_analyze_duration reached
[wav @ 030e1a70] Estimating duration from bitrate, this may be 
inaccurate
Input #4, wav, from '4.wav':
  Duration: 00:00:19.77, bitrate: 768 kb/s
    Stream #4.0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[wav @ 030e4a10] max_analyze_duration reached
[wav @ 030e4a10] Estimating duration from bitrate, this may be 
inaccurate
Input #5, wav, from '5.wav':
  Duration: 00:00:19.77, bitrate: 768 kb/s
    Stream #5.0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[wav @ 03e43000] max_analyze_duration reached
[wav @ 03e43000] Estimating duration from bitrate, this may be 
inaccurate
Input #6, wav, from '6.wav':
  Duration: 00:00:19.77, bitrate: 768 kb/s
    Stream #6.0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
File 'prores_6ch_mono.mov' already exists. Overwrite ? [y/N] y
Output #0, mov, to 'prores_6ch_mono.mov':
  Metadata:
    encoder         : Lavf52.78.2
    Stream #0.0(eng): Video: apch / 0x68637061, 1920x1080, q=2-31, 
171564 kb/s, 25k tbn, 25k tbc
    Stream #0.1: Audio: pcm_s16le, 48000 Hz, 6 channels, s16, 4608 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #1.0 -> #0.1
Press [q] to stop encoding

*crash*

----------
messages: 11687
priority: normal
status: new
substatus: open
title: Trying to create MOV with 6 mono audio tracks crashes FFMPEG
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2168>
________________________________________________

Reply via email to