[FFmpeg-user] How to copy all of 5 audio streams to mp4 file
Ulf Zibis
Ulf.Zibis at gmx.de
Mon Feb 18 12:56:42 EET 2019
Hi,
I have a ripped vob stream with 5 audio streams. I want all these audio
streams in the mp4 file. What to do for this?
Also there should be 13 subtitle streams in this video, but I don't find
them here.
$ ffmpeg -i
"concat:002-C001/VLuN-001.vob|002-C002/VLuN-001.vob|002-C003/VLuN-001.vob|002-C004/VLuN-001.vob|002-C005/VLuN-001.vob|002-C006/VLuN-001.vob|002-C007/VLuN-001.vob|002-C008/VLuN-001.vob|002-C009/VLuN-001.vob|002-C010/VLuN-001.vob|002-C011/VLuN-001.vob|002-C012/VLuN-001.vob|002-C013/VLuN-001.vob|002-C014/VLuN-001.vob|002-C015/VLuN-001.vob|002-C016/VLuN-001.vob"
-c:v libx264 -c:a copy -movflags +faststart
/media/Sicherung/Filme/VLuN/ffmpeg/002/VLuN.mp4
ffmpeg version 4.1-static https://johnvansickle.com/ffmpeg/ Copyright
(c) 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
configuration: --enable-gpl --enable-version3 --enable-static
--disable-debug --disable-ffplay --disable-indev=sndio
--disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-gray --enable-libaom --enable-libfribidi
--enable-libass --enable-libvmaf --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband
--enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus
--enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc
--enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxml2 --enable-libxvid --enable-libzimg
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
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Input #0, mpeg, from
'concat:002-C001/VLuN-001.vob|002-C002/VLuN-001.vob|002-C003/VLuN-001.vob|002-C004/VLuN-001.vob|002-C005/VLuN-001.vob|002-C006/VLuN-001.vob|002-C007/VLuN-001.vob|002-C008/VLuN-001.vob|002-C009/VLuN-001.vob|002-C010/VLuN-001.vob|002-C011/VLuN-001.vob|002-C012/VLuN-001.vob|002-C013/VLuN-001.vob|002-C014/VLuN-001.vob|002-C015/VLuN-001.vob|002-C016/VLuN-001.vob':
Duration: 01:46:25.22, start: 0.280000, bitrate: 7663 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top
first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:2[0x81]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:3[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:4[0x83]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:5[0x84]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0x6e731c0] using SAR=64/45
[libx264 @ 0x6e731c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1
Cache64
[libx264 @ 0x6e731c0] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0x6e731c0] 264 - core 157 r2935 545de2f - H.264/MPEG-4 AVC
codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
aq=1:1.00
[mp4 @ 0x6e6b740] track 1: codec frame size is not set
Output #0, mp4, to '/media/Sicherung/Filme/VLuN/ffmpeg/002/VLuN.mp4':
Metadata:
encoder : Lavf58.20.100
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p,
720x576 [SAR 64:45 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc58.35.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1: Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp,
192 kb/s
frame= 105 fps=0.0 q=28.0 size= 0kB time=00:00:04.00 bitrate=
0.1kbits/frame= 133 fps=128 q=28.0 size= 0kB time=00:00:05.12
bitrate= 0.1kbits/frame= 161 fps=103 q=28.0 size= 256kB
time=00:00:06.27 bitrate= 334.4kbits/frame= 191 fps= 92 q=28.0
size= 256kB time=00:00:07.42 bitrate= 282.5kbits/frame= 218 fps= 84
q=28.0 size= 256kB time=00:00:08.64 bitrate= 242.8kbits/
[.....]
frame=159632 fps= 26 q=28.0 size= 1024768kB time=01:46:25.21
bitrate=1314.7kbits[mp4 @ 0x6e6b740] Starting second pass: moving the
moov atom to the beginning of the file
frame=159632 fps= 26 q=-1.0 Lsize= 1029008kB time=01:46:25.21
bitrate=1320.2kbits/s speed=1.04x
video:875404kB audio:149654kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.385397%
[libx264 @ 0x6e731c0] frame I:1421 Avg QP:20.61 size: 37498
[libx264 @ 0x6e731c0] frame P:45896 Avg QP:23.66 size: 10916
[libx264 @ 0x6e731c0] frame B:112315 Avg QP:26.83 size: 3046
[libx264 @ 0x6e731c0] consecutive B-frames: 2.0% 4.7% 23.4% 69.8%
[libx264 @ 0x6e731c0] mb I I16..4: 7.7% 80.0% 12.3%
[libx264 @ 0x6e731c0] mb P I16..4: 1.1% 8.3% 1.4% P16..4: 41.6%
16.8% 10.2% 0.0% 0.0% skip:20.6%
[libx264 @ 0x6e731c0] mb B I16..4: 0.1% 0.9% 0.2% B16..8: 44.6%
5.0% 1.1% direct: 1.6% skip:46.5% L0:42.6% L1:48.7% BI: 8.7%
[libx264 @ 0x6e731c0] 8x8 transform intra:77.7% inter:79.6%
[libx264 @ 0x6e731c0] coded y,uvDC,uvAC intra: 75.5% 68.4% 22.7% inter:
17.4% 14.1% 0.2%
[libx264 @ 0x6e731c0] i16 v,h,dc,p: 38% 22% 6% 34%
[libx264 @ 0x6e731c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 9% 18% 6% 7%
11% 6% 11% 6%
[libx264 @ 0x6e731c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 15% 14% 6% 8%
11% 5% 8% 4%
[libx264 @ 0x6e731c0] i8c dc,h,v,p: 50% 15% 27% 7%
[libx264 @ 0x6e731c0] Weighted P-Frames: Y:6.7% UV:2.0%
[libx264 @ 0x6e731c0] ref P L0: 56.3% 18.7% 17.7% 6.9% 0.4%
[libx264 @ 0x6e731c0] ref B L0: 87.4% 10.2% 2.4%
[libx264 @ 0x6e731c0] ref B L1: 96.4% 3.6%
[libx264 @ 0x6e731c0] kb/s:1123.10
-Ulf
--
Von meinem Seibert gesendet
More information about the ffmpeg-user
mailing list