Muitas pessoas fizeram essa pergunta, mas cada uma com outro significado, e eu não conseguia entender nada.
Estou tentando cortar um vídeo e salvar as alterações em outro arquivo:
ffmpeg -i C:\Users\danie\Videos\video4.mp4 -ss 1:00 -t 3:00 -vcodec copy -acodec copy video5.mp4
Quando eu entro isso no cmd, eu obtenho a seguinte linha:
[NULL @ 000000000318f4c0] Unable to find a suitable output format for 'ffmpeg'
ffmpeg: Invalid argument
Eu não consigo entender o que está errado. Alguém pode me ajudar com isso?
EDIT: Esta é a saída do log:
ffmpeg started on 2016-10-11 at 14:14:13
Report written to "ffmpeg-20161011-141413.log"
ffmpeg version N-81960-g1bda0ee Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 32.100 / 55. 32.100
libavcodec 57. 61.100 / 57. 61.100
libavformat 57. 51.103 / 57. 51.103
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 63.100 / 6. 63.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 2.100 / 2. 2.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\danie\Videos\video4.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp41isom
creation_time : 2016-10-10T11:32:52.000000Z
date : 2016
Duration: 00:06:29.00, start: 0.000000, bitrate: 44036 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt470m), 1920x1080 [SAR 1:1 DAR 16:9], 43828 kb/s, 59.70 fps, 59.94 tbr, 60k tbn, 120 tbc (default)
Metadata:
creation_time : 2016-10-10T11:32:52.000000Z
handler_name : VideoHandler
encoder : AVC Coding
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 196 kb/s (default)
Metadata:
creation_time : 2016-10-10T11:32:52.000000Z
handler_name : SoundHandler
[NULL @ 0000000003089540] Unable to find a suitable output format for 'ffmpeg'
ffmpeg: Invalid argument