MEncoder无法转换mkv视频

Totem,mplayer,sopcast,realplayer,bmp
回复
lency
帖子: 3
注册时间: 2010-10-06 23:13
送出感谢: 0
接收感谢: 0

MEncoder无法转换mkv视频

#1

帖子 lency » 2010-12-23 0:04

用命令行的mencoder给ipod touch转换电影。avi和rmvb格式都可以正常转换,mkv就报错,把mkv中的avi提取出来再转换也报错。

命令如下:

mencoder -ofps 25 -of lavf -lavfopts format=mp4 -af lavcresample=44100 -vf-add harddup -vf-add scale=480:-10 -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:acodec=libfaac:abitrate=128:vcodec=mpeg4:vbitrate=384:keyint=25 -o test.mp4 test.mkv

错误信息是:

MEncoder SVN-r32642-snapshot-4.4.5 (C) 2000-2010 MPlayer Team
success: format: 0 data: 0x0 - 0x45f1bab4
libavformat file format detected.
[matroska,webm @ 0x9ac7590] Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: audio (ac3), -aid 0
[lavf] stream 1: video (h264), -vid 0
VIDEO: [H264] 1280x720 0bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x34363248 size:1280x720 fps:24.000 ftime:=0.0417
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=480 h=-10]
Opening video filter: [harddup]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]

1 duplicate frame(s)!
VIDEO CODEC ID: 13
AUDIO CODEC ID: 15002, TAG: 0
Writing header...
[mp4 @ 0x88db1a0]dimensions not set
Floating point exception
lency
帖子: 3
注册时间: 2010-10-06 23:13
送出感谢: 0
接收感谢: 0

Re: MEncoder无法转换mkv视频

#2

帖子 lency » 2010-12-23 14:29

米有人知道么……
回复

回到 “影音多媒体”