这是感兴趣的视频的 mplayer 输出:
br@carina:/tmp$ mplayer foo.mov
mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, consider re-linking
MPlayer 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing foo.mov.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO: [H264] 1280x720 24bpp 59.940 fps 2494.2 kbps (304.5 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 15999->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 Planar YV12
我想使用 ffmpeg、mencoder 或其他一些命令行视频转码器将此视频重新采样到较低的帧速率,而不会损失图像质量。也就是说,每一帧都应尽可能保持清晰。
尝试
ffmpeg -i foo.mov -r 25 -vcodec 复制 bar.mov
- 目标帧速率——25fps——已经实现,但单个帧是“块状的”。
mencoder -nosound -ovc 复制 foo.mov -ofps 25 -o bar.mov
- 视频实际上是不可见的。
帮助!
这似乎是一个足够简单的用例。我很惊讶明显的事情不起作用。我的方法有问题吗?