
Recherche avancée
Autres articles (111)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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. -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (9948)
-
ffmpeg livestream alway stop after 160hours streamming
2 avril 2018, par JerryJumper88I use ffmpeg with this code to run stream youtube 24/7 from Windows VPS. But stream alway stop after 160-167 hours and I don’t know why.
dir/b/s "C:\Users\NASA\Desktop\ffmpeg\bin\1\*.mp4" > list.txt
:encode video
:loop
for /F "delims=;" %%F in (list.txt) DO ffmpeg -re -i "%%F" -vcodec libx264 -preset veryfast -maxrate 2500k -bufsize 3368k -vf "format=yuv420p" -g 60 -acodec libmp3lame -b:a 198k -ar 44100 -metadata title="" -metadata artist="" -metadata album_artist="" -metadata album="" -metadata date="" -metadata track="" -metadata genre="" -metadata publisher="" -metadata encoded_by="" -metadata copyright="" -metadata composer="" -metadata performer="" -metadata TIT1="" -metadata TIT3="" -metadata disc="" -metadata TKEY="" -metadata TBPM="" -metadata language="eng" -metadata encoder="" -f flv -s 1280x720 rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx
goto loopAnd this is stream log. I google " Larger timestamp than 24-bit : 0xffffff9f" but nothing about this error. I contacted to admin server system, he comfirmed that has no issue connection. Then I tried again in Windows 7 and Windows server 2012, same result, still drop after 160h on youtube.
Larger timestamp than 24-bit: 0xffffff9f
[flv @ 000000000275c820] Failed to update header with correct duration.
[flv @ 000000000275c820] Failed to update header with correct filesize.
frame=10575 fps= 30 q=-1.0 Lsize= 88449kB time=00:05:52.52 bitrate=2055.4kbits
/s speed=0.998x
video:79769kB audio:8263kB subtitle:0kB other streams:0kB global headers:0kB mux
ing overhead: 0.474711%
[libx264 @ 0000000002760560] frame I:182 Avg QP:20.08 size: 41314
[libx264 @ 0000000002760560] frame P:4955 Avg QP:22.97 size: 11557
[libx264 @ 0000000002760560] frame B:5438 Avg QP:23.75 size: 3108
[libx264 @ 0000000002760560] consecutive B-frames: 29.6% 3.9% 5.0% 61.5%
[libx264 @ 0000000002760560] mb I I16..4: 23.0% 49.4% 27.5%
[libx264 @ 0000000002760560] mb P I16..4: 10.8% 15.7% 3.3% P16..4: 17.4% 6.3
% 2.4% 0.0% 0.0% skip:44.1%
[libx264 @ 0000000002760560] mb B I16..4: 1.7% 1.6% 0.2% B16..8: 12.4% 3.4
% 0.3% direct: 4.9% skip:75.4% L0:46.3% L1:46.0% BI: 7.6%
[libx264 @ 0000000002760560] 8x8 transform intra:51.7% inter:36.6%
[libx264 @ 0000000002760560] coded y,uvDC,uvAC intra: 38.7% 59.1% 14.8% inter: 4
.5% 13.5% 0.3%
[libx264 @ 0000000002760560] i16 v,h,dc,p: 43% 36% 17% 4%
[libx264 @ 0000000002760560] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 31% 21% 2% 2%
3% 3% 3% 4%
[libx264 @ 0000000002760560] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 29% 15% 4% 5%
5% 5% 5% 4%
[libx264 @ 0000000002760560] i8c dc,h,v,p: 41% 27% 27% 4%
[libx264 @ 0000000002760560] Weighted P-Frames: Y:0.1% UV:0.0%
[libx264 @ 0000000002760560] kb/s:1853.78
C:\Users\NASA\Desktop\ffmpeg\bin>ffmpeg -re -i "C:\Users\NASA\Desktop\ffmpeg\bin
\1\6 x24.mp4" -vcodec libx264 -preset veryfast -maxrate 2500k -bufsize
3368k -vf "format=yuv420p" -g 60 -acodec libmp3lame -b:a 198k -ar 44100 -metadat
a title="" -metadata artist="" -metadata album_artist="" -metadata album="" -met
adata date="" -metadata track="" -metadata genre="" -metadata publisher="" -meta
data encoded_by="" -metadata copyright="" -metadata composer="" -metadata perfor
mer="" -metadata TIT1="" -metadata TIT3="" -metadata disc="" -metadata TKEY="" -
metadata TBPM="" -metadata language="eng" -metadata encoder="" -f flv -s 1280x72
0 rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx
ffmpeg version N-87353-g183fd30 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --e
nable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --
enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-li
bfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug -
-enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl
e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolam
e --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable
-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enab
le-zlib
libavutil 55. 76.100 / 55. 76.100
libavcodec 57.106.101 / 57.106.101
libavformat 57. 82.101 / 57. 82.101
libavdevice 57. 8.101 / 57. 8.101
libavfilter 6.105.100 / 6.105.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\NASA\Desktop\ffmpeg\bin\1\6 x.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2017-10-16T20:51:09.000000Z
Duration: 00:03:22.04, start: 0.000000, bitrate: 1300 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709)
, 1280x720 [SAR 1:1 DAR 16:9], 1105 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (def
ault)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, flt
p, 191 kb/s (default)
Metadata:
creation_time : 2017-10-16T20:51:09.000000Z
handler_name : IsoMedia File Produced by Google, 5-11-2011
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[libx264 @ 00000000029d0020] using SAR=1/1
[libx264 @ 00000000029d0020] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX FMA3 BMI2 AVX2
[libx264 @ 00000000029d0020] profile High, level 3.1
[libx264 @ 00000000029d0020] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed
_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pski
p=1 chroma_qp_offset=0 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decim
ate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_a
dapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=60 keyint_min=6 s
cenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 q
pmin=0 qpmax=69 qpstep=4 vbv_maxrate=2500 vbv_bufsize=3368 crf_max=0.0 nal_hrd=n
one filler=0 ip_ratio=1.40 aq=1:1.00
frame= 14 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kb
Output #0, flv, to 'rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
encoder : Lavf57.82.101
Stream #0:0(und): Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p(pro
gressive), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 30 fps, 1k tbn, 30 tbc (default
)
Metadata:
handler_name : VideoHandler
encoder : Lavc57.106.101 libx264
Side data:
cpb: bitrate max/min/avg: 2500000/0/0 buffer size: 3368000 vbv_delay: -1
Stream #0:1(eng): Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz,
stereo, fltp, 198 kb/s (default)
Metadata:
creation_time : 2017-10-16T20:51:09.000000Z
handler_name : IsoMedia File Produced by Google, 5-11-2011
encoder : Lavc57.106.101 libmp3lame
frame= 29 fps= 28 q=29.0 size= 77kB time=00:00:00.41 bitrate=1498.7kbits/
frame= 44 fps= 28 q=29.0 size= 129kB time=00:00:00.94 bitrate=1118.8kbits/
frame= 60 fps= 29 q=29.0 size= 180kB time=00:00:01.88 bitrate= 781.8kbits/
frame= 76 fps= 30 q=26.0 size= 220kB time=00:00:02.37 bitrate= 758.1kbits/
frame= 91 fps= 29 q=29.0 size= 311kB time=00:00:02.84 bitrate= 895.3kbits/
frame= 107 fps= 30 q=29.0 size= 356kB time=00:00:03.34 bitrate= 870.9kbits/
frame= 122 fps= 30 q=29.0 size= 395kB time=00:00:03.84 bitrate= 843.3kbits/
frame= 137 fps= 30 q=29.0 size= 428kB time=00:00:04.31 bitrate= 813.2kbits/
frame= 153 fps= 30 q=29.0 size= 535kB time=00:00:04.80 bitrate= 911.9kbits/
frame= 168 fps= 30 q=29.0 size= 598kB time=00:00:05.30 bitrate= 923.0kbits/
frame= 184 fps= 30 q=29.0 size= 661kB time=00:00:05.77 bitrate= 938.2kbits/
frame= 199 fps= 30 q=29.0 size= 757kB time=00:00:06.27 bitrate= 989.2kbits/
frame= 215 fps= 30 q=29.0 size= 833kB time=00:00:06.76 bitrate=1008.2kbits/
frame= 230 fps= 30 q=29.0 size= 893kB time=00:00:07.23 bitrate=1011.1kbits/
frame= 246 fps= 30 q=29.0 size= 963kB time=00:00:07.73 bitrate=1019.8kbits/
frame= 261 fps= 30 q=29.0 size= 1049kB time=00:00:08.23 bitrate=1043.7kbits/
frame= 276 fps= 30 q=29.0 size= 1117kB time=00:00:08.70 bitrate=1052.2kbits/
frame= 292 fps= 30 q=29.0 size= 1166kB time=00:00:09.19 bitrate=1038.3kbits/
frame= 307 fps= 30 q=29.0 size= 1216kB time=00:00:09.69 bitrate=1027.8kbits/
frame= 322 fps= 30 q=29.0 size= 1304kB time=00:00:10.18 bitrate=1048.4kbits/
frame= 338 fps= 30 q=29.0 size= 1363kB time=00:00:11.15 bitrate=1000.8kbits/
s speed=0.985x -
ffmpeg transcoding stop after few seconds
9 avril 2018, par Salem FHi i’m trying to do this over week now with no success ,
What’s i’m trying to do is transcoding video from live streaming source and downscale it with FFmpeg , but every time I start transcoding it broadcasting fro 11 Sec and stop . here last command I triedffmpeg -re -i 'http://source.com/1034.ts' -preset ultrafast http://localhost:2052/feed1.ffm
I tried to download the .ts file with IDM and it finish downloading the file on the exact 12 Sec that FFmpeg stop trans coding on it .
does that means that FFmpeg download that file as one segment and not continued reading the source video As what video players does usually . BTW I tried with source with VLC player and it didn’t stop playing the the same source video .
Edit :- I decide to pass FFmpeg command via FFserver config file
ffserver.conf
Launch ffmpeg -i 'http://source.com/1.ts' -copyinkf -codec copy
The stream works fine for a while but after testing couple sources I notice it’s struggle to trans-coding HD videos .
I guess the issue with my VPS KVM server being very limited CPU and RAM ( 128MB only ) ! Since I tried using
ultrafast
preset but din’t solve the issue , another thing , I notice when I enableAVOptionVideo crf
setting onffserver.conf
trans-coding runs bit smoothly without frame-rate dropping .
Las my server usesXeon L5520
CPU which is outdated CPU specially I gout 1/4 power of V single core (if they count HT it will be 1/8 of the real core ) :(Edit 2 :-
# vlc -I dummy 'https://source.com/1034.ts' --sout '#standard{access=http,mux=flv,dst=localhost:2052}'
VLC media player 2.2.8 Weatherwax (revision 2.2.7-14-g3cc1d8cba9)
[09d3fdf0] pulse audio output error: PulseAudio server connection failure: Connection refused
[09d279c0] core interface error: no suitable interface module
[09c9b8f8] core libvlc error: interface "globalhotkeys,none" initialization failed
[09d279c0] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[09d279c0] core interface error: no suitable interface module
[09c9b8f8] core libvlc error: interface "dbus,none" initialization failed
[09d279c0] dummy interface: using the dummy interface module...
[b5e04ae0] access_output_http access out: Consider passing --http-host=IP on the command line instead.
[b5e38ab8] ts demux: MPEG-4 descriptor not found for pid 0x101 type 0xf
[b5e90ae0] packetizer_mpeg4audio decoder: AAC channels: 2 samplerate: 48000
[flv @ 0xb5e33b40] dimensions not set
[b5e06360] avformat mux error: could not write header: Invalid argument
[b5e88ef0] core decoder error: cannot continue streaming due to errors
[b5e90ae0] core decoder error: cannot continue streaming due to errorsHere output with
-loglevel verbose
:~# ffmpeg -i http://source.com/1.ts -copyinkf -codec copy -loglevel verbose http://127.0.0.1:8090/feed1.ffm
ffmpeg version 2.6.9 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/i386-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi --enable-avresample --disable-htmlpages --disable-podpages --enable-libutvideo --enable-libfdk-aac --enable-libx265 --enable-libiec61883 --enable-vaapi --enable-libdc1394 --disable-altivec --shlibdir=/usr/lib/i386-linux-gnu
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Invalid UE golomb code
Last message repeated 2 times
Input #0, mpegts, from 'http://source.com/1.ts':
Duration: N/A, start: 30472.768167, bitrate: N/A
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 960x540 (960x544) [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 105 kb/s
[graph 0 input from stream 0:1 @ 0x971f2c0] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x3
[audio format for output stream 0:0 @ 0x9844de0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
[auto-inserted resampler 0 @ 0x97115e0] ch:2 chl:stereo fmt:fltp r:48000Hz -> ch:1 chl:mono fmt:fltp r:22050Hz
[graph 1 input from stream 0:0 @ 0x96f5d00] w:960 h:540 pixfmt:yuv420p tb:1/90000 fr:50/1 sar:1/1 sws_param:flags=2
[scaler for output stream 0:1 @ 0x96f5e80] w:352 h:240 flags:'0x4' interl:0
[scaler for output stream 0:1 @ 0x96f5e80] w:960 h:540 fmt:yuv420p sar:1/1 -> w:352 h:240 fmt:yuv420p sar:40/33 flags:0x4
Output #0, ffm, to 'http://127.0.0.1:8090/feed1.ffm':
Metadata:
creation_time : now
encoder : Lavf56.25.101
Stream #0:0: Audio: wmav2, 22050 Hz, mono, fltp, 64 kb/s
Metadata:
encoder : Lavc56.26.100 wmav2
Stream #0:1: Video: msmpeg4v3 (msmpeg4), yuv420p, 352x240 [SAR 40:33 DAR 16:9], q=2-31, 256 kb/s, 50 fps, 1000k tbn, 15 tbc
Metadata:
encoder : Lavc56.26.100 msmpeg4
Stream mapping:
Stream #0:1 -> #0:0 (aac (native) -> wmav2 (native))
Stream #0:0 -> #0:1 (h264 (native) -> msmpeg4v3 (msmpeg4))
Press [q] to stop, [?] for help
Invalid UE golomb code
*** dropping frame 3 from stream 1 at ts 1
Last message repeated 1 times
[msmpeg4 @ 0x970f060] warning, clipping 1 dct coefficients to -127..127
*** dropping frame 4 from stream 1 at ts 2
Last message repeated 1 times
*** dropping frame 5 from stream 1 at ts 3
Last message repeated 1 times
*** dropping frame 5 from stream 1 at ts 4
*** dropping frame 6 from stream 1 at ts 4
Last message repeated 1 times
*** dropping frame 7 from stream 1 at ts 5
Last message repeated 1 times
[msmpeg4 @ 0x970f060] warning, clipping 1 dct coefficients to -127..127
*** dropping frame 8 from stream 1 at ts 6
Last message repeated 1 times
*** dropping frame 8 from stream 1 at ts 7
*** dropping frame 9 from stream 1 at ts 7
Last message repeated 1 times
*** dropping frame 10 from stream 1 at ts 8
Last message repeated 1 times
*** dropping frame 11 from stream 1 at ts 9
Last message repeated 1 times
*** dropping frame 11 from stream 1 at ts 10
*** dropping frame 12 from stream 1 at ts 10
Last message repeated 1 times
*** dropping frame 13 from stream 1 at ts 11
Last message repeated 1 times
*** dropping frame 14 from stream 1 at ts 12
Last message repeated 1 times
*** dropping frame 14 from stream 1 at ts 13
*** dropping frame 15 from stream 1 at ts 13
Last message repeated 1 times
*** dropping frame 16 from stream 1 at ts 14
Last message repeated 1 times
*** dropping frame 17 from stream 1 at ts 15
Last message repeated 1 times
*** dropping frame 17 from stream 1 at ts 16
*** dropping frame 18 from stream 1 at ts 16
Last message repeated 1 times
*** dropping frame 19 from stream 1 at ts 17
Last message repeated 1 times
*** dropping frame 20 from stream 1 at ts 18me=00:00:01.33 bitrate= 270.3kbits/s dup=0 drop=39
Last message repeated 1 times
*** dropping frame 20 from stream 1 at ts 19
*** dropping frame 21 from stream 1 at ts 19
Last message repeated 1 times
*** dropping frame 22 from stream 1 at ts 20
Last message repeated 1 times
*** dropping frame 23 from stream 1 at ts 21
Last message repeated 1 times
*** dropping frame 23 from stream 1 at ts 22
*** dropping frame 24 from stream 1 at ts 22
Last message repeated 1 times
*** dropping frame 25 from stream 1 at ts 23
Last message repeated 1 times
*** dropping frame 26 from stream 1 at ts 24
Last message repeated 1 times
*** dropping frame 26 from stream 1 at ts 25
*** dropping frame 27 from stream 1 at ts 25
Last message repeated 1 times
*** dropping frame 28 from stream 1 at ts 26
Last message repeated 1 times
*** dropping frame 29 from stream 1 at ts 27
Last message repeated 1 times
*** dropping frame 29 from stream 1 at ts 28
*** dropping frame 30 from stream 1 at ts 28
Last message repeated 1 times
*** dropping frame 31 from stream 1 at ts 29
Last message repeated 1 times
*** dropping frame 32 from stream 1 at ts 30
Last message repeated 1 times
*** dropping frame 32 from stream 1 at ts 31
*** dropping frame 33 from stream 1 at ts 31
Last message repeated 1 times
*** dropping frame 34 from stream 1 at ts 32
Last message repeated 1 times
*** dropping frame 34 from stream 1 at ts 33
*** dropping frame 35 from stream 1 at ts 33
*** dropping frame 35 from stream 1 at ts 34
*** dropping frame 36 from stream 1 at ts 34
Last message repeated 1 times
*** dropping frame 37 from stream 1 at ts 35
Last message repeated 1 times
Invalid UE golomb code
*** dropping frame 38 from stream 1 at ts 36
Last message repeated 1 times
*** dropping frame 38 from stream 1 at ts 37
*** dropping frame 39 from stream 1 at ts 37
Last message repeated 1 times
*** dropping frame 40 from stream 1 at ts 38
Last message repeated 1 times
*** dropping frame 41 from stream 1 at ts 39me=00:00:02.73 bitrate= 311.7kbits/s dup=0 drop=88
Last message repeated 1 times
*** dropping frame 41 from stream 1 at ts 40
*** dropping frame 42 from stream 1 at ts 40
Last message repeated 1 times
*** dropping frame 43 from stream 1 at ts 41
Last message repeated 1 times
*** dropping frame 44 from stream 1 at ts 42
Last message repeated 1 times
*** dropping frame 44 from stream 1 at ts 43
*** dropping frame 45 from stream 1 at ts 43
Last message repeated 1 times
*** dropping frame 46 from stream 1 at ts 44
Last message repeated 1 times
*** dropping frame 47 from stream 1 at ts 45
Last message repeated 1 times
*** dropping frame 47 from stream 1 at ts 46
*** dropping frame 48 from stream 1 at ts 46
Last message repeated 1 times
*** dropping frame 49 from stream 1 at ts 47
Last message repeated 1 times
*** dropping frame 50 from stream 1 at ts 48
Last message repeated 1 times
*** dropping frame 50 from stream 1 at ts 49
*** dropping frame 51 from stream 1 at ts 49
Last message repeated 1 times
*** dropping frame 52 from stream 1 at ts 50
Last message repeated 1 times
*** dropping frame 53 from stream 1 at ts 51
Last message repeated 1 times
[h264 @ 0x9844a00] error while decoding MB 58 12, bytestream -5
[h264 @ 0x9844a00] concealing 1311 DC, 1311 AC, 1311 MV errors in B frame
*** dropping frame 53 from stream 1 at ts 52
No more output streams to write to, finishing.
frame= 55 fps= 42 q=4.3 Lsize= 152kB time=00:00:03.66 bitrate= 339.6kbits/s dup=0 drop=119
video:116kB audio:26kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 6.760316%
Input file #0 (http://source.com/1.ts):
Input stream #0:0 (video): 174 packets read (220322 bytes); 174 frames decoded;
Input stream #0:1 (audio): 156 packets read (36657 bytes); 156 frames decoded (159744 samples);
Total: 330 packets (256979 bytes) demuxed
Output file #0 (http://127.0.0.1:8090/feed1.ffm):
Output stream #0:0 (audio): 72 frames encoded (73383 samples); 72 packets muxed (26712 bytes);
Output stream #0:1 (video): 55 frames encoded; 55 packets muxed (119080 bytes);
Total: 127 packets (145792 bytes) muxedHere input url file info After i download it to my PC with IDM
General
ID : 1 (0x1)
Complete name : D:\1.ts
Format : MPEG-TS
File size : 256 KiB
Duration : 2 s 520 ms
Overall bit rate mode : Variable
Overall bit rate : 788 kb/s
Video
ID : 256 (0x100)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, RefFrames : 2 frames
Codec ID : 27
Duration : 2 s 680 ms
Width : 960 pixels
Height : 540 pixels
Display aspect ratio : 16:9
Frame rate : 50.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Audio
ID : 257 (0x101)
Menu ID : 1 (0x1)
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Muxing mode : ADTS
Codec ID : 15
Duration : 2 s 69 ms
Bit rate mode : Variable
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : -12 ms
Menu
ID : 4096 (0x1000)
Menu ID : 1 (0x1)
Duration : 2 s 520 ms
List : 256 (0x100) (AVC) / 257 (0x101) (AAC)
Service name : Service01
Service provider : FFmpeg
Service type : digital television -
Start service with start-stop-daemon on Ubuntu 16.04 with timeout
26 février 2018, par TopperI have /etc/init.d/stream proces with start/stop/restart options.
It’s run ffmpeg with daemon options taken from /etc/default/stream DAEMON_OPTIONS.
Start at background (-b) crate pid (/var/run/stream/stream.pid) etc.How could I add timeout 60 seconds to be sure that stream will be forcebly stopped if exceed 60 sek. timeout ?
Can’t run "—exec timeout 60 ffmpeg" because service runs only timeout command.
I’m I missing something or try to use wrong command ?