Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (71)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (7713)

  • FFMPEG Trimming Issue in Docker Container for Safari-recorded Videos

    29 février 2024, par Z_ohair

    I am facing an issue with FFMPEG while attempting to trim a video to a specific duration in a Docker container. The trimming works perfectly on my local machine (M1 Pro), but when I run the same code in a Docker container (using the python:3.8-slim-buster image), the generated clip is only 1 second long instead of the intended 5 seconds.

    


    The problem seems to be specific to videos recorded on Safari, as videos recorded on Google Chrome work as expected on both local and container environments.

    


    Here is the code I am using for trimming :

    


    def get_clip(source, generated_file_name, till_second=5):
    logging.info("***** Generating Clip *****")
    command = f'ffmpeg -y -i {source} -t {till_second} -c:v libx264 -c:a aac -strict experimental {generated_file_name}'
    os.system(command)
    logging.info("***** Clip Generated *****")
    return generated_file_name


    


    And here is my Dockerfile :

    


    FROM python:3.8-slim-buster
WORKDIR /python-docker

RUN apt-get update && apt-get install gcc python3-dev -y && \
    rm -rf /var/lib/apt/lists/* && \
    apt-get update && apt-get install ffmpeg libsm6 libxext6 -y

COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt

COPY . .

ENTRYPOINT export LD_PRELOAD=/usr/local/lib/python3.8/site-packages/torch/lib/../../torch.libs/libgomp-6e1a1d1b.so.1.0.0 && python app.py


    


    I suspect there might be compatibility issues with ffmpeg versions or codecs between my local machine and the container. Any insights or suggestions on how to resolve this issue would be greatly appreciated. Thanks !

    


    I've tried using different libraries on python i.e Moviepy, but since they use FFMPEG behind the scenes, so no luck. Also I tried to use OpenCV but it doesn't extract the audio. Lastly I also tried to extract audio seperately using PyDub but that also extracted the audio of just one second only

    


  • ffmpeg opus rtp mpegts streaming has huge delay

    3 avril 2017, par Marcelo Emmerich

    I can’t seem to stream anything without huge delay/latency (> 5 secs). Here is my command :

    ffmpeg.exe -f dshow -i audio="Mikrofonarray Logitech (HD570)"
    -acodec opus -f rtp_mpegts rtp://127.0.0.1:5004

    I receive with :

    ffplay.exe rtp://127.0.0.1:5004

    It works, but the receiver (even on same machine) gets the audio 7 seconds later. I tried changing the codec (AAC), the bitrate, the sample rate, nothing seems to have an effect on this. What am I missing ?

    Thanks

  • How to play video through framebuffer device and audio through pulseaudio (simultaneously)

    5 août 2019, par waterj

    I have a video/audio file called test_video.mp4 that I want the video component of to stream to /dev/fb0 and the audio component of to stream to pulseaudio using ffmpeg. This is so that I can play the file on a piece of custom hardware running Alpine through an HDMI connection to a monitor with speakers.

    I know this is pretty bad, but I wiped the virtual machine I tried doing this on, so I don’t have a record of the commands I’ve tried. I’m open to any and all suggestions, though !