Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (102)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

Sur d’autres sites (13846)

  • How to resolve "runOnReady command exited with code 0" when restreaming a stream using Mediamtx ?

    2 juillet 2023, par Emad Helmi

    I'm attempting to publish a stream to the RTMP port 1935 using a ffmpeg command with Mediamtx (v0.22.2). Afterward, I want to restream the mainstream to another path using the runOnReady command in the config file. However, I'm encountering an issue where the runOnReady command exits with code 0.

    


    Steps to Replicate :

    


      

    1. Use the provided docker-compose.yml file :
    2. 


    


    version: "3.8"

name: mediamtx
services:
  mediamtx:
    image: aler9/rtsp-simple-server:v0.22.2
    container_name: media_mtx_rtsp_server
    ports:
      - "8554:8554"
      - "1935:1935"
      - "8888:8888"
      - "8889:8889"
      - "9997:9997"
      - "8000:8000"
    volumes:
      - ./configs/mediamtx/config.yml:/mediamtx.yml
      - ../volumes/hls/segments:/hls/segments


    


      

    1. Add the following path to the config.yml file :
    2. 


    


    paths:
  show/test:
    runOnReady: ffmpeg -i rtmp://localhost:1935/show/test -c copy -f flv "rtmp://localhost:1935/compressed/test"
    runOnReadyRestart: yes


    


      

    1. Start the server using docker-compose.
    2. 


    3. Publish an RTMP stream to the server using the following command :
    4. 


    


    ffmpeg -re -stream_loop -1 -i files/sample-30s.mp4 -c copy -f flv "rtmp://localhost:1935/show/test"


    


      

    1. When I check the logs :
    2. 


    


    2023/07/01 15:16:30 INF [RTMP] [conn 172.26.0.1:51044] opened
2023/07/01 15:16:30 INF [path show/test] runOnReady command started
2023/07/01 15:16:30 INF [RTMP] [conn 172.26.0.1:51044] is publishing to path 'show/test', 2 tracks (H264, MPEG4-audio-gen)
2023/07/01 15:16:30 INF [path show/test] runOnReady command exited with code 0


    


    So I can't watch the stream on the new path (/compressed/test)

    


  • Python yt-dlp and ffmpeg error "merging of multiple formats but ffmpeg is not installed"

    27 mai, par T Tea Tie

    I am using the latest version of yt-dlp with Python 3.9.

    


    I am trying to download a youtube video in mp4 format with outputname as the youtubeid.mp4 and with best resolution not more than 4K.

    


    This is my Python code :

    


    ytid = '4cDqaLxrt6Q'
url = 'https://www.youtube.com/watch?v='+ytid
output_filename = ytid+".mp4"
    
with YoutubeDL({'format': 'bestvideo[height<=?4K]+bestaudio/best', 'output': output_filename}) as ydl:
    ydl.download(url)`#TODO debug FFmpeg and check if outputname is ok


    


    I expected to have an .mp4 file in my current working directory.

    


    Then I installed the latest version of FFmpeg from ffmpeg-master-latest-win64-gpl.zip and put ffmpeg.exe, ffplay.exe and ffprobe.exe in Scripts python folder (where yt-dlp.exe is). I also installed ffmpeg using pip install.

    


    The Traceback is :

    


    


    [youtube] Extracting URL : https://www.youtube.com/watch?v=4cDqaLxrt6Q
[youtube] 4cDqaLxrt6Q : Downloading webpage
[youtube] 4cDqaLxrt6Q : Downloading android player API JSON
[youtube] 4cDqaLxrt6Q : Downloading MPD manifest
[youtube] 4cDqaLxrt6Q : Downloading MPD manifest
[info] 4cDqaLxrt6Q : Downloading 1 format(s) : 243+251
ERROR : You have requested merging of multiple formats but ffmpeg is not installed. Aborting due to —abort-on-error
Traceback (most recent call last) :

    


    File "C :\Users\t\OneDrive\Documents\Python Scripts\project\main.py", line 88, in 
ydl.download(url)

    


    File "C :\Users\t\anaconda3\lib\site-packages\yt_dlp\YoutubeDL.py", line 3353, in download
self.__download_wrapper(self.extract_info)(

    


    File "C :\Users\t\anaconda3\lib\site-packages\yt_dlp\YoutubeDL.py", line 3328, in wrapper
res = func(*args, **kwargs)

    


    File "C :\Users\t\anaconda3\lib\site-packages\yt_dlp\YoutubeDL.py", line 1486, in extract_info
return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)

    


    File "C :\Users\t\anaconda3\lib\site-packages\yt_dlp\YoutubeDL.py", line 1497, in wrapper
return func(self, *args, **kwargs)

    


    File "C :\Users\t\anaconda3\lib\site-packages\yt_dlp\YoutubeDL.py", line 1594, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)

    


    File "C :\Users\t\anaconda3\lib\site-packages\yt_dlp\YoutubeDL.py", line 1653, in process_ie_result
ie_result = self.process_video_result(ie_result, download=download)

    


    File "C :\Users\t\anaconda3\lib\site-packages\yt_dlp\YoutubeDL.py", line 2767, in process_video_result
self.process_info(new_info)

    


    File "C :\Users\t\anaconda3\lib\site-packages\yt_dlp\YoutubeDL.py", line 3189, in process_info
self.report_error(f'msg. Aborting due to —abort-on-error')

    


    File "C :\Users\t\anaconda3\lib\site-packages\yt_dlp\YoutubeDL.py", line 1007, in report_error
self.trouble(f'self._format_err("ERROR :", self.Styles.ERROR) message', *args, **kwargs)

    


    File "C :\Users\t\anaconda3\lib\site-packages\yt_dlp\YoutubeDL.py", line 947, in trouble
raise DownloadError(message, exc_info)

    


    DownloadError : ERROR : You have requested merging of multiple formats but ffmpeg is not installed. Aborting due to —abort-on-error

    


    


  • FFMPEG bash > folder processing > AI upscale - script ERROR ">" [closed]

    13 novembre 2022, par Jason Paul Michaels

    Trying to port a single file manual command from Topaz AI so I can run it as a part of a simple script allowing me to run multiple sessions from terminal. I am running MacOS with BASH 5.2 and when I run the script I get dumped to ">" instead of command prompt and no error message is displayed.

    


    This is my command -

    


    for f in *.mp4; do
  /Applications/Topaz\ Video\ AI.app/Contents/MacOS/ffmpeg \
    -hide_banner \
    -nostdin \
    -y \
    -nostats \
    -i “$f” \
    -vsync 0 \
    -avoid_negative_ts 1 \
    -sws_flags spline+accurate_rnd+full_chroma_int \
    -color_trc 1 \
    -colorspace 1 \
    -color_primaries 1 \
    -filter_complex veai_up=model=prob-3:scale=0:w=1920:h=1080:preblur=0:noise=0:details=0:halo=0:blur=0:compression=0:estimate=20:device=0:vram=1:instances=1,scale=w=1920:h=1080:flags=lanczos:threads=0,scale=out_color_matrix=bt709 \
    -c:v prores_videotoolbox \
    -profile:v lt \
    -pix_fmt p210le \
    -allow_sw 1 \
    -map_metadata 0 \
    -movflags frag_keyframe+empty_moov+delay_moov+use_metadata_tags+write_colr \
    -map_metadata:s:v 0:s:v \
    -map_metadata:s:a 0:s:a \
    -c:a aac \
    "encoded/${f%.*}.mp4”;
done


    


    I have a feeling it's something really simple I'm missing but I've gone through it a dozen times and can't seem to modify in any way to success.

    


    Thank you !

    


    Getting dumped back to ">" terminal prompt.