Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (25)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (6695)

  • Play same audio file to two different sound cards simultaneously using android media player [on hold]

    15 décembre 2016, par Hardik

    I have one custom board( media player) running android4.2 OS on it and I need to add a feature that will play same audio to two different sound cards simultaneously.

    I have two output devices HDMI and TLV320aic3100 Codec.
    And Want to play Video and audio through HDMI and same audio should play through TLV codec. Audio through TLV codec should be in sync with HDMI video/audio.

    Right now I’m able to play audio through TLV codec by hard-coding sound card number in tinyalsa PCM code "pcm.c" which is used by HAL code of Android Media Player (by default this code will give audio to HDMI),
    but not able to provide audio to both sound cards simultaneously.

    I tried with creating thread in pcm code and writing incoming audio data to both sound card, By doing this HDMI going into under-run problem.

    Is there any way to provide same audio to both sound cards simultaneously using Android Media Player or any other options to try ?

  • C# How do I set the volume of sound bytes[]

    23 juillet 2016, par McLucario

    Im trying to change the volume of sound bytes[] in C#. Im reading a sound file with FFMPEG and and wanna change the volume on the fly. I found some examples and but I didnt understand them.

    public void SendAudio(string pathOrUrl)
    {
       cancelVid = false;
       isPlaying = true;

       mProcess = Process.Start(new ProcessStartInfo
       { // FFmpeg requireqs us to spawn a process and hook into its stdout, so we will create a Process
           FileName = "ffmpeg",
           Arguments = "-i " + (char)34 + pathOrUrl + (char)34 + // Here we provide a list of arguments to feed into FFmpeg. -i means the location of the file/URL it will read from
           " -f s16le -ar 48000 -ac 2 pipe:1", // Next, we tell it to output 16-bit 48000Hz PCM, over 2 channels, to stdout.
           UseShellExecute = false,
           RedirectStandardOutput = true, // Capture the stdout of the process
           Verb = "runas"
       });

       while (!isRunning(mProcess)) { Task.Delay(1000); }

       int blockSize = 3840; // The size of bytes to read per frame; 1920 for mono
       byte[] buffer = new byte[blockSize];
       byte[] gainBuffer = new byte[blockSize];
       int byteCount;

       while (true && !cancelVid) // Loop forever, so data will always be read
       {
           byteCount = mProcess.StandardOutput.BaseStream // Access the underlying MemoryStream from the stdout of FFmpeg
           .Read(buffer, 0, blockSize); // Read stdout into the buffer

           if (byteCount == 0) // FFmpeg did not output anything
               break; // Break out of the while(true) loop, since there was nothing to read.

           if (cancelVid)
               break;

           disAudioClient.Send(buffer, 0, byteCount); // Send our data to Discord
       }
       disAudioClient.Wait(); // Wait for the Voice Client to finish sending data, as ffMPEG may have already finished buffering out a song, and it is unsafe to return now.
       isPlaying = false;
       Console.Clear();
       Console.WriteLine("Done Playing!");
  • ffmpeg concat 2 avi files loosing the sound

    14 juin 2016, par Nir Diamant

    Hey i have 2 AVI files that i want to concatenate them to one output.

    the files path is written in text file (mylist.txt) :

    file1.avi - contain video only. file2.avi - contain video and audio.

    i execute the next command :

    ffmpeg -f concat -i C:\ffmpeg\mylist.txt -c copy C:\ffmpeg\output.avi

    mylist.txt=

    file ’C :\motionbee\ffmpeg\bin\file1.avi’

    file ’C :\motionbee\ffmpeg\bin\file2.avi’

    the output file is concatenate of the 2 files. but the sound from file2.avi is not there.

    so how can i contact them without delete the sound ???

    console log :

    C:\motionbee\ffmpeg\bin>ffmpeg -f concat -i C:\motionbee\ffmpeg\bin\mylist.txt -
    c copy C:\motionbee\ffmpeg\bin\output.avi
    ffmpeg version N-78949-g6f5048f Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.3.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopenc
    ore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --ena
    ble-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable
    -libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --ena
    ble-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx
    264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable
    -lzma --enable-decklink --enable-zlib
     libavutil      55. 19.100 / 55. 19.100
     libavcodec     57. 27.101 / 57. 27.101
     libavformat    57. 28.100 / 57. 28.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 39.100 /  6. 39.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, concat, from 'C:\motionbee\ffmpeg\bin\mylist.txt':
     Duration: N/A, start: 0.000000, bitrate: 523 kb/s
       Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 720
    x480 [SAR 32:27 DAR 16:9], 523 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 30k tbc
    File 'C:\motionbee\ffmpeg\bin\output.avi' already exists. Overwrite ? [y/N] y
    Output #0, avi, to 'C:\motionbee\ffmpeg\bin\output.avi':
     Metadata:
       ISFT            : Lavf57.28.100
       Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480 [SAR 32:27 D
    AR 16:9], q=2-31, 523 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [concat @ 0000000000452620] New audio stream 0:1 at pos:10038 and DTS:100.104s
    frame= 6000 fps=0.0 q=-1.0 Lsize=   13020kB time=00:03:20.23 bitrate= 532.7kbits
    /s speed=1.39e+003x
    video:12870kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
    overhead: 1.159987%