Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (69)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (7752)

  • Can't remux MP4 into MP4 with FFmpeg (Could not find tag for codec none in stream #1)

    10 avril 2021, par nmkd

    I'm trying to create a copy of an MP4 with all streams (and metadata) except video.

    


    However, for some reason, I get a codec error even though both input and output are mp4.

    


    I've tried mapping everything, but with -vn :
    
ffmpeg -i input.mp4 -vn -copy_unknown -map 0 -c copy out.mp4

    


    Or with negative mapping :
    
ffmpeg -i input.mp4 -map 0 -map -0:v -c copy out.mp4

    


    Both commands return :
    
[mp4 @ 0000012b16bce340] Could not find tag for codec none in stream #1, codec not currently supported in container

    


    Any ideas ?

    


    How is it possible that there are codec errors when trying to remux MP4 into MP4 ?

    


    You can download the video I tried this on here : https://icedrive.net/0/e4EpBXLe2V

    


    Log : https://pastebin.com/5gD70KXn

    


  • ffmpeg - Cannot find codec parameter http mp3 audio stream

    13 janvier 2015, par Jelly

    I’m trying to decode a mp3 stream using ffmpeg, but I get :

    [mp3 @ 0xabe18730] Could not find codec parameters for stream 0 (Audio: mp3, 44100 Hz, 2 channels, 96 kb/s): unspecified frame size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options

    The relevant code is :

    errnum= avformat_open_input(&ret, uri, NULL, NULL);
    if (errnum < 0)
    {
       Logger::codec_error("avformat_open_input", errnum);
    }
    else
    {
       if (avformat_find_stream_info(ret, NULL) < 0)
       {
           Logger::codec_error("bad format read", errnum);
       }
    }

    How can you increase 'analyzeduration' and 'probesize' from code ?

  • How do you get pydub to find ffmpeg ?

    11 juin 2024, par Isaac Howse

    I'm trying to import pydub into my python program but any time I run the code it says it can't locate where ffmpeg is. I have tried everything including putting "pip install ffmpeg-python" in command prompt, juggling around the locations of the ffmpeg and python files, changing the system environment lables in PATH (although this is not saving for some reason)
I don't know what to do from here

    


    My exact code from before would've looked like this :

    


    import pydub
import ffmpeg
from pydub import AudioSegment
trumpet = AudioSegment.from_mp3("C:/Users/*redacted*/Downloads/trumpet-e4-14829.mp3")
pydub.playback.play(trumpet)


    


    And I got this beautiful long error message :

    


    Warning (from warnings module):&#xA;  File "C:\Users\*redacted*\AppData\Roaming\Python\Python312\site-packages\pydub\utils.py", line 170&#xA;    warn("Couldn&#x27;t find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)&#xA;RuntimeWarning: Couldn&#x27;t find ffmpeg or avconv - defaulting to ffmpeg, but may not work&#xA;Traceback (most recent call last):&#xA;  File "C:\Users\*redacted*\pydub test.py", line 4, in <module>&#xA;    trumpet = AudioSegment.from_mp3("C:/Users/*redacted*/Downloads/trumpet-e4-14829.mp3")&#xA;  File "C:\Users\*redacted*\AppData\Roaming\Python\Python312\site-packages\pydub\audio_segment.py", line 796, in from_mp3&#xA;    return cls.from_file(file, &#x27;mp3&#x27;, parameters=parameters)&#xA;  File "C:\Users\*redcated*\AppData\Roaming\Python\Python312\site-packages\pydub\audio_segment.py", line 651, in from_file&#xA;    file, close_file = _fd_or_path_or_tempfile(file, &#x27;rb&#x27;, tempfile=False)&#xA;  File "C:\Users\*redacted*\AppData\Roaming\Python\Python312\site-packages\pydub\utils.py", line 60, in _fd_or_path_or_tempfile&#xA;    fd = open(fd, mode=mode)&#xA;OSError: [Errno 22] Invalid argument: &#x27;C:/Users/*redacted*/Downloads/trumpet-e4-14829.mp3&#x27;&#xA;</module>

    &#xA;