Recherche avancée

Médias (91)

Autres articles (32)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (5124)

  • Record video stream with ffmpeg as a service

    19 juillet 2023, par Transporter

    I would like to use ffmpeg to record the video stream of a surveillance camera. For this I have a script to start the recording and a service for systemd. The idea is that if ffmpeg is stopped in between because the stream is interrupted, the service will be restarted automatically.

    


    Start recording (/media/HDD1/video/video-record.sh) :

    


    #!/bin/bash
ip=$1
codec=h264
res=1920x1080
out="/media/HDD1/video/$ip-$codec-$(date -u +"%Y%m%dT%H%M%S").mp4"
url="rtsp://192.168.4.$ip/axis-media/media.amp?camera=1&videocodec=$codec&fps=24&resolution=$res&compression=60&videozstrength=50&videoframeskipmode=drop"
ffmpeg -nostdin -i "$url" -acodec copy -vcodec copy $out


    


    Service file :

    


    [Unit]
Description=Record camera 101 to HDD

[Service]
Type=simple
ExecStart=/bin/bash /media/HDD1/video/video-record.sh 101
Restart=always
TimeoutStopSec=5

[Install]
WantedBy=multi-user.target


    


    The script works fine when I start and stop it manually. Starting the service also works without problems, only when terminating there are problems. In the log it says :

    


    Error closing file /media/HDD1/video/101-h264-20230719T094514.mp4: Immediate exit requested.


    


    Also, I can't play the video file anymore. Any idea ?

    


  • How to compress mp3 file in php

    23 juin 2019, par Wai Yan Hein

    I am doing a php project. In my project, I need to compress mp3 files to reduce the file size because I need to store a lot of mp3 files.

    How can I compress it in php ? I am using laravel framework. If possible, I want it without extra installation. I already checked ffmpeg, but I was not able to use it due to the poor documentation. How can I achieve it ?

  • How to compress mp3 file in php

    11 juin 2015, par Wai yan

    I am doing a php project. In my project, I need to compress mp3 files to reduce the file size because I need to store a lot of mp3 files.

    How can I compress it in php ? I am using laravel framework. If possible, I want it without extra installation. I already checked ffmpeg, but I was not able to use it due to the poor documentation. How can I achieve it ?