Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (96)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (8626)

  • Run ffmpeg audio under Windows with Flutter

    11 janvier, par Chris

    I'd like to stream audio comming from my microphone in my flutter app in the windows desktop version.

    


    Since there is no library that seems to do such thing while supporting windows desktop app, I have tried using Process like this :

    


    // Start the FFmpeg process to capture audio
ffmpegProcess = await Process.start(
  'ffmpeg',
  [
    '-f', 'dshow', // Specify DirectShow input for Windows
    '-i', 'audio="$selectedMic"', // Input audio device (selected mic)
    '-f', 'wav', // Set audio format
    '-ar', '44100', // Set audio sample rate
    '-ac', '1', // Mono channel
    '-b:a', '128k', // Set audio bitrate
    'pipe:1', // Output to stdout
  ],
);

// Listen for data on stdout (audio stream)
ffmpegProcess.stdout.listen((data) async {
  // Send audio data to the server as it comes in
  await sendAudioToServer(data);
});


    


    I've tested the command directly in my terminal (not in the flutter app) and it works fine.

    


    When I run this code in my Flutter app, my task manager also shows a "ffmpeg" process, but somehow there is no stream output in flutter, even after ensuring that the selectedMic variable is correct or even when its hardcoded.

    


    Since this command runs without issue in my terminal and even in python, I am wondering why it does not work in Flutter.

    


    Starting my vscode as administrator also don't solve the issue (I wanted to check if it's a permission issue).

    


    Also relevant : When I run the "ffmpeg -version" command, I get an output for the version, meaning that this is not an installation problem (ffmpeg bin folder is in my PATH environment variable). The problem seems to come from recording from the microphone in flutter, but I don't get why.

    


    ffmpegProcess = await Process.start('ffmpeg', ['-version']);  // this works


    


    I'd love to get some suggestions where the problem could come from or any kind of alternative solutions.

    


  • MKV to MP4 command on MacOS [closed]

    28 février 2023, par Zakary Morton

    First time attempting anything more in-depth via Terminal, and I think I've sorted out the proper coding for my conversion. What I'd like to know/double-check are : 1) Is there a way to compress/control the size of the output file ? ; 2) Can I run this from a top-level folder and convert all videos under it rather than just next level down ? ; 3) Can I automate this somehow ? ; 4) Am I converting these in a way that will make them playable on apple tv ? ; 4) And finally, like, did I do it right ? Is there a simpler way to write this ?

    


    Here's the command :

    


    


    mkdir output
for f in *.mkv ; do ffmpeg -i "$f" -c:v libx265 -c:a aac -b:a 128k -preset : veryfast -tag:v hvc1 "output/$f%mkvmp4" ;done

    


    


    Seems to be running ok, but not sure how long its meant to take to complete. Thanks for your inside from a newb

    


  • How To Convert Bit Rate (VBR) Of MP3 File Using PHP ?

    29 avril 2014, par Dave

    Using php, I am trying to convert and overwrite an mp3 file using the following command....doesn’t work.

    ffmpeg -i /Users/MacBookPro/Desktop/dragons.mp3 -ar 44100 -ab 128k -f mp3 /Users/MacBookPro/Desktop/dragons.mp3

    So even when I try the command from the terminal, the new mp3 file is only about 5 seconds (originally 3 minutes). What am I doing wrong & any ideas on how to get the command working ?

    Thanks in advance !