Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (25)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (5373)

  • Video encoding libraries for Windows

    8 février 2012, par John

    ffmpeg is a widely used cross-platform library. But it doesn't support Visual C++, meaning you have to jump through hoops.

    And considering they say the following, it's clear they don't give $0.02 about MSVC users and that makes me uncomfortable for a serious project.. how can one of the most widely used cross-platform libraries not support the most common toolset on the most common OS ?

    There have been efforts to make FFmpeg compatible with MSVC++ in the
    past. However, they have all been rejected as too intrusive,
    especially since MinGW does the job adequately. None of the core
    developers work with MSVC++ and thus this item is low priority. Should
    you find the silver bullet that solves this problem, feel free to
    shoot it at us.

    We strongly recommend you to move over from MSVC++ to MinGW tools.

    It seems unlikely all the Windows developers are doing all this messing about, so are there more Windows-friendly libraries around ?

  • How does one go about undoing an avformat_seek_file call in libavcodec ?

    2 juillet 2020, par John Allard

    I have an application written around libavcodec that sometimes attempts to seek ahead in a video while performing some work. The call to avformat_seek_file can only seek to a keyframe, so sometimes I end up in a situation where it ends up seek backwards from my current position in the decoding routine causing me to have to repeat work. For example, if I'm on frame 150 and I want to seek to frame 200, but the only key frames in the file are on frames 1 and 100, this call will have me seek back to frame 100, meaning I now have to decode 100 frames to get to 200 instead o 50 frames to get to 200 from my original decoding position of frame 150.

    


    Is there a way for me to tell avformat_seek_file to undo its last seek and reset me to my previous location ? Is there some other way for me to "save" my decoding state to undo this wrongful seek manually ?

    


    edit - it should be noted that my videos are always h264 encoded in an mp4 container.

    


  • What is the most efficient way to convert wav audio string to an ogg file without writing it to disk ?

    1er janvier 2023, par Saurabh Kumar Karn

    My final objective is to use TTS to get some Indic text converted into audio and pass that audio to a messaging system that accepts mp3 and ogg. Ogg is preferred.

    


    I am on Ubuntu and my flow for getting audio string is something like this.

    


      

    1. Text in Indic language is passed to an API
    2. 


    3. API returns a json with a key value called audioContent. audioString = response.json()['audio'][0]['audioContent']
    4. 


    5. The decoded string is arrived by using this decode_string = base64.b64decode(dat)
    6. 


    


    I am currently converting it to mp3 and as you can see I am writing the wave file first and then converting it into an mp3.

    


    wav_file = open("output.wav", "wb")
decode_string = base64.b64decode(audioString)
wav_file.write(decode_string)

# Convert this to mp3 file
print('mp3file')
song = AudioSegment.from_wav("output.wav")
song.export("temp.mp3", format="mp3")


    


    Is there a way to convert audioString directly to ogg file without doing the io ?

    


    I've tried torchaudio and pyffmpeg to load audioString and do the conversion but it doesn't seem to be working.