
Recherche avancée
Autres articles (32)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (5185)
-
ffmpeg - Error [tcp @ 0x5a25700] Port missing in uri
9 mai 2021, par gerFor further development I tried to download a livestream under Ubuntu 20.04


uname -a
Linux 5.9.16-050916-generic #202012211331 SMP Mon Dec 21 14:11:13 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux`

ffmpeg -v debug -i 'https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd' testErsterKanal.mp4
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
 configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
 WARNING: library configuration mismatch
 avcodec configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-timeout' ... matched as AVOption 'timeout' with argument '5000'.
Reading option '-i' ... matched as input url with argument 'https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd'.
Reading option 'testErsterKanal.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd.
Successfully parsed a group of options.
Opening an input file: https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd.
[NULL @ 0x55f8e8ee6740] Opening 'https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd' for reading
[https @ 0x55f8e8ee7100] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[tcp @ 0x55f8e8ee9580] Original list of addresses:
[tcp @ 0x55f8e8ee9580] Address 81.211.33.67 port 443
[tcp @ 0x55f8e8ee9580] Interleaved list of addresses:
[tcp @ 0x55f8e8ee9580] Address 81.211.33.67 port 443
[tcp @ 0x55f8e8ee9580] Starting connection attempt to 81.211.33.67 port 443
[tcp @ 0x55f8e8ee9580] Successfully connected to 81.211.33.67 port 443
[https @ 0x55f8e8ee7100] request: GET /dash-live11/streams/1tv/1tvdash.mpd HTTP/1.1



worked well


Under Debian 10


Linux 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux



it is not working


ffmpeg -v debug -i 'https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd' testErsterKanal.mp4
ffmpeg version 4.1.6 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 8 (Debian 8.3.0-6)
 configuration: --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-libopencv --disable-outdev=sdl2 --disable-podpages --disable-sndio --disable-stripping --enable-libaom --enable-avfilter --enable-avresample --enable-gcrypt --disable-gnutls --enable-openssl --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libzimg --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opencl --enable-opengl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --enable-libwebp --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --enable-libvmaf --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
 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
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 3.100 / 5. 3.100
 libswresample 3. 3.100 / 3. 3.100
 libpostproc 55. 3.100 / 55. 3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd'.
Reading option 'testErsterKanal.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd.
Successfully parsed a group of options.
Opening an input file: https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd.
[NULL @ 0x55ce69421280] Opening 'https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd' for reading
[https @ 0x55ce69421e40] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[tcp @ 0x55ce69425e00] Port missing in uri
https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd: Invalid argument



I tried with ports 80 and 443, IP and an actual ffmpeg-Version in all combinations


nmap edge2.1internet.tv
Starting Nmap 7.70 ( https://nmap.org ) at 2021-05-06 21:46 CEST
Nmap scan report for edge2.1internet.tv (81.211.33.67)
Host is up (0.078s latency).
Not shown: 998 filtered ports
PORT STATE SERVICE
80/tcp open http
443/tcp open https

ffmpeg -v debug -i 'https://81.211.33.67:443/dash-live11/streams/1tv/1tvdash.mpd' testErsterKanal.mp4
 ffmpeg -v debug -i 'https://81.211.33.67:80/dash-live11/streams/1tv/1tvdash.mpd' testErsterKanal.mp4
 ./ffmpeg-git-20210501-amd64-static/ffmpeg -v debug -i 'https://81.211.33.67:443/dash-live11/streams/1tv/1tvdash.mpd' testErsterKanal.mp4



What is the error : [tcp @ 0x55ce69425e00] Port missing in uri and where it comes from ?
May be an global configuration error and not ffmpeg ?
Thanks


EDIT


I found out, that it is working only with sudo and the actual ffmpeg version (static build) from the home directory of the user, which is owend by the user.
All privileges of the directory's are at the user.


sudo ./ffmpeg-git-20210501-amd64-static/ffmpeg -re -i https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd testErsterKanal.mp4
ffmpeg version N-57204-gc7c138e411-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 8 (Debian 8.3.0-6)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --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-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
 libavutil 57. 0.100 / 57. 0.100
 libavcodec 59. 0.100 / 59. 0.100
 libavformat 59. 0.100 / 59. 0.100
 libavdevice 59. 0.100 / 59. 0.100
 libavfilter 8. 0.101 / 8. 0.101
 libswscale 6. 0.100 / 6. 0.100
 libswresample 4. 0.100 / 4. 0.100
 libpostproc 56. 0.100 / 56. 0.100



With the standard Debian distribution version from /usr/bin/ffmpeg is still not working, too with su-privileges.


I want to use it for tvheadend/TVH and can not work with su-privileges.


I tried to at Ubuntu


nc -z -v -u 81.211.33.67 443
Connection to 81.211.33.67 443 port [udp/*] succeeded!



at Debian


nc -z -v -u 81.211.33.67 443
81.211.33.67: inverse host lookup failed: Unknown host
(UNKNOWN) [81.211.33.67] 443 (?) open



and with sudo the same.


-
C# on linux : FFmpeg (FFMediaToolkit) MediaOutput..Video.AddFrame(FrameToImageData(ImageData)) causes program to exit with code 139
19 mai 2021, par Jan ČernýIn my C# program I have instance of
MediaOutput
from FFMediaToolkit. It is initialized like this :

MediaOutput buffer = MediaBuilder.CreateContainer(videoPath).WithVideo(new VideoEncoderSettings(width: width,
 height: height, framerate: frameRate,
 codec: VideoCodec.H264)
 ).Create();



When I want to add frame to buffer I use this code :


private static ImageData FrameToImageData(Bitmap bitmap) {
 Rectangle rect = new Rectangle(System.Drawing.Point.Empty, bitmap.Size);
 BitmapData bitLock = bitmap.LockBits(rect, ImageLockMode.ReadOnly, PixelFormat.Format24bppRgb);
 ImageData bitmapImageData = ImageData.FromPointer(bitLock.Scan0, ImagePixelFormat.Bgr24, bitmap.Size);
 bitmap.UnlockBits(bitLock);
 return bitmapImageData;
}

public void AddFrame(Bitmap frame) {
 buffer.Video.AddFrame(FrameToImageData(frame));
}



But when code reaches
buffer.Video.AddFrame();
it exits with code139
without throwing any exception.

I have two test files and only one is causing it. One is
.png
file 100x100 and it works fine. The other is.png
file 1000x1000 and it makes program exit as soon as it reaches this method.

What exit code 139 means in C# ?

How can I diagnose this problem when it is not throwing any exceptions ?

How can I fix it ?

Thank you for help. If you need any more information, leave a comment and I will add it soon as possible.


Edit1 :

This is my instel drivers :

john@arch-thinkpad ~> yay -Qs intel
local/intel-gmmlib 21.1.1-1
 Intel Graphics Memory Management Library
local/intel-media-driver 21.1.3-1
 Intel Media Driver for VAAPI — Broadwell+ iGPUs
local/intel-media-sdk 21.1.3-1
 API to access hardware-accelerated video on Intel Gen graphics hardware platforms
local/intel-mkl 2020.4.304-1
 Intel Math Kernel Library
local/intel-ucode 20210216-1
 Microcode update files for Intel CPUs
local/intellij-idea-ultimate-edition 2021.1.1-1
 An intelligent IDE for Java, Groovy and other programming languages with advanced refactoring features intensely focused on developer productivity.
local/libmfx 21.1.3-1
 Intel Media SDK dispatcher library
local/libva-intel-driver 2.4.1-1
 VA-API implementation for Intel G45 and HD Graphics family
local/onednn 2.2.2-1
 oneAPI Deep Neural Network Library (oneDNN)
local/tbb 2020.3-1
 High level abstract threading library
local/xf86-video-intel 1:2.99.917+916+g31486f40-1 (xorg-drivers)
 X.org Intel i810/i830/i915/945G/G965+ video drivers



EDIT2 :


[17091.524781] Slimulator[20962]: segfault at 7fd84003a011 ip 00007fd8400cd348 sp 00007ffddd9d7fb8 error 4 in libswscale.so.5.9.100[7fd840062000+75000]
[17091.524791] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[17091.524829] audit: type=1701 audit(1621440058.690:188): auid=1000 uid=1000 gid=1000 ses=1 pid=20962 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[17091.546116] audit: type=1334 audit(1621440058.713:189): prog-id=61 op=LOAD
[17091.546209] audit: type=1334 audit(1621440058.713:190): prog-id=62 op=LOAD
[17091.546262] audit: type=1334 audit(1621440058.713:191): prog-id=63 op=LOAD
[17091.547395] audit: type=1130 audit(1621440058.713:192): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@6-20996-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17094.458151] audit: type=1131 audit(1621440061.623:193): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@6-20996-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17094.542823] audit: type=1334 audit(1621440061.710:194): prog-id=63 op=UNLOAD
[17094.542832] audit: type=1334 audit(1621440061.710:195): prog-id=62 op=UNLOAD
[17094.542836] audit: type=1334 audit(1621440061.710:196): prog-id=61 op=UNLOAD
[17295.099124] Slimulator[21147]: segfault at 7f555b1de011 ip 00007f555b271348 sp 00007fff48239f48 error 4 in libswscale.so.5.9.100[7f555b206000+75000]
[17295.099132] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[17295.099197] audit: type=1701 audit(1621440262.267:197): auid=1000 uid=1000 gid=1000 ses=1 pid=21147 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[17295.108536] audit: type=1334 audit(1621440262.277:198): prog-id=64 op=LOAD
[17295.108679] audit: type=1334 audit(1621440262.277:199): prog-id=65 op=LOAD
[17295.108752] audit: type=1334 audit(1621440262.277:200): prog-id=66 op=LOAD
[17295.109589] audit: type=1130 audit(1621440262.277:201): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@7-21181-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17297.322989] audit: type=1131 audit(1621440264.487:202): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@7-21181-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17297.401409] audit: type=1334 audit(1621440264.571:203): prog-id=66 op=UNLOAD
[17297.401421] audit: type=1334 audit(1621440264.571:204): prog-id=65 op=UNLOAD
[17297.401426] audit: type=1334 audit(1621440264.571:205): prog-id=64 op=UNLOAD
[17353.331142] Slimulator[21281]: segfault at 7f35f1fd3011 ip 00007f35f2066348 sp 00007ffe7d1288e8 error 4 in libswscale.so.5.9.100[7f35f1ffb000+75000]
[17353.331160] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[17353.331214] audit: type=1701 audit(1621440320.498:206): auid=1000 uid=1000 gid=1000 ses=1 pid=21281 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[17353.344382] audit: type=1334 audit(1621440320.511:207): prog-id=67 op=LOAD
[17353.344518] audit: type=1334 audit(1621440320.511:208): prog-id=68 op=LOAD
[17353.344566] audit: type=1334 audit(1621440320.511:209): prog-id=69 op=LOAD
[17353.345651] audit: type=1130 audit(1621440320.511:210): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@8-21378-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17356.180885] audit: type=1131 audit(1621440323.345:211): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@8-21378-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17356.261051] audit: type=1334 audit(1621440323.428:212): prog-id=69 op=UNLOAD
[17356.261055] audit: type=1334 audit(1621440323.428:213): prog-id=68 op=UNLOAD
[17356.261057] audit: type=1334 audit(1621440323.428:214): prog-id=67 op=UNLOAD
[17379.499165] Slimulator[21454]: segfault at 7f68418a1011 ip 00007f6841934348 sp 00007ffea9f22eb8 error 4 in libswscale.so.5.9.100[7f68418c9000+75000]
[17379.499174] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[17379.499245] audit: type=1701 audit(1621440346.665:215): auid=1000 uid=1000 gid=1000 ses=1 pid=21454 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[17379.509368] audit: type=1334 audit(1621440346.675:216): prog-id=70 op=LOAD
[17379.509448] audit: type=1334 audit(1621440346.675:217): prog-id=71 op=LOAD
[17379.509481] audit: type=1334 audit(1621440346.675:218): prog-id=72 op=LOAD
[17379.510098] audit: type=1130 audit(1621440346.675:219): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@9-21492-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17381.661151] audit: type=1131 audit(1621440348.828:220): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@9-21492-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17381.740919] audit: type=1334 audit(1621440348.908:221): prog-id=72 op=UNLOAD
[17381.740924] audit: type=1334 audit(1621440348.908:222): prog-id=71 op=UNLOAD
[17381.740926] audit: type=1334 audit(1621440348.908:223): prog-id=70 op=UNLOAD
[17389.743524] Slimulator[21565]: segfault at 7f95075a4011 ip 00007f9507637348 sp 00007ffccfab3f18 error 4 in libswscale.so.5.9.100[7f95075cc000+75000]
[17389.743535] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[17389.743613] audit: type=1701 audit(1621440356.908:224): auid=1000 uid=1000 gid=1000 ses=1 pid=21565 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[17389.753604] audit: type=1334 audit(1621440356.918:225): prog-id=73 op=LOAD
[17389.753783] audit: type=1334 audit(1621440356.918:226): prog-id=74 op=LOAD
[17389.753847] audit: type=1334 audit(1621440356.918:227): prog-id=75 op=LOAD
[17389.755847] audit: type=1130 audit(1621440356.921:228): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@10-21600-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17392.121917] audit: type=1131 audit(1621440359.288:229): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@10-21600-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17392.204160] audit: type=1334 audit(1621440359.371:230): prog-id=75 op=UNLOAD
[17392.204167] audit: type=1334 audit(1621440359.371:231): prog-id=74 op=UNLOAD
[17392.204169] audit: type=1334 audit(1621440359.371:232): prog-id=73 op=UNLOAD
[17409.596374] Slimulator[21674]: segfault at 7fddab4c5011 ip 00007fddab558348 sp 00007ffe55e75e28 error 4 in libswscale.so.5.9.100[7fddab4ed000+75000]
[17409.596383] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[17409.596441] audit: type=1701 audit(1621440376.762:233): auid=1000 uid=1000 gid=1000 ses=1 pid=21674 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[17409.606014] audit: type=1334 audit(1621440376.772:234): prog-id=76 op=LOAD
[17409.606096] audit: type=1334 audit(1621440376.772:235): prog-id=77 op=LOAD
[17409.606139] audit: type=1334 audit(1621440376.772:236): prog-id=78 op=LOAD
[17409.606845] audit: type=1130 audit(1621440376.772:237): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@11-21706-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17411.977651] audit: type=1131 audit(1621440379.145:238): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@11-21706-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17412.074091] audit: type=1334 audit(1621440379.242:239): prog-id=78 op=UNLOAD
[17412.074098] audit: type=1334 audit(1621440379.242:240): prog-id=77 op=UNLOAD
[17412.074101] audit: type=1334 audit(1621440379.242:241): prog-id=76 op=UNLOAD
[17431.213606] Slimulator[21785]: segfault at 7f218cdca011 ip 00007f218ce5d348 sp 00007ffffd122a98 error 4 in libswscale.so.5.9.100[7f218cdf2000+75000]
[17431.213616] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[17431.213648] audit: type=1701 audit(1621440398.378:242): auid=1000 uid=1000 gid=1000 ses=1 pid=21785 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[17431.223086] audit: type=1334 audit(1621440398.388:243): prog-id=79 op=LOAD
[17431.223210] audit: type=1334 audit(1621440398.388:244): prog-id=80 op=LOAD
[17431.223272] audit: type=1334 audit(1621440398.388:245): prog-id=81 op=LOAD
[17431.224003] audit: type=1130 audit(1621440398.392:246): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@12-21817-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17433.560362] audit: type=1131 audit(1621440400.725:247): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@12-21817-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17433.620924] audit: type=1334 audit(1621440400.788:248): prog-id=81 op=UNLOAD
[17433.620929] audit: type=1334 audit(1621440400.788:249): prog-id=80 op=UNLOAD
[17433.620931] audit: type=1334 audit(1621440400.788:250): prog-id=79 op=UNLOAD
[17636.068527] audit: type=1701 audit(1621440603.236:251): auid=1000 uid=1000 gid=1000 ses=1 pid=22189 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=6 res=1
[17636.075124] audit: type=1334 audit(1621440603.243:252): prog-id=82 op=LOAD
[17636.075299] audit: type=1334 audit(1621440603.243:253): prog-id=83 op=LOAD
[17636.075334] audit: type=1334 audit(1621440603.243:254): prog-id=84 op=LOAD
[17636.075947] audit: type=1130 audit(1621440603.246:255): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@13-22213-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17636.859400] audit: type=1131 audit(1621440604.030:256): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@13-22213-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17636.952582] audit: type=1334 audit(1621440604.123:257): prog-id=84 op=UNLOAD
[17636.952586] audit: type=1334 audit(1621440604.123:258): prog-id=83 op=UNLOAD
[17636.952587] audit: type=1334 audit(1621440604.123:259): prog-id=82 op=UNLOAD
[17683.442450] Slimulator[22349]: segfault at 7fce7b840011 ip 00007fce7b8d3348 sp 00007ffdf12fde88 error 4 in libswscale.so.5.9.100[7fce7b868000+75000]
[17683.442461] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[17683.442489] audit: type=1701 audit(1621440650.613:260): auid=1000 uid=1000 gid=1000 ses=1 pid=22349 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[17683.451485] audit: type=1334 audit(1621440650.620:261): prog-id=85 op=LOAD
[17683.451530] audit: type=1334 audit(1621440650.620:262): prog-id=86 op=LOAD
[17683.451561] audit: type=1334 audit(1621440650.620:263): prog-id=87 op=LOAD
[17683.452200] audit: type=1130 audit(1621440650.620:264): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@14-22400-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17685.702716] audit: type=1131 audit(1621440652.873:265): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@14-22400-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17685.789205] audit: type=1334 audit(1621440652.960:266): prog-id=87 op=UNLOAD
[17685.789209] audit: type=1334 audit(1621440652.960:267): prog-id=86 op=UNLOAD
[17685.789211] audit: type=1334 audit(1621440652.960:268): prog-id=85 op=UNLOAD
[17741.587367] audit: type=1701 audit(1621440708.757:269): auid=1000 uid=1000 gid=1000 ses=1 pid=22506 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=6 res=1
[17741.597924] audit: type=1334 audit(1621440708.767:270): prog-id=88 op=LOAD
[17741.597991] audit: type=1334 audit(1621440708.767:271): prog-id=89 op=LOAD
[17741.598017] audit: type=1334 audit(1621440708.767:272): prog-id=90 op=LOAD
[17741.598635] audit: type=1130 audit(1621440708.770:273): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@15-22533-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17743.536566] audit: type=1131 audit(1621440710.707:274): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@15-22533-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17743.645445] audit: type=1334 audit(1621440710.817:275): prog-id=90 op=UNLOAD
[17743.645456] audit: type=1334 audit(1621440710.817:276): prog-id=89 op=UNLOAD
[17743.645460] audit: type=1334 audit(1621440710.817:277): prog-id=88 op=UNLOAD
[17826.501073] Slimulator[22630]: segfault at 7efff17b2011 ip 00007efff1845348 sp 00007ffe58353908 error 4 in libswscale.so.5.9.100[7efff17da000+75000]
[17826.501081] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[17826.501144] audit: type=1701 audit(1621440793.671:278): auid=1000 uid=1000 gid=1000 ses=1 pid=22630 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[17826.508176] audit: type=1334 audit(1621440793.681:279): prog-id=91 op=LOAD
[17826.508254] audit: type=1334 audit(1621440793.681:280): prog-id=92 op=LOAD
[17826.508285] audit: type=1334 audit(1621440793.681:281): prog-id=93 op=LOAD
[17826.508907] audit: type=1130 audit(1621440793.681:282): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@16-22667-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17828.821665] audit: type=1131 audit(1621440795.994:283): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@16-22667-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[17828.911512] audit: type=1334 audit(1621440796.084:284): prog-id=93 op=UNLOAD
[17828.911523] audit: type=1334 audit(1621440796.084:285): prog-id=92 op=UNLOAD
[17828.911528] audit: type=1334 audit(1621440796.084:286): prog-id=91 op=UNLOAD
[18255.197203] Slimulator[23128]: segfault at 7f44e8746011 ip 00007f44e87d9348 sp 00007ffdfc25d318 error 4 in libswscale.so.5.9.100[7f44e876e000+75000]
[18255.197213] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[18255.197237] audit: type=1701 audit(1621441222.370:287): auid=1000 uid=1000 gid=1000 ses=1 pid=23128 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[18255.205057] audit: type=1334 audit(1621441222.376:288): prog-id=94 op=LOAD
[18255.205138] audit: type=1334 audit(1621441222.376:289): prog-id=95 op=LOAD
[18255.205165] audit: type=1334 audit(1621441222.376:290): prog-id=96 op=LOAD
[18255.206164] audit: type=1130 audit(1621441222.380:291): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@17-23164-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18257.792719] audit: type=1131 audit(1621441224.967:292): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@17-23164-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18257.862155] audit: type=1334 audit(1621441225.037:293): prog-id=96 op=UNLOAD
[18257.862159] audit: type=1334 audit(1621441225.037:294): prog-id=95 op=UNLOAD
[18257.862161] audit: type=1334 audit(1621441225.037:295): prog-id=94 op=UNLOAD
[18312.879423] audit: type=1334 audit(1621441280.053:296): prog-id=97 op=LOAD
[18312.879566] audit: type=1334 audit(1621441280.053:297): prog-id=98 op=LOAD
[18312.879634] audit: type=1334 audit(1621441280.053:298): prog-id=99 op=LOAD
[18312.918107] audit: type=1130 audit(1621441280.090:299): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18342.984220] audit: type=1131 audit(1621441310.157:300): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18343.084948] audit: type=1334 audit(1621441310.260:301): prog-id=99 op=UNLOAD
[18343.084955] audit: type=1334 audit(1621441310.260:302): prog-id=98 op=UNLOAD
[18343.084959] audit: type=1334 audit(1621441310.260:303): prog-id=97 op=UNLOAD
[18527.198876] Slimulator[23504]: segfault at 7fd59543e011 ip 00007fd5954d1348 sp 00007ffcc5d59e78 error 4 in libswscale.so.5.9.100[7fd595466000+75000]
[18527.198885] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[18527.198911] audit: type=1701 audit(1621441494.371:304): auid=1000 uid=1000 gid=1000 ses=1 pid=23504 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[18527.207861] audit: type=1334 audit(1621441494.381:305): prog-id=100 op=LOAD
[18527.207959] audit: type=1334 audit(1621441494.381:306): prog-id=101 op=LOAD
[18527.207996] audit: type=1334 audit(1621441494.381:307): prog-id=102 op=LOAD
[18527.208682] audit: type=1130 audit(1621441494.381:308): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@18-23538-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18530.192509] audit: type=1131 audit(1621441497.364:309): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@18-23538-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18530.274214] audit: type=1334 audit(1621441497.448:310): prog-id=102 op=UNLOAD
[18530.274221] audit: type=1334 audit(1621441497.448:311): prog-id=101 op=UNLOAD
[18530.274224] audit: type=1334 audit(1621441497.448:312): prog-id=100 op=UNLOAD
[18788.989941] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe B (start=1126979 end=1126980) time 153 us, min 1073, max 1079, scanline start 1072, end 1082
[18793.024933] audit: type=1334 audit(1621441760.199:313): prog-id=103 op=LOAD
[18793.025042] audit: type=1334 audit(1621441760.199:314): prog-id=104 op=LOAD
[18793.025082] audit: type=1334 audit(1621441760.199:315): prog-id=105 op=LOAD
[18793.061481] audit: type=1130 audit(1621441760.235:316): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18823.124309] audit: type=1131 audit(1621441790.299:317): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[18823.193828] audit: type=1334 audit(1621441790.369:318): prog-id=105 op=UNLOAD
[18823.193847] audit: type=1334 audit(1621441790.369:319): prog-id=104 op=UNLOAD
[18823.193856] audit: type=1334 audit(1621441790.369:320): prog-id=103 op=UNLOAD
[19615.817516] Slimulator[24574]: segfault at 7fb94cbbd011 ip 00007fb94cc50348 sp 00007fffefd935c8 error 4 in libswscale.so.5.9.100[7fb94cbe5000+75000]
[19615.817524] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[19615.817544] audit: type=1701 audit(1621442582.996:321): auid=1000 uid=1000 gid=1000 ses=1 pid=24574 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[19615.825508] audit: type=1334 audit(1621442583.002:322): prog-id=106 op=LOAD
[19615.825620] audit: type=1334 audit(1621442583.002:323): prog-id=107 op=LOAD
[19615.825652] audit: type=1334 audit(1621442583.002:324): prog-id=108 op=LOAD
[19615.826425] audit: type=1130 audit(1621442583.006:325): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@19-24609-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[19617.863304] audit: type=1131 audit(1621442585.043:326): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@19-24609-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[19617.939124] audit: type=1334 audit(1621442585.119:327): prog-id=108 op=UNLOAD
[19617.939129] audit: type=1334 audit(1621442585.119:328): prog-id=107 op=UNLOAD
[19617.939132] audit: type=1334 audit(1621442585.119:329): prog-id=106 op=UNLOAD
[20633.629288] Slimulator[25687]: segfault at 7fed842b8011 ip 00007fed8434b348 sp 00007ffcbf0f45d8 error 4 in libswscale.so.5.9.100[7fed842e0000+75000]
[20633.629298] Code: 45 85 c0 0f 8e 58 01 00 00 41 8d 40 ff 49 89 cc 48 89 d5 48 89 f9 48 89 44 24 f8 44 89 c0 31 f6 48 89 44 24 e0 0f 1f 44 00 00 <0f> b6 41 01 44 0f b6 41 02 48 83 c1 06 44 8b 7c 24 d4 8b 54 24 d8
[20633.629328] audit: type=1701 audit(1621443600.811:330): auid=1000 uid=1000 gid=1000 ses=1 pid=25687 comm="Slimulator" exe="/home/john/Projects/Slimulator/bin/Debug/net5.0/Slimulator" sig=11 res=1
[20633.640886] audit: type=1334 audit(1621443600.824:331): prog-id=109 op=LOAD
[20633.640985] audit: type=1334 audit(1621443600.824:332): prog-id=110 op=LOAD
[20633.641017] audit: type=1334 audit(1621443600.824:333): prog-id=111 op=LOAD
[20633.641934] audit: type=1130 audit(1621443600.824:334): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@20-25722-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[20636.303870] audit: type=1131 audit(1621443603.488:335): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@20-25722-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[20636.410990] audit: type=1334 audit(1621443603.594:336): prog-id=111 op=UNLOAD
[20636.411006] audit: type=1334 audit(1621443603.594:337): prog-id=110 op=UNLOAD
[20636.411014] audit: type=1334 audit(1621443603.594:338): prog-id=109 op=UNLOAD



-
Packet corrupt (stream = 0, dts = 2490755129) error in ffmpeg which creates HLS and in ffmpeg which uploads HLS to a CDN
25 mai 2021, par Amit Maharjanffmpeg command which creates the hls stream :

ffmpeg -y -v warning -i udp://225.1.2.3:2000?reuse=1&buffer_size=16777216&localaddr=127.0.0.1&overrun_nonfatal=1 -c:v:0 h264_qsv -global_quality 25 -pix_fmt nv12 -r 59.94 -filter:v:0 fps=fps=59.94,scale=768:432:force_original_aspect_ratio=decrease,pad=768:432:(ow-iw)/2:(oh-ih)/2 -vsync cfr -g 120 -c:a:0 aac -ar 48000 -b:a:0 128k -profile:v:0 high -level:v:0 3.1 -b:v:0 1000k -maxrate:v:0 1000k -bufsize:v:0 1000k -map 0:v -map 0:a -c:v:1 h264 -global_quality 25 -pix_fmt nv12 -r 24 -filter:v:1 fps=fps=24,scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2 -vsync cfr -g 121 -c:a:1 aac -ar 44100 -b:a:1 128k -profile:v:1 main -level:v:1 3.1 -b:v:1 800k -maxrate:v:1 800k -bufsize:v:1 800k -map 0:v -map 0:a -max_muxing_queue_size 4096 -f hls -hls_list_size 10 -hls_delete_threshold 30 -hls_flags delete_segments -hls_time 4 -master_pl_name master.m3u8 -var_stream_map " v:0,a:0,name:0 v:1,a:1,name:1" -hls_start_number_source epoch C:path_to_hls_data/436379cd-11e6-4ef0-a198-58c69b139803/%v_playlist.m3u8


ffmpeg command to upload the hls stream to cdn :

ffmpeg -y -v warning -re -f hls -http_persistent 0 -i http://localhost:3000/assets/436379cd-11e6-4ef0-a198-58c69b139803/master.m3u8 -b:v:0 1000k -b:a:0 128k -c:v:0 copy -c:a:0 copy -b:v:1 800k -b:a:1 128k -c:v:1 copy -c:a:1 copy -method POST -map 0:v:0 -map 0:a:0 -map 0:v:1 -map 0:a:1 -var_stream_map " v:0,a:0,name:0 v:1,a:1,name:1" -f hls -master_pl_name master.m3u8 -hls_list_size 10 -hls_time 4 -hls_flags second_level_segment_index -master_pl_publish_rate 150 -strftime 1 -hls_segment_filename "cdn_link" "cdn_link"




In the logs below _UploaderProcess is the ffmpeg which uploads the hls stream to cdn, _encProcess_dst is the ffmpeg which creates the hls stream




Error logs :


6961 19:42:40.241 2021-05-08 [2021-05-08T19:42:40.241 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1805890264).

6960 19:42:36.204 2021-05-08 [2021-05-08T19:42:36.204 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [hls @ 0000026eabfecb40] skipping 3 segments ahead, expired from playlists

6959 19:42:27.520 2021-05-08 [2021-05-08T19:42:27.520 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [h264 @ 0000025030f09540] co located POCs unavailable
6958 19:42:27.516 2021-05-08 [2021-05-08T19:42:27.516 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [h264 @ 0000025030f0a780] co located POCs unavailable
6957 19:42:27.514 2021-05-08 [2021-05-08T19:42:27.514 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [h264 @ 0000025030f0c780] co located POCs unavailable
6956 19:42:27.504 2021-05-08 Error while decoding stream #0:1: Invalid data found when processing input
6955 19:42:27.504 2021-05-08 [aac @ 000002502ff97c40] Number of scalefactor bands in group (57) exceeds limit (49).
6954 19:42:27.504 2021-05-08 [2021-05-08T19:42:27.504 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [aac @ 000002502ff97c40] Reserved bit set.
6953 19:42:27.503 2021-05-08 Error while decoding stream #0:1: Invalid data found when processing input
6952 19:42:27.503 2021-05-08 [2021-05-08T19:42:27.503 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [aac @ 000002502ff97c40] Number of bands (50) exceeds limit (41).
6951 19:42:27.501 2021-05-08 [mpegts @ 000002502ff6cdc0] Packet corrupt (stream = 1, dts = 5313003).
6950 19:42:27.501 2021-05-08 [2021-05-08T19:42:27.501 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [mpegts @ 000002502ff6cdc0] PES packet size mismatch
6949 19:42:27.498 2021-05-08 [2021-05-08T19:42:27.498 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [mpegts @ 000002502ff6cdc0] Packet corrupt (stream = 0, dts = 5327196).
6948 19:42:24.201 2021-05-08 [2021-05-08T19:42:24.201 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1804448823).
6947 19:42:20.193 2021-05-08 [2021-05-08T19:42:20.193 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [hls @ 0000026eabfecb40] skipping 2 segments ahead, expired from playlists
6946 19:42:08.190 2021-05-08 [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1803007381).
6945 19:42:08.190 2021-05-08 [2021-05-08T19:42:08.190 DEBUG video_encoder.js:1] - _UploaderProcess stderr: Last message repeated 1 times
6944 19:41:48.169 2021-05-08 [2021-05-08T19:41:48.169 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [hls @ 0000026eabfecb40] skipping 2 segments ahead, expired from playlists
6943 19:41:44.289 2021-05-08 [2021-05-08T19:41:44.289 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [mpegts @ 000002502ff6cdc0] Packet corrupt (stream = 0, dts = 1445819).
6942 19:41:36.153 2021-05-08 [2021-05-08T19:41:36.153 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1800124498).
6941 19:41:34.154 2021-05-08 [2021-05-08T19:41:34.154 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [hls @ 0000026eabfecb40] skipping 2 segments ahead, expired from playlists
6940 19:41:31.565 2021-05-08 Error while decoding stream #0:1: Invalid data found when processing input
6939 19:41:31.565 2021-05-08 [2021-05-08T19:41:31.565 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [aac @ 000002502ff97c40] skip_data_stream_element: Input buffer exhausted before END element found
6938 19:41:31.564 2021-05-08 Error while decoding stream #0:1: Invalid data found when processing input
6937 19:41:31.564 2021-05-08 [2021-05-08T19:41:31.564 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [aac @ 000002502ff97c40] Number of bands (46) exceeds limit (41).
6936 19:41:31.498 2021-05-08 [mpegts @ 000002502ff6cdc0] Packet corrupt (stream = 1, dts = 185153643).
6935 19:41:31.498 2021-05-08 [2021-05-08T19:41:31.498 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [mpegts @ 000002502ff6cdc0] PES packet size mismatch
6934 19:41:31.486 2021-05-08 [2021-05-08T19:41:31.486 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [h264 @ 0000025030f0be80] co located POCs unavailable
6933 19:41:31.484 2021-05-08 [2021-05-08T19:41:31.484 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [h264 @ 0000025030f0b540] co located POCs unavailable
6932 19:41:31.483 2021-05-08 [2021-05-08T19:41:31.483 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [h264 @ 0000025030f0b0c0] co located POCs unavailable
6931 19:41:31.480 2021-05-08 [2021-05-08T19:41:31.480 DEBUG video_encoder.js:1] - _encProcess_dst stderr: [mpegts @ 000002502ff6cdc0] Packet corrupt (stream = 0, dts = 185167857).
6930 19:41:31.447 2021-05-08 [2021-05-08T19:41:31.447 DEBUG video_encoder.js:1] - _tspProcess_play stderr: * Warning: regulate: out of sequence PCR, maybe source was cycling, restarting regulation
6929 19:41:22.164 2021-05-08 [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1798863237).
6928 19:41:22.164 2021-05-08 [2021-05-08T19:41:22.164 DEBUG video_encoder.js:1] - _UploaderProcess stderr: Last message repeated 1 times
6927 19:41:02.119 2021-05-08 [2021-05-08T19:41:02.119 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [hls @ 0000026eabfecb40] skipping 2 segments ahead, expired from playlists
6926 19:40:50.147 2021-05-08 [2021-05-08T19:40:50.147 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1795980354).
6925 19:40:46.111 2021-05-08 [2021-05-08T19:40:46.111 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [hls @ 0000026eabfecb40] skipping 2 segments ahead, expired from playlists
6924 19:40:34.099 2021-05-08 [2021-05-08T19:40:34.099 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1794538913).
6923 19:40:30.074 2021-05-08 [2021-05-08T19:40:30.074 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [hls @ 0000026eabfecb40] skipping 2 segments ahead, expired from playlists
6922 19:40:18.062 2021-05-08 [2021-05-08T19:40:18.062 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1793097471).
6921 19:40:14.081 2021-05-08 [2021-05-08T19:40:14.081 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [hls @ 0000026eabfecb40] skipping 2 segments ahead, expired from playlists
6920 19:40:02.055 2021-05-08 [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1791656030).
6919 19:40:02.055 2021-05-08 [2021-05-08T19:40:02.055 DEBUG video_encoder.js:1] - _UploaderProcess stderr: Last message repeated 1 times
6918 19:39:42.040 2021-05-08 [2021-05-08T19:39:42.040 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [hls @ 0000026eabfecb40] skipping 2 segments ahead, expired from playlists
6917 19:39:30.017 2021-05-08 [2021-05-08T19:39:30.017 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1788773147).
6916 19:39:26.014 2021-05-08 [2021-05-08T19:39:26.014 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [hls @ 0000026eabfecb40] skipping 2 segments ahead, expired from playlists
6915 19:39:13.996 2021-05-08 [2021-05-08T19:39:13.996 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1787331706).
6914 19:39:10.004 2021-05-08 [2021-05-08T19:39:10.004 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [hls @ 0000026eabfecb40] skipping 2 segments ahead, expired from playlists
6913 19:38:58.003 2021-05-08 [2021-05-08T19:38:58.003 DEBUG video_encoder.js:1] - _UploaderProcess stderr: [mpegts @ 0000026eabff7c40] Packet corrupt (stream = 0, dts = 1785890264).