Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (45)

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

Sur d’autres sites (9551)

  • x264 plugins compilation error

    8 décembre 2014, par Rajendran Ambika

    Am trying to compiling X264 plugins of FFMPEG in Mac terminal, While compiling am receiving following error in the CONFIG.LOG.

    couldn't understand kern.osversion `14.0.0'
    conftest.c:1: error: bad value (armv7a) for -march= switch
    conftest.c:1: error: bad value (armv7a) for -mtune= switch
  • 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