[FFmpeg-user] -map switch doesnt work
Loadlinx
limiteddi at gmail.com
Wed Mar 13 19:07:59 EET 2019
I cant seem to map video/audio for some reason from my stream. Without -map
switch the process works but I have no audio. Is there any way to fix this?
I tried different options with no luck.
*/root/bin/ffmpeg -i
'udp://0.0.0.0:9001?fifo_size=256000&buffer_size=2097152&overrun_nonfatal=1
<http://0.0.0.0:9001?fifo_size=256000&buffer_size=2097152&overrun_nonfatal=1>'
-vcodec libx264 -vb 1500k -bufsize 128k -acodec libfdk_aac -ar 44100
-preset fast -map 0:0 -map 0:1 1.mp4ffmpeg version N-93276-g3b23eb2
Copyright (c) 2000-2019 the FFmpeg developers built with gcc 5.4.0 (Ubuntu
5.4.0-6ubuntu1~16.04.10) 20160609 configuration:
--prefix=/root/ffmpeg_build --pkg-config-flags=--static
--extra-cflags=-I/root/ffmpeg_build/include
--extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl
--enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libx264
--enable-openssl --enable-nonfree libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 47.102 / 58. 47.102 libavformat 58. 26.101 / 58.
26.101 libavdevice 58. 6.101 / 58. 6.101 libavfilter 7. 48.100 /
7. 48.100 libswscale 5. 4.100 / 5. 4.100 libswresample 3.
4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100[udp @
0x3bb9400] attempted to set receive buffer to size 2097152 but it only
ended up set as 425984SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![h264 @ 0x3bddc00] SPS unavailable in decode_picture_timing[h264 @
0x3bddc00] non-existing PPS 0 referenced[h264 @ 0x3bddc00] SPS unavailable
in decode_picture_timing[h264 @ 0x3bddc00] non-existing PPS 0
referenced[h264 @ 0x3bddc00] decode_slice_header error[h264 @ 0x3bddc00] no
frame![mpegts @ 0x3bb8ac0] Could not find codec parameters for stream 1
(Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame
sizeConsider increasing the value for the 'analyzeduration' and 'probesize'
options[mpegts @ 0x3bb8ac0] Could not find codec parameters for stream 2
(Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels, fltp): unspecified
sample rateConsider increasing the value for the 'analyzeduration' and
'probesize' optionsInput #0, mpegts, from
'udp://0.0.0.0:9001?fifo_size=256000&buffer_size=2097152&overrun_nonfatal=1
<http://0.0.0.0:9001?fifo_size=256000&buffer_size=2097152&overrun_nonfatal=1>':
Duration: N/A, start: 57300.800911, bitrate: N/A Program 51 Metadata:
service_name : SET HD service_provider: Stream #0:0[0x8a2]:
Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080
[SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x898]:
Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels Stream #0:2[0x899]:
Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels, fltpStream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1
(mp3 (mp3float) -> aac (libfdk_aac))Press [q] to stop, [?] for help[h264 @
0x3be43c0] co located POCs unavailable[h264 @ 0x3d06f40] co located POCs
unavailable[libx264 @ 0x3be3e80] VBV maxrate unspecified, assuming
CBR[libx264 @ 0x3be3e80] using SAR=1/1[libx264 @ 0x3be3e80] using cpu
capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2[libx264 @
0x3be3e80] profile High, level 4.0[libx264 @ 0x3be3e80] 264 - core 148
r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 -
http://www.videolan.org/x264.html <http://www.videolan.org/x264.html> -
options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 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=24
lookahead_threads=4 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=1 keyint=250 keyint_min=25
scenecut=40 intra_refresh=0 rc_lookahead=30 rc=cbr mbtree=1 bitrate=1500
ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1500
vbv_bufsize=128 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00Too many
packets buffered for output stream 0:0.577014:32:22.77 bitrate=
-0.0kbits/s dup=34 drop=0 speed=N/A[libx264 @ 0x3be3e80] frame I:1 Avg
QP:43.72 size: 10851[libx264 @ 0x3be3e80] frame P:41 Avg QP:36.64
size: 6376[libx264 @ 0x3be3e80] frame B:87 Avg QP:38.59 size:
1366[libx264 @ 0x3be3e80] consecutive B-frames: 6.9% 7.7% 2.3%
83.1%[libx264 @ 0x3be3e80] mb I I16..4: 23.9% 75.4% 0.7%[libx264 @
0x3be3e80] mb P I16..4: 6.3% 6.0% 0.1% P16..4: 21.0% 1.4% 0.6% 0.0%
0.0% skip:64.5%[libx264 @ 0x3be3e80] mb B I16..4: 0.9% 0.5% 0.0%
B16..8: 7.2% 0.3% 0.0% direct: 1.4% skip:89.7% L0:42.1% L1:57.3% BI:
0.6%[libx264 @ 0x3be3e80] 8x8 transform intra:49.9% inter:93.3%[libx264 @
0x3be3e80] coded y,uvDC,uvAC intra: 8.7% 19.6% 1.3% inter: 1.3% 1.4%
0.0%[libx264 @ 0x3be3e80] i16 v,h,dc,p: 39% 29% 9% 23%[libx264 @
0x3be3e80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 10% 45% 2% 2% 3% 2% 2%
1%[libx264 @ 0x3be3e80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 20% 24% 3% 5%
7% 4% 3% 3%[libx264 @ 0x3be3e80] i8c dc,h,v,p: 85% 7% 8% 0%[libx264
@ 0x3be3e80] Weighted P-Frames: Y:0.0% UV:0.0%[libx264 @ 0x3be3e80] ref P
L0: 67.8% 32.2%[libx264 @ 0x3be3e80] ref B L0: 83.3% 16.7%[libx264 @
0x3be3e80] ref B L1: 96.3% 3.7%[libx264 @ 0x3be3e80] kb/s:606.43Conversion
failed!*
More information about the ffmpeg-user
mailing list