[FFmpeg-user] mp3 header missing
Remo Rayamajhi
kshatriya.remo at gmail.com
Sun Sep 23 12:19:25 EEST 2018
Hello all
I m trying to transcode the udp input channels , using lib264 and acc codec , but I got the 2 types of problem , so each time my ffmpg script runs for 5-10 minutes and stop working
1. [rtmp @ 0x5b89300] Ignoring unsupported var reason
2. [mp2 @ 0x5b89d80] Header missing
3. Error while decoding stream #0:1: Invalid data found when processing input
4. [mpeg2video @ 0x5b8bc00] Invalid mb type in P-frame at 29 1 bitrate=1032.7kbits/s speed=1.02x
5. [mpeg2video @ 0x5b8bc00] Warning MVs not available
ffmpeg -timeout 2000 -y -i 'udp://@239.1.3.9:8002?fifo_size=1000000\&overrun_nonfatal' -f +global_header -c:a aac -strict experimental -b:a 64000 -ar 44100 -ac 2 -ab 128k -s 640x360 -vcodec libx264 -pix_fmt yuv420p -g 60 -vb 900k -profile:v main -preset:v faster -r 30 -f flv 'rtmp://admin:admin@192.168.2.200:1935/live/Malayalam.stream'
ffmpeg version N-47006-g1cb101f60d-static -- 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. 19.101 / 56. 19.101
libavcodec 58. 30.100 / 58. 30.100
libavformat 58. 18.101 / 58. 18.101
libavdevice 58. 4.103 / 58. 4.103
libavfilter 7. 32.100 / 7. 32.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100
[mp2 @ 0x5b3b080] Header missing
Input #0, mpegts, from 'udp://@239.1.3.9:8002?fifo_size=1000000\&overrun_nonfatal':
Duration: N/A, start: 85302.055100, bitrate: N/A
Program 9
Metadata:
service_name : Malayalam
service_provider: TTV
Stream #0:0[0x5e5]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x649](fre): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 128 kb/s
[rtmp @ 0x5b89300] Ignoring unsupported var reason
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
[mp2 @ 0x5b89d80] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[libx264 @ 0x5b88900] using SAR=3/4
[libx264 @ 0x5b88900] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x5b88900] profile Main, level 3.0, 4:2:0, 8-bit
[libx264 @ 0x5b88900] 264 - core 157 r2932 303c484 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=4 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=11 lookahead_threads=2 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=60 keyint_min=6 scenecut=40 intra_refresh=0 rc_lookahead=20 rc=abr mbtree=1 bitrate=900 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, flv, to 'rtmp://admin:admin@192.168.2.200:1935/live/wtvDDMalayalam.stream':
Metadata:
encoder : Lavf58.18.101
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 640x360 [SAR 3:4 DAR 4:3], q=-1--1, 900 kb/s, 30 fps, 1k tbn, 30 tbc
Metadata:
encoder : Lavc58.30.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/900000 buffer size: 0 vbv_delay: -1
Stream #0:1(fre): Audio: aac (LC) ([10][0][0][0] / 0x000A), 44100 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc58.30.100 aac
[mpegts @ 0x5b24e80] PES packet size mismatchme=00:03:25.66 bitrate=1033.6kbits/s speed=1.02x
[mp2 @ 0x5b89d80] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0x5b8bc00] Invalid mb type in P-frame at 29 1 bitrate=1032.7kbits/s speed=1.02x
[mpeg2video @ 0x5b8bc00] Warning MVs not available
[mpeg2video @ 0x5b8bc00] concealing 1215 DC, 1215 AC, 1215 MV errors in P frame
[mpegts @ 0x5b24e80] PES packet size mismatch
[mpeg2video @ 0x5b8bc00] ac-tex damaged at 38 35
[mpeg2video @ 0x5b8bc00] Warning MVs not available
[mpeg2video @ 0x5b8bc00] concealing 45 DC, 45 AC, 45 MV errors in P frame
udp://@239.1.3.9:8002?fifo_size=1000000\&overrun_nonfatal: Input/output error
Last message repeated 1 times
[flv @ 0x5b420c0] Failed to update header with correct duration.
[flv @ 0x5b420c0] Failed to update header with correct filesize.
More information about the ffmpeg-user
mailing list