ฉันเพิ่งได้รับไฟล์ MOV บางไฟล์ที่บันทึกไว้ใน iPhone (ไม่แน่ใจว่าเป็นเวอร์ชันใด - ฉันสามารถรับข้อมูลนั้นได้หากจำเป็น) ฉันพยายามแปลง MOV เหล่านี้เป็นรูปแบบอื่น (อะไรก็ได้จริงๆ) เพื่อที่ฉันจะได้แก้ไขคลิปใน kdenlive ฉันได้ลองใช้โปรแกรมใน Windows รวมถึง vlc, ffmpeg และ avconv ใน Ubuntu โดยไม่ประสบความสำเร็จ ความพยายามที่จะแปลงไฟล์เป็น mp4 และ avi โดยใช้ Realplayer บน Macintosh ส่งผลให้อัตราส่วนภาพไม่ดีและคุณภาพของภาพลดลง
ฉันจะโพสต์ผลลัพธ์ของการพยายามแปลงไฟล์โดยใช้ 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)