Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (15)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • 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

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (2341)

  • pthread_frame : allow per-field ThreadFrame owners.

    3 avril 2017, par Ronald S. Bultje
    pthread_frame : allow per-field ThreadFrame owners.
    

    This tries to handle cases where separate invocations of decode_frame()
    (each running in separate threads) write to respective fields in the
    same AVFrame->data[]. Having per-field owners makes interaction between
    readers (the referencing thread) and writers (the decoding thread)
    slightly more optimal if both accesses are field-based, since they will
    use the respective producer’s thread objects (mutex/cond) instead of
    sharing the thread objects of the first field’s producer.

    In practice, this fixes the following tsan-warning in fate-h264 :

    WARNING : ThreadSanitizer : data race (pid=21615)
    Read of size 4 at 0x7d640000d9fc by thread T2 (mutexes : write M1006) :
    #0 ff_thread_report_progress pthread_frame.c:569 (ffmpeg:x86_64+0x100f7cf54)
    [..]
    Previous write of size 4 at 0x7d640000d9fc by main thread (mutexes : write M1004) :
    #0 update_context_from_user pthread_frame.c:335 (ffmpeg:x86_64+0x100f81abb)

    • [DH] libavcodec/h264_slice.c
    • [DH] libavcodec/pthread_frame.c
    • [DH] libavcodec/thread.h
    • [DH] libavcodec/utils.c
  • Simple Question About Subprocess popen + screen +ffmpeg + youtube-dl

    2 juin 2021, par El_Barto_404
    ffmpeg -i "$(youtube-dl -x -g "https://youtu.be/xhXq9BNndhw")" -f s16le -ac 2 -ar 48000 -acodec pcm_s16le input.raw


    


    can anyone put this inside a popen process after a screen -S Convert ?

    


    I tried already with ' ', with commas.. but nothing

    


    I built a bot on telegram which if you send :

    


    .mandala youtubelink


    


    it takes the link and converts the video from YouTube into a uncompressed file, I need it for a music bot which streams those uncompressed files.

    


    if I run in console :

    


    ffmpeg -i "$(youtube-dl -x -g "https://youtu.be/xhXq9BNndhw")" -f s16le -ac 2 -ar 48000 -acodec pcm_s16le input.raw 


    


    it works but when I try with screen and popen it doesn't.. why ?

    


    @helper.register(pattern=r'.mandala (.+)')
async def mu2342sicbfffffffot(e):
    cheater = e.pattern_match.group(1)
    cheat = cheater
    myorder2224 = ''' "$(youtube-dl -x -g "{}")" '''
    doit = (myorder2224.format(cheater))

    ###  I already try to format the variable 
    ###  and put doit after -i and 
    ###  everything was in '' and commas 
    ###  like 'ffmpeg', 'i*, doit, '-f'...
    ###  and so on but nothing.. but nope doesn't work.

    p = subprocess.call(['screen','-S','onveter',' ffmpeg -i "$(youtube-dl -x -g "https://www.youtube.com/watch?v=Sw5HQbYGoCA")" -f s16le -ac 1 -acodec pcm_s16le -ar 96k  input.pcm'],shell=True)
  await helper.control_panel.send_message(config.chat, "La sto a manna")
  time.sleep(14)
  


    


    I REPEAT ONE MORE TIME :
HOW CAN I USE THAT FFMPEG COMMAND INSIDE A POPEN SUBPROCESS AFTER A Screen -S Convert ?

    


    IF SOMEONE WANT TO KNOW WHY :
Because I want to convert youTube videos to file .raw / .pcm

    


  • Adobe connect video : FLV to MP4 (export, convert)

    8 février 2017, par Guillaume Chevalier

    I would like to convert an adobe connect video from .flv in the downloaded zip to .mp4. I have already done the steps explained in this question and answer, however I get .flv files organised like this inside the .zip :

    enter image description here

    Moreover, I know that ffmpeg can merge video and sound files together as well as concatenating resulting clips directly from the command-line which could be quite useful : https://www.labnol.org/internet/useful-ffmpeg-commands/28490/

    I can’t ask the owner of the video to make it available as an .mp4 from within the adobe connect admin interface. Briefly, I would like to listen to those videos in x2 speed in VLC (just like what I do when listening to random math classes on YouTube - I put ON the x2 speed). The amount of time I would gain to watch adobe connect videos in x2 speed is MASSIVE.

    I think I am not the only one that would like to do this. There are a lot of questions on forums about downloading adobe connect videos, but the .flv format mixed with some .xml is generally a killer when the host does not make the videos properly available in .mp4.

    Dealing with the order of the .flv files is a puzzle. At least, I would not care to flush the chat away and leave some details like that behind, that would help to reconstruct the videos. Any scripts to automate the process would be useful.