|
本帖最后由 chaw899 于 2019-6-26 10:49 编辑
ffmpeg -i 01.mp2 -i 02.mp2 -i hv.m2v -map 0:a -map 1:a -map 0:v -c copy hbg.mpg
提示视频流找不到,其中hv.m2v是mpeg2的码流。
命令有不对的地方码?
只是合成了2个多音轨,视频没有,正确的应该怎么做?
Stream map '0:v' matches no streams.
To ignore this, add a trailing '?' to the map.
ffmpeg -i 01.mp2 -i 02.mp2 -i hv.m2v -map 0:a -map 1:a -map 0:v -c copy hbg.mpg
ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
ble-decklink --enable-zlib
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[mp3 @ 0337e9a0] Skipping 0 bytes of junk at 0.
[mp3 @ 0337e9a0] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '01.mp2':
Duration: 00:04:47.62, start: 0.000000, bitrate: 224 kb/s
Stream #0:0: Audio: mp2, 48000 Hz, stereo, s16p, 224 kb/s
[mp3 @ 03398fe0] Skipping 0 bytes of junk at 0.
[mp3 @ 03398fe0] Estimating duration from bitrate, this may be inaccurate
Input #1, mp3, from '02.mp2':
Duration: 00:04:44.98, start: 0.000000, bitrate: 224 kb/s
Stream #1:0: Audio: mp2, 48000 Hz, stereo, s16p, 224 kb/s
[mpegvideo @ 033b7500] Estimating duration from bitrate, this may be inaccurate
Input #2, mpegvideo, from 'hv.m2v':
Duration: 00:04:45.21, bitrate: 3000 kb/s
Stream #2:0: Video: mpeg2video (Main), yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3
], 3000 kb/s, 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
Stream map '0:v' matches no streams.
To ignore this, add a trailing '?' to the map.
|
|