Recherche avancée

Médias (91)

Autres articles (8)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

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

  • Is there a fix for the 'flashing console' bug with FFMPEG ?

    29 août 2022, par NedNoodleHead

    When using a compiled a program that utilizes FFMPEG (Not library, but the path to the exe), and a GUI library ; that has a function that uses FFMPEG, a console window from FFMPEG will quickly open and disappear.

    


    I have a github repo that can be used to reproduce the bug : https://github.com/nednoodlehead/ffmpegthreading

    


    I also have a quick youtube video showing what the bug looks like, and what it should look like : https://www.youtube.com/watch?v=tCZ0z9E5Iyw

    


    A few things to note with this :

    


    1). This will only occur when the app is compiled. Running this in a virtual environment works as expected. I run it from my IDE all the time with no console flashing. (as seen in video)

    


    2). It will only flash while a GUI is present. So using a regular script to call the same command that produces the bug will NOT cause the bug

    


    3). The bug was tested in Tkinter and PyQt5 and produced the same result (flashing console)

    


    4). Threading is NOT needed to reproduce this bug, it just makes the debugging a bit easier

    


    5). Using the ffmpeg module does not work as my entire project is based around an interface for PyDub (Which uses ffmpeg)

    


    6). This solution does not work for me : How to hide console output of FFmpeg in Python ? (Because this uses the module, while I use the exe)

    


    7). I am using auto-py-to-exe to compile (which uses pyinstaller)

    


    8). Running 'ffmpeg -version' (in regular cmd (same result in venv)) gives : ffmpeg version N-106605-gf67403edb3-20220413

    


    I would appreciate any help, this is tying my brain up.

    


  • FFMPEG stream video to Youtube Live

    13 juin 2022, par BlessedHIT

    I have a mov file and I'm using ffmpeg to stream it to youtube live using the following command,

    


    ffmpeg -re -i "episode.mov" -pix_fmt yuvj420p -x264-params keyint=48:min-keyint=48:scenecut=-1 -b:v 4500k -b:a 128k -ar 44100 -acodec aac -vcodec libx264 -preset medium -crf 28 -threads 4 -f flv "rtmp://a.rtmp.youtube.com/live2/YOUTUBE.LIVESTREAM.KEY"


    


    But im getting the following message on youtube,

    


    YouTube is not receiving enough video to maintain smooth streaming. As such, viewers will experience buffering


    


    My ffmpeg output showed my bitrate being between 800 - 1000 mbps, way lower than what i have specified in my ffmpeg command.

    


    I am using a not so powerful virtual machine, and so i thought this might be why i am not getting the desired bitrate.

    


    To overcome my hardware limitations, I then decided to encode the file for streaming using this command :

    


    ffmpeg -i episode.mov -c:v libx264 -preset medium -b:v 4500k -maxrate 4500k -bufsize 6000k -vf "scale=1280:-1,format=yuv420p" -g 50 -c:a aac -b:a 128k -ac 2 -ar 44100 episode.flv


    


    Then I stream copy the file using :

    


    ffmpeg -re -i episode.flv -c copy -f flv "rtmp://a.rtmp.youtube.com/live2/YOUTUBE.LIVESTREAM.KEY"


    


    And that seems to give me a stream that youtube is happy with.

    


    My question is, is there a way I can rewrite my ffmpeg command to livestream with the desired bitrate without needing to first encode my mov to another file or is adding more memory the only way forward here ?

    


  • How to split 5.1 audio into discrete AAC streams in FFmpeg 4.0

    17 décembre 2018, par OwlBoy

    Up until FFmpeg v4.0 I have been able to run the following command on an input video file that contains an H.264 video track and either AC3 or DTS audio stream and produce an MP4 that has 6 streams of audio. Each stream corresponds to a channel of the 5.1 audio.

    ffmpeg -i INPUT.MKV -vcodec copy -filter_complex channelsplit=channel_layout=5.1 -acodec aac -movflags faststart OUTPUT.MP4

    It even worked on Stereo tracks and put the L and R channels into the proper places and produced some extraneous silent tracks for the other 4 channels.

    But now in v4.0.1 I get the following error :

    [aac @ 0x7f7f65001e00] Unsupported channel layout

    Error initializing output stream 0:0 — Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    Conversion failed !

    Changing the command to be the following does not improve things :

    ffmpeg -i INPUT.MKV -vcodec copy -filter_complex "channelsplit=channel_layout=5.1[FL][FR][FC][LFE][BL][BR]" -acodec aac -movflags faststart OUTPUT.MP4

    It gives the following error :

    Filter channelsplit:BR has an unconnected output

    (Note that BL/BR and SL/SR both produce the same error about BR)

    This MP4 file structure is useful for playing back inside of Unity with virtual speakers placed in the environment.

    My end goal :

    - MP4 (MOOV Atom at the Front)
       -H.264 Video Stream
       -AAC Audio Stream - FL
       -AAC Audio Stream - FR
       -AAC Audio Stream - FC
       -AAC Audio Stream - LFE
       -AAC Audio Stream - SL
       -AAC Audio Stream - SR