Recherche avancée

Médias (91)

Autres articles (53)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La 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.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP 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 (...)

Sur d’autres sites (9457)

  • ffmpeg continuous live streaming of dynamic files from directory

    4 septembre 2022, par user72261

    So I have been using ffmpeg to create a live stream from files stored in a folder using concat list.

    


    This works perfectly for local, static content but I have a security system in my warehouse that uploads .mp4 files to my server in the office.

    


    This system doesn't have any live stream functionality so I would like to set up a live stream myself using ffmpeg to continually read the latest files from the folder.

    


    I tried setting up a script to read all files in the directory and sort them based on the file name that is a UNIX timestamp of the date/time the video was taken. Then had the script select the latest segments after that last used segment and create a new concat list such as below

    


    file '00000.mpd'
file '00001.mp4'
file '00002.mp4'
file '00003.mp4'
file '00004.mp4'


    


    After doing some reading I found out to make it loop that file you could reference its self in the list like so

    


    file '00000.mpd'
file '00001.mp4'
file '00002.mp4'
file '00003.mp4'
file '00004.mp4'
file 'concat.txt'


    


    This seemed to work ok until I started getting the error impossible to open concat.txt. This file doesn't exist, which I can only guess is because ffmpeg is trying to open the file as its being updated by the script.

    


    Has anyone come across this before or know another way to do it ?

    


  • Unable to extract subclip from a video made by cv2.VideoWriter

    9 août 2021, par Nandan Dubey

    I am extracting a sub clip from a video and processing it into filename1.mp4. And again, when I am trying to extract a sub clip it gives me an error. Below is the code

    


    ffmpeg_extract_subclip('Office.mp4', 20, 40, targetname="trim.mp4")

result = cv2.VideoWriter('filename1.mp4',
                         cv2.VideoWriter_fourcc(*'mp4v'),
                         30, (int(width), int(height)))


ffmpeg_extract_subclip("filename1.mp4", start_time, start_time + 1, targetname=target)


    


    And here is the error :

    


    Traceback (most recent call last):&#xA;  File "C:/Users/nanda/OneDrive/Desktop/Teasit/Object tracking/object.py", line 459, in <module>&#xA;    extract_clip(tracker_time)&#xA;  File "C:\Users\nanda\OneDrive\Desktop\Teasit\Object tracking\cuda.py", line 12, in extract_clip&#xA;    ffmpeg_extract_subclip(r"filename1.mp4", start_time, start_time &#x2B; 1, targetname=target)&#xA;  File "C:\Users\nanda\OneDrive\Desktop\Teasit\Object tracking\venv\lib\site-packages\moviepy\video\io\ffmpeg_tools.py", line 41, in ffmpeg_extract_subclip&#xA;    subprocess_call(cmd)&#xA;  File "C:\Users\nanda\OneDrive\Desktop\Teasit\Object tracking\venv\lib\site-packages\moviepy\tools.py", line 54, in subprocess_call&#xA;    raise IOError(err.decode(&#x27;utf8&#x27;))&#xA;OSError: ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with gcc 9.2.1 (GCC) 20200122&#xA;  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&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0000023543009dc0] moov atom not found&#xA;filename1.mp4: Invalid data found when processing input&#xA;</module>

    &#xA;

  • Evolution #4754 : Mettre à jeu le jeu des icônes de extensions

    30 avril 2021, par b b