ffmpeg将mov文件转换为mp4,却得到以下错误?

  • 回答 (0)
  • 关注 (0)
  • 查看 (661)

我安装了ffmpeg,想要把视频编码为.mov的文件转换为.mp4文件。

我正在运行命令如下:

ffmpeg -i movie.mov -vcodec copy -acodec cop out.mp4

但最后得到的错误是:

ffmpeg version 4.1.4 Copyright (c) 2000-2019 the FFmpeg developers

built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)

configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.4_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-12.0.1.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-12.0.1.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr

libavutil 56. 22.100 / 56. 22.100

libavcodec 58. 35.100 / 58. 35.100

libavformat 58. 20.100 / 58. 20.100

libavdevice 58. 5.100 / 58. 5.100

libavfilter 7. 40.101 / 7. 40.101

libavresample 4. 0. 0 / 4. 0. 0

libswscale 5. 3.100 / 5. 3.100

libswresample 3. 3.100 / 3. 3.100

libpostproc 55. 3.100 / 55. 3.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Desktop/general.mov':

Metadata:

major_brand : qt

minor_version : 0

compatible_brands: qt

creation_time : 2019-08-26T08:35:05.000000Z

encoder : Mac OS X v? (AVF 1550.4, CM 2290.13, x86_64)

encoder-eng : Mac OS X v? (AVF 1550.4, CM 2290.13, x86_64)

Duration: 00:00:05.01, start: 0.000000, bitrate: 204389 kb/s

Stream #0:0(eng): Video: prores (ap4h / 0x68347061), yuva444p10le(tv, smpte170m/smpte170m/bt709), 1920x1080, 204378 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)

Metadata:

creation_time : 2019-08-26T08:35:06.000000Z

handler_name : Core Media Video

encoder : Apple ProRes 4444

timecode : 00:00:00;00

Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)

Metadata:

creation_time : 2019-08-26T08:35:06.000000Z

handler_name : Core Media Time Code

timecode : 00:00:00;00

[mp4 @ 0x7fe7c6006c00] Could not find tag for codec prores in stream #0, codec not currently supported in container

Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

Stream mapping:

Stream #0:0 -> #0:0 (copy)

Last message repeated 1 times

rickyrabrickyrab提问于

扫码关注云+社区

领取腾讯云代金券