级别: 风云使者
- 注册时间:
- 2004-01-20
- 在线时间:
- 633小时
- 发帖:
- 549
|
先说明一下 所用的ffmpeg是在这里下载的(即是roo兄编译的) http://sourceforge.net/projects/direct264/files/Related%20Programs/ffmpeg%20%28demuxer_muxer%20only%29/ffmpeg_svn_r22846.7z/download然后这个是出问题的相关信息 生成的为无法打开的64KB的mp4 引用 FFmpeg version SVN-r22846, Copyright (c) 2000-2010 the FFmpeg developers built on Apr 13 2010 01:55:43 with gcc 4.4.1 configuration: libavutil 50.14. 0 / 50.14. 0 libavcodec52.66. 0 / 52.66. 0 libavformat 52.61. 0 / 52.61. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0.10. 0 / 0.10. 0 [matroska @ 0x27af40]max_analyze_duration reached [matroska @ 0x27af40]Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (48000/2002) Input #0, matroska, from 'E:\1.mkv': Duration: 00:01:29.88, start: 0.000000, bitrate: N/A Stream #0.0(jpn): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 tbr, 1k tbn, 47.95 tbc Metadata: title : 视频 Stream #0.1(jpn): Audio: aac, 48000 Hz, stereo, s16 Metadata: title : 日语音轨 Stream #0.2(chi): Subtitle: 0x0000 Metadata: title : 简体中文ASS字幕 Stream #0.3(chi): Subtitle: 0x0000 Metadata: title : 繁体中文ASS字幕 Output #0, mp4, to 'E:\2.mp4': Metadata: encoder : Lavf52.61.0 Stream #0.0(jpn): Video: 0x0021, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=0-0, 48k tbn, 23.98 tbc Metadata: title : 视频 Stream #0.1(jpn): Audio: 0x0040, 48000 Hz, stereo Metadata: title : 日语音轨 Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [mp4 @ 0x1040050]st:1 error, non monotone timestamps 288 >= 288 [mp4 @ 0x1040050]st:1 error, pts < dts av_interleaved_write_frame(): Error number -1 occurred
但是官方版却是正常的,以下是信息 问题是,这个mkv是vfr的,所以希望能用roo兄的ffmpeg正常地转封为mp4... 引用 FFmpeg version SVN-r22140-Sherpya, Copyright (c) 2000-2010 the FFmpeg developers built on Mar 2 2010 03:26:44 with gcc 4.2.5 20080919 (prerelease) [Sherpya] libavutil 50. 9. 0 / 50. 9. 0 libavcodec52.55. 0 / 52.55. 0 libavformat 52.54. 0 / 52.54. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter1.17. 0 / 1.17. 0 libswscale 0.10. 0 / 0.10. 0 libpostproc 51. 2. 0 / 51. 2. 0 [matroska @ 002ecc50]max_analyze_duration reached [matroska @ 002ecc50]Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (24000/1001) Input #0, matroska, from 'E:\1.mkv': Duration: 00:01:29.88, start: 0.000000, bitrate: N/A Stream #0.0(jpn): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 47.62 fps, 23.98 tbr, 1k tbn, 47.95 tbc Metadata: title : 视频 Stream #0.1(jpn): Audio: aac, 48000 Hz, stereo, s16 Metadata: title : 日语音轨 Stream #0.2(chi): Subtitle: 0x0000 Metadata: title : 简体中文ASS字幕 Stream #0.3(chi): Subtitle: 0x0000 Metadata: title : 繁体中文ASS字幕 Output #0, mp4, to 'E:\1.mp4': Metadata: encoder : Lavf52.54.0 Stream #0.0(jpn): Video: libx264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 48k tbn, 23.98 tbc Metadata: title : 视频 Stream #0.1(jpn): Audio: aac, 48000 Hz, stereo Metadata: title : 日语音轨 Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame= 741 fps= 0 q=-1.0 size= 10495kB time=30.82 bitrate=2789.4kbits/s frame= 1441 fps=1400 q=-1.0 size= 21163kB time=60.02 bitrate=2888.6kbits/s frame= 2096 fps=1357 q=-1.0 size= 32180kB time=87.34 bitrate=3018.4kbits/s frame= 2155 fps=1368 q=-1.0 Lsize= 32855kB time=89.80 bitrate=2997.2kbits/s
video:31032kB audio:1737kB global headers:0kB muxing overhead 0.259217%
自己不清楚问题在哪里 只好前来求助
|