Recherche avancée

Médias (91)

Autres articles (19)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (3222)

  • Converting avi to mp4 ffmpeg

    26 octobre 2013, par Dirk Swarz

    I use php code :

    $ffmpeg_command ="ffmpeg -i ".$new_name." -s 1280x720 -ar 44100 -async 44100 -r 29.970 -ac 2 -qscale 5 ".$anew_name;

    $convert_avi = true ;

    i know that the problem is in here :

    -s 1280x720 -ar 44100 -async 44100 -r 29.970 -ac 2 -qscale 5

    Idea is when video is converted i can watch it via flash player and now flash player is saying that video is not found or bad syntax so obviuos its bad syntax but i dont know how to fix it

  • ffmpeg - transcode stream to play on flowplayer [on hold]

    7 janvier 2016, par arlind

    i have a streaming link and im restreaming it via ffmpeg

    -vcodec copy -c:a libmp3lame -ab 48k -ar 22050

    so if i play in flowplayer (web PLayer) i just listen audio perfect and video has problems
    "so i just see images instand of video" its slow and it block

    When i play that video on vlc is working perfect and in video codec i see

     H264 - MPEG-4 AVC (avc1)     MPEG Audyo layer 3 (mp3)

    so how to convert this stream so i can watch on web players like flowplayer or jw player

  • 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