Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (62)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (9180)

  • Record window from CMD or PowerShell [closed]

    9 octobre 2023, par Pingui

    How can one record a window e.g. from the Command Promt or PowerShell ?

    


    I tried the following CMD-command which in principle works, but it cuts off the window (even with increased video_size 1920x1080, which seems to have no effect at all) :

    


    "C:\[your_path_to]\ffmpeg.exe" -f gdigrab -i title="New Tab - Google Chrome" -framerate 30 -video_size 1920x1080 -c:v libx264 -preset ultrafast -t 5 output.mp4


    


    The goal would be something like the above, but...

    


      

    1. Ideally, the window should be found not by its window title, but by its process name (e.g. chrome.exe)
    2. 


    3. The video should be automatically fitted to the window size (even if larger than 1920x1080)
    4. 


    5. The video-name.mp4 and video duration (-t) should be handed dynamically as input variables
    6. 


    7. If the video-name.mp4 already exists, it should be overwritten without asking
    8. 


    9. The windw should be recorded even if not on top
    10. 


    


    Any solution in CMD, PowerShell or whatever can be called by Window's ShellExecuteW function and passed video-name.mp4 and video duration as inputs would be fine.

    


  • Saving animation using FFMPEG is cutting off subplot

    13 juin 2017, par Aklys

    I’m using the following code to save an animated figure with two plots :

    c_anim = animation.FuncAnimation(c_fig, c_animate, init_func=c_init, repeat=True,
                                    frames=len(main_df.reset_index()['DATE'].tolist()),
                                    interval=graph_interval_speed, blit=True)
    plt.rcParams['animation.ffmpeg_path'] = '.\\FFMPEG\\bin\\ffmpeg.exe'
    plt.rcParams['animation.bitrate'] = -1
    FFwriter = animation.FFMpegWriter(fps=30, codec='libx264', extra_args=['-s', '1080:1920', '-aspect', '16:9'])
    c_anim.save('basic_animation.mp4', writer=FFwriter, dpi=100)

    But the video file it outputs cuts off the second plot. The animation works fine with plt.show() and the figure or plot have not been given specific sizes.

    I’m using the following versions :

    • python = 3.6.1
    • matplotlib = 1.5.3
    • ffmpeg = N-82225-gb4e9252
    • OS = Windows 10

    Please advise me if further information is needed as it’s the first time I’ve attempted to record an animated plot.

    How do I adjust the aspect and resolution to work with the figure itself so nothing is cut off in the video ?

  • How can I cut segments of audio/video while keeping the other track intact in ffmpeg ?

    8 novembre 2022, par limejellodragon

    I am a newer user to ffmpeg, but I have a slightly complicated use case for it. I need to be able to cut multiple sections out of a video and/or multiple sections out of the audio, with the actual length of the video and audio files remaining intact (e.g. the audio would cut out but the video continues, or the video continues but the audio cuts out). I have been slowly learning about complex filtergraphs, but a little help would be VERY much appreciated.

    


    this is currently my super basic "test script" to see if I can get it to work (in it's actual use case, the timestamps will be variables in a python program)

    


        ffmpeg -i bdt.mkv -filter_complex 
    [0:v]trim=start=10.0:end=15.0,setpts=PTS-STARTPTS[0v];
    [0:a]atrim=start=10.0:end=15.0,asetpts=PTS-STARTPTS[0a];
    [0:v]trim=start=65.0:end=70.0,setpts=PTS-STARTPTS[1v];
    [0:a]atrim=start=65.0:end=70.0,asetpts=PTS-STARTPTS[1a];[0v][0a][1v]
    [1a]concat=n=2:v=1:a=1[outv][outa] -map [outv] -map [outa] out.mp4