
Recherche avancée
Autres articles (102)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (6828)
-
lavc : shedule old encoding/decoding API for removal
25 janvier 2021, par Anton Khirnovlavc : shedule old encoding/decoding API for removal
It has been deprecated for 4 years and certain new codecs do not work
with it.Also include AVCodecContext.refcounted_frames, as it has no effect with
the new API. -
Is there a way to have a live website as an video overlay on RTSP stream using ffmpeg ? [closed]
29 janvier 2021, par user161284I'd need to have a live website on one corner of my RTSP video stream, which is then streamed to Youtube. I know I can do this with OBS, but the point is that nobody actually operates the computer, so I though I'd use ffmpeg.


I know that ffmpeg can add images as an overlay, but in my case the need would be to use a live website as the overlay. Whether this would be accomplished with "plain" ffmpeg or some other piece of (already existing) software in-between does not matter.


After reading the ffmpeg documentation and some earlier posts a few years ago, it unfortunately seems that there's no way to use html as an overlay with plain ffmpeg.


Any suggestions to overcome this challenge ?


-
Converting gifs to mp4 using python
16 février 2021, par deeformcurrently im trying to convert some gifs which i have downloaded into mp4 files so i can upload them to a specific website. However, im getting some errors when trying to do this !


for submission in subreddit.top(time_filter="day"):
 url_file = r'/home/pi/Desktop/Instagram/urls.txt'
 # Get the link of the submission
 url = submission.url
 if url.endswith('gif'):
 bad_chars = ['"', '*', '?', ':', '<', '>', '|', '\\', '/', '.']
 for i in bad_chars:
 submission.title = submission.title.replace(i, '')
 count += 1
 print(url + ' ' + submission.title)
 urllib.request.urlretrieve(url, r'C:\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\\' + str(
 submission.title) + '.gif')
 print(str(f'downloaded {count}'))
 for file in os.listdir(r'C:\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\\'):
 clip = mp.VideoFileClip(rf"C:\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\{file}")
 clip.write_videofile(f"{submission.title}.mp4")



Error : OSError : MoviePy error : failed to read the duration of file C :\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\My friend claims that he can print a gun using his 3D printer, but I’m not impressed I’ve had a Canon printer for years.gif.
Here are the file infos returned by ffmpeg :


ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200122
configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom —enable-libmfx —enable-amf —enable-ffnvcodec —enable-cuvid —enable-d3d11va —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt
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
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
C :\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\My friend claims that he can print a gun using his 3D printer, but I’m not impressed I’ve had a Canon printer for years.gif : Invalid data found when processing input