
Recherche avancée
Autres articles (63)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs. -
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.
Sur d’autres sites (5460)
-
Terminal command to upgrade FFMPEG
14 avril 2023, par Savvy TurtleEverything is still installed but once I upgraded my server from CentOS 7.6 to Cloud Linux FFMPEG does not seem to work anymore.


When I go and debug it in the admin section where you upload a test video and hit debug it shows a toast to upload a video. and on the front end of https://turtle.tube/ users upload a video and it gets stuck at 100% upload and processed.


So I'm wondering whether I need to ugrade FFMPEG to work with Cloud Linux update or If I need to restart it.


Any help would be great thanks.


Savvy


Checked Version, looked for terminal command to upgrade FFMPEG to latest stable release of : FFmpeg 5.1.3 "Riemann" or FFmpeg 6.0 "Von Neumann" but have not figured out the command to upgrade yet.


nor the command to restart FFMPEG if that even exist.


Current version of FFMPEG shows :


ffmpeg -version


ffmpeg version 3.4.12 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
configuration : —prefix=/usr —bindir=/usr/bin —datadir=/usr/share/ffmpeg —docdir=/usr/share/doc/ffmpeg —incdir=/usr/include/ffmpeg —libdir=/usr/lib64 —mandir=/usr/share/man —arch=x86_64 —optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong —param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' —extra-ldflags='-Wl,-z,relro ' —extra-cflags=' ' —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libvo-amrwbenc —enable-version3 —enable-bzlib —disable-crystalhd —enable-fontconfig —enable-gcrypt —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libcdio —enable-libdrm —enable-indev=jack —enable-libfreetype —enable-libfribidi —enable-libgsm —enable-libmp3lame —enable-nvenc —enable-openal —enable-opencl —enable-opengl —enable-libopenjpeg —enable-libopus —disable-encoder=libopus —enable-libpulse —enable-librsvg —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libvorbis —enable-libv4l2 —enable-libvidstab —enable-libvpx —enable-libx264 —enable-libx265 —enable-libxvid —enable-libzvbi —enable-avfilter —enable-avresample —enable-libmodplug —enable-postproc —enable-pthreads —disable-static —enable-shared —enable-gpl —disable-debug —disable-stripping —shlibdir=/usr/lib64 —enable-libmfx —enable-runtime-cpudetect
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100


-
Trying to convert a VideoCD MPEG to MP4 using ffmpeg
27 février 2023, par Niels BosmaI'm trying to convert a VideoCD MPEG to MP4 using :


FFMPEG 5.1


ffmpeg.exe -nostdin -y -loglevel info -hide_banner -i "ITEM0010.DAT" -c:v libx264 -crf 18 -qscale:v 3 -c:a aac -ar 96000 -map_metadata -1 "output.mp4"



I'm getting :


[mpeg @ 0000024b81bf4480] start time for stream 1 is not set in estimate_timings_from_pts
[mpeg @ 0000024b81bf4480] stream 1 : no TS found at start of file, duration not set
[mpeg @ 0000024b81bf4480] Could not find codec parameters for stream 1 (Audio: mp2, 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, mpeg, from 'C:\Concierge\ITEM0010.DAT':
 Stream #0:1[0x1c0]: Audio: mp2, 0 channels, s16p
 Stream #0:2[0x1e2]: Video: mpeg1video, yuv420p(tv), 704x576 [SAR 178:163 DAR 1958:1467], 1100 kb/s, 25 tbr, 90k tbn
Stream mapping:
 Stream #0:2 -> #0:0 (mpeg1video (native) -> h264 (libx264))
 Stream #0:1 -> #0:1 (mp2 (native) -> aac (native))
[libx264 @ 0000024b81c86000] -qscale is ignored, -crf is recommended.
[libx264 @ 0000024b81c86000] using SAR=178/163
[libx264 @ 0000024b81c86000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000024b81c86000] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0000024b81c86000] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - 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=18 lookahead_threads=3 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=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[abuffer @ 0000024b84979880] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
 Last message repeated 1 times
[abuffer @ 0000024b84979880] Error setting option time_base to value 1/0.
[graph_1_in_0_1 @ 0000024b85187c00] Error applying options to the filter.
Error reinitializing filters!
Error while filtering: Result too large
Finishing stream 0:1 without any data written to it.
[abuffer @ 0000024b84979880] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
 Last message repeated 1 times
[abuffer @ 0000024b84979880] Error setting option time_base to value 1/0.
[graph_1_in_0_1 @ 0000024b85186b00] Error applying options to the filter.
Error configuring filter graph
[libx264 @ 0000024b81c86000] frame I:1 Avg QP:22.68 size: 40674
[libx264 @ 0000024b81c86000] mb I I16..4: 3.8% 72.3% 23.9%
[libx264 @ 0000024b81c86000] 8x8 transform intra:72.3%
[libx264 @ 0000024b81c86000] coded y,uvDC,uvAC intra: 88.4% 81.1% 50.3%
[libx264 @ 0000024b81c86000] i16 v,h,dc,p: 43% 13% 0% 43%
[libx264 @ 0000024b81c86000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 16% 20% 5% 5% 6% 5% 7% 6%
[libx264 @ 0000024b81c86000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 20% 8% 5% 9% 8% 8% 6% 4%
[libx264 @ 0000024b81c86000] i8c dc,h,v,p: 42% 23% 28% 7%
[libx264 @ 0000024b



81c86000] kb/s:8134.80
Conversion failed !


The same command using FFMPEG 4.1 works fine.


-
How to generate HLS stream multiple qualities (Representations) while capturing webcam
27 janvier 2023, par LUKA TADIĆI want to generate multiple qualities (Representations) for HLS stream while capturing from webcam. I am using ffmpeg_streaming python package. I can generate one quality (Representation) at a time, but when i try to generate more than one, I get this error :


C:\Users\ltadic\Desktop\hls stream>C:/Users/ltadic/AppData/Local/Programs/Python/Python311/python.exe "c:/Users/ltadic/Desktop/hls stream/camera_stream.py"
ERROR:root:ffmpeg failed to execute command: b"ffmpeg version 2022-12-11-git-c3e20f78b0-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers\r\n built with gcc 12.1.0 (Rev2, Built by MSYS2 project)\r\n 
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint\r\n libavutil 57. 43.100 / 57. 43.100\r\n libavcodec 59. 55.100 / 59. 55.100\r\n libavformat 59. 34.102 / 59. 34.102\r\n libavdevice 59. 8.101 / 59. 8.101\r\n libavfilter 8. 52.100 / 8. 52.100\r\n libswscale 6. 8.112 / 6. 8.112\r\n libswresample 4. 9.100 / 4. 9.100\r\n libpostproc 56. 7.100 / 56. 7.100\r\nInput #0, dshow, from 'video=Fantech Luminous C30':\r\n Duration: N/A, start: 1593.585118, bitrate: N/A\r\n Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj420p(pc, bt470bg/bt709/unknown), 1920x1080, 25 fps, 25 tbr, 10000k tbn\r\n[dshow @ 0000018b1c4d4280] Could not run graph (sometimes caused by a device already in use by other application)\r\nvideo=Fantech Luminous C30: I/O error\r\n"
Traceback (most recent call last):
 File "c:\Users\ltadic\Desktop\hls stream\camera_stream.py", line 13, in <module>
 hls.output('C:\\Users\\ltadic\\Desktop\\camera_stream\\hls1.m3u8')
 File "C:\Users\ltadic\AppData\Local\Programs\Python\Python311\Lib\site-packages\ffmpeg_streaming\_media.py", line 93, in output
 self.run(ffmpeg_bin, monitor, **options)
 File "C:\Users\ltadic\AppData\Local\Programs\Python\Python311\Lib\site-packages\ffmpeg_streaming\_media.py", line 121, in run 
 asyncio.run(self.async_run(ffmpeg_bin, monitor, **options))
 File "C:\Users\ltadic\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
 return runner.run(main)
 ^^^^^^^^^^^^^^^^
 File "C:\Users\ltadic\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
 return self._loop.run_until_complete(task)
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "C:\Users\ltadic\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
 return future.result()
 ^^^^^^^^^^^^^^^
 File "C:\Users\ltadic\AppData\Local\Programs\Python\Python311\Lib\site-packages\ffmpeg_streaming\_media.py", line 112, in async_run
 self._run(ffmpeg_bin, monitor, **options)
 File "C:\Users\ltadic\AppData\Local\Programs\Python\Python311\Lib\site-packages\ffmpeg_streaming\_media.py", line 106, in _run
 self.pipe, err = process.run()
</module>


This is the code :


import ffmpeg_streaming
from ffmpeg_streaming import Formats,Bitrate, Representation, Size 

video = ffmpeg_streaming.input('Fantech Luminous C30', capture = True)

_360p = Representation(Size(640, 360), Bitrate(276 * 1024, 128 * 1024))
_480p = Representation(Size(854, 480), Bitrate(750 * 1024, 192 * 1024))
_720p = Representation(Size(1280, 720), Bitrate(2048 * 1024, 320 * 1024))

hls = video.hls(Formats.h264(),hls_list_size=10, hls_time=5)
hls.flags('delete_segments')
hls.representations(_360p, _480p, _720p)
hls.output('C:\\Users\\ltadic\\Desktop\\camera_stream\\hls1.m3u8')



I was expecting to get _360p, _480p and _720p qualities, but my program crashes. If I try same thing for DASH stream, I generate these qualities without any problem.