Kazu Yoshi <[email protected]> added the comment:
Sorry, I couldnt make shorter sample (original was about 340MB). please mail to
causeless_at_gmail
I think i could find the point.
FFmpeg mixes any chapters from the input files and creates incoherent chapters.
The following output shows merging process to create unreadable mp4.
(MKV ==ffmpeg==> WAV ==neroaacenc==> AAC, then, MKV + AAC ==ffmpeg==> MP4)
Original MKV has 5 chapters but output MP4 has 6, and chap#0.5 was broken.
E:\box\My Dropbox\Project\encpy\bin\ffmpeg.exe -y -i "W:\\01v3.mkv" -i
"b:\\01v3.aac" -map 0 -map 1.0 -map_meta_data 0:1 -vcodec
copy -acodec copy "J:\\mp4\\01v3.mp4"
FFmpeg version SVN-r25287, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 2 2010 02:10:58 with gcc 4.5.1
configuration: --enable-memalign-hack --enable-gpl --enable-version3
--enable-postproc --enable-libopencore-amrnb --enable-libopencore-amr
wb --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libvorbis
--enable-libtheora --enable-libxvid --enable-libvpx --enable-libx
264 --disable-ffserver --disable-ffplay --disable-ffprobe --enable-avisynth
--enable-small --enable-pthreads --extra-ldflags=-static --extra
-cflags='-mtune=pentium4 -mfpmath=sse -msse -fno-strict-aliasing'
libavutil 50.32. 0 / 50.32. 0
libavcore 0. 9. 0 / 0. 9. 0
libavcodec 52.92. 0 / 52.92. 0
libavformat 52.79. 0 / 52.79. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.48. 0 / 1.48. 0
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska,webm @ 01c1d5b0] max_analyze_duration reached
[matroska,webm @ 01c1d5b0] Estimating duration from bitrate, this may be
inaccurate
Input #0, matroska,webm, from 'W:\\bit\\01v3.mkv':
Duration: 00:23:34.96, start: 0.000000, bitrate: 192 kb/s
Chapter #0.0: start 0.000000, end 110.000000
Metadata:
title : Episode
Chapter #0.1: start 110.000000, end 185.000000
Metadata:
title : Opening
Chapter #0.2: start 185.000000, end 1310.000000
Metadata:
title : Episode
Chapter #0.3: start 1310.000000, end 1400.000000
Metadata:
title : Ending
Chapter #0.4: start 1400.000000, end 1415.000000
Metadata:
title : Preview
Stream #0.0(jpn): Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 23.98
fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(jpn): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000
Stream #0.3(eng): Subtitle: [0][0][0][0] / 0x0000
Stream #0.4: Attachment: [0][0][0][0] / 0x0000
Metadata:
filename : arial_0.ttf
Stream #0.5: Attachment: [0][0][0][0] / 0x0000
Metadata:
filename : CHINT.TTF
Stream #0.6: Attachment: [0][0][0][0] / 0x0000
Metadata:
filename : MiasScribblings~.ttf
Stream #0.7: Attachment: [0][0][0][0] / 0x0000
Metadata:
filename : arial.ttf
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'b:\\01v3.aac':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: M4A mp42isom
encoder : Nero AAC codec / 1.5.4.0
Duration: 00:23:34.95, start: 0.000000, bitrate: 161 kb/s
Chapter #1.0: start 0.054667, end 1414.954667
Metadata:
title :
Stream #1.0(und): Audio: aac, 48000 Hz, stereo, s16, 159 kb/s
Output #0, mp4, to 'J:\\mp4\\01v3.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: M4A mp42isom
encoder : Lavf52.79.0
Chapter #0.0: start 0.000000, end 110.000000
Metadata:
title : Episode
Chapter #0.1: start 110.000000, end 185.000000
Metadata:
title : Opening
Chapter #0.2: start 185.000000, end 1310.000000
Metadata:
title : Episode
Chapter #0.3: start 1310.000000, end 1400.000000
Metadata:
title : Ending
Chapter #0.4: start 1400.000000, end 1415.000000
Metadata:
title : Preview
Chapter #0.5: start 0.054667, end 1414.954667
Metadata:
title :
Stream #0.0(jpn): Video: libx264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
q=2-31, 1k tbn, 1k tbc
Stream #0.1(und): Audio: aac, 48000 Hz, stereo, 159 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Press [q] to stop encoding
frame=33923 fps=1532 q=-1.0 Lsize= 353254kB time=1414.75 bitrate=2045.5kbits/s
video:324452kB audio:27631kB global headers:0kB muxing overhead 0.332551%
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2320>
________________________________________________