我最近收到了一些在 iPhone 上录制的 MOV 文件(不确定哪个版本 - 如果需要,我可以获取该信息)。我一直在尝试将这些 MOV 转换为另一种格式(实际上是任何格式),以便我可以在 kdenlive 中编辑剪辑。我尝试过 Windows 中的程序以及 Ubuntu 中的 vlc、ffmpeg 和 avconv,但均未成功。尝试在 Macintosh 上使用 Realplayer 将文件转换为 mp4 和 avi 会导致宽高比不佳和图像质量下降。
我将在下面发布尝试使用 avconv 转换文件的结果。我尝试转换的原始 MOV 文件可以在这里下载: http ://www.unc.edu/~haksaeng/balloon/IMG_0347.MOV
任何有关如何成功转换这些文件而不损失(太多)质量的指导将不胜感激。首选 Ubuntu 解决方案,但此时我会采取任何措施。
avconv -i IMG_0347.MOV -f mp4 -vcodec copy -acodec copy output.mp4
avconv version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:00:59 with gcc 4.6.3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8c3e240] stream 0, error opening alias: path='/Users/', dir='Roll 1', filename='IMG_0347.MOV', volume='Lees HD', nlvl_from=3, nlvl_to=3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8c3e240] stream 1, error opening alias: path='/Users/', dir='Roll 1', filename='IMG_0347.MOV', volume='Lees HD', nlvl_from=3, nlvl_to=3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8c3e240] Could not find codec parameters (Video: h264, 1920x1080, 18530 kb/s)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IMG_0347.MOV':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2013-04-06 12:20:16
encoder : 6.1.3
encoder-eng : 6.1.3
date : 2013-04-06T08:20:16-0400
date-eng : 2013-04-06T08:20:16-0400
Duration: 00:00:05.15, bitrate: 9 kb/s
Stream #0.0(und): Video: h264, 1920x1080, 18530 kb/s, 29.97 fps, 600 tbr, 600 tbn, 1200 tbc
Metadata:
creation_time : 2013-04-06 12:20:16
Stream #0.1(und): Audio: aac, 44100 Hz, mono, s16, 63 kb/s
Metadata:
creation_time : 2013-04-06 12:20:16
File 'output.mp4' already exists. Overwrite ? [y/N] y
File 'output.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'output.mp4':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2013-04-06 12:20:16
date-eng : 2013-04-06T08:20:16-0400
encoder-eng : 6.1.3
date : 2013-04-06T08:20:16-0400
encoder : Lavf53.21.1
Stream #0.0(und): Video: libx264, 1920x1080, q=2-31, 18530 kb/s, 600 tbn, 600 tbc
Metadata:
creation_time : 2013-04-06 12:20:16
Stream #0.1(und): Audio: libvo_aacenc, 44100 Hz, mono, 63 kb/s
Metadata:
creation_time : 2013-04-06 12:20:16
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press ctrl-c to stop encoding
frame= 0 fps= 0 q=-1.0 Lsize= 0kB time=10000000000.00 bitrate= 0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead inf%
现在尝试用 mplayer 播放它:
mplayer output.mp4
MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 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 output.mp4.
libavformat version 53.21.1 (external)
Mismatching header version 53.19.0
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1e013a0]Estimating duration from bitrate, this may be inaccurate
LAVF: no audio or video headers found - broken file?
Quicktime/MOV file format detected.
No stream found.
Exiting... (End of file)