Recherche avancée

Médias (91)

Autres articles (70)

  • 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

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (15160)

  • Raspberry Pi : Playing multiple video files in mkfifo pipe

    19 janvier 2017, par user3246167

    I have 2 files, test.mp4 and test2.mp4 that I want to play concurrently with no noticeable break in the middle. Currently I’m using

    mkfifo test
    cat test.mp4 > test &
    cat test2.mp4 > test &
    omxplayer test

    However, when I do this, omxplayer just returns data and doesn’t play the file. But if I just put a single file into the pipe, omxplayer shows it normally. I’ve also tried using the copy command in ffmpeg, and that also just returns data, doesn’t play the file.

    I understand that I can just concatenate the 2 files together, but that will not work for my purposes, because I will need to be able to feed files to the pipe while omxplayer is running

  • iOS Objective C Opus audio stream kAudioFormatOpus — specification / conversion query

    16 avril 2022, par deffodeffo

    I'm working on a React Native voice app wanting to record straight to an Opus stream.

    


    On the iOS side at device level, I'm working in Objective C and I'm using an AVAudioSession recorder with formatID set to kAudioFormatOpus. The recorder captures audio data in the specified format and passes packets for upstreaming to the React Native app.

    


    This is all working well and emitting a stream of audio data when I run my code on an iOS Simulator or real device.

    


    My problem is when I receive the audio stream in the backend, I find I'm unable to reliably decode the Opus stream using ffmpeg. (I wish to decode to PCM.)

    


    Whilst I could post up specific code to show what I'm doing in more detail, my question at this stage is more generic in nature :

    


    Is anyone familiar with the format of Opus audio stream that is generated by iOS AudioSession recorder under audio format kAudioFormatOpus ? Is anyone able to suggest proven conversion techniques ? (e.g. some ffmpeg commands), or else hook me up with some links to format specs so I can figure out what is going on here ?

    


    The Apple Developer documentation contains zero useful information : https://developer.apple.com/documentation/coreaudiotypes/1572096-audio_data_format_identifiers/kaudioformatopus?changes=la__2&language=objc

    


    I have looked all over the internet, but I'm unable to find any useful spec info that corresponds to the stream that AVAudioSession recorder is outputting. I have seen a few posts which say Apple have not fully complied with the Opus spec, but I don't know enough about the proper structure of Opus to ascertain this for myself.

    


    Any help would be very much appreciated.

    


    Thanks all

    


  • how can I transform 6 audio channels into one 5.1 channel with ffmpeg ?

    3 février 2014, par user2216280

    I have a pro-res file which has 6 mono audio channels.
    here's the ffmpeg console :

       :\test-remapping>ffmpeg -i MelleParadis_PART1_CONSTANTE.mov
    ffmpeg version N-60106-ge6d1c66 Copyright (c) 2000-2014 the FFmpeg developers
     built on Jan 22 2014 22:01:26 with gcc 4.8.2 (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-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
    cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
    ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 63.100 / 52. 63.100
     libavcodec     55. 49.100 / 55. 49.100
     libavformat    55. 25.101 / 55. 25.101
     libavdevice    55.  5.102 / 55.  5.102
     libavfilter     4.  1.100 /  4.  1.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Guessed Channel Layout for  Input Stream #0.1 : mono
    Guessed Channel Layout for  Input Stream #0.2 : mono
    Guessed Channel Layout for  Input Stream #0.3 : mono
    Guessed Channel Layout for  Input Stream #0.4 : mono
    Guessed Channel Layout for  Input Stream #0.5 : mono
    Guessed Channel Layout for  Input Stream #0.6 : mono
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MelleParadis_PART1_CONSTANTE.mov':
     Metadata:
       major_brand     : qt
       minor_version   : 537199360
       compatible_brands: qt
       creation_time   : 2013-11-27 18:58:26
     Duration: 00:07:34.32, start: 0.000000, bitrate: 117742 kb/s
       Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le, 1920x1080,
    113098 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
       Metadata:
         creation_time   : 2013-11-27 18:58:26
         handler_name    : Gestionnaire dıalias Apple
         timecode        : 01:00:00:00
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2013-11-27 18:58:26
         handler_name    : Gestionnaire dıalias Apple
       Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2013-11-27 18:58:26
         handler_name    : Gestionnaire dıalias Apple
       Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2013-11-27 18:58:26
         handler_name    : Gestionnaire dıalias Apple
       Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2013-11-27 18:58:26
         handler_name    : Gestionnaire dıalias Apple
       Stream #0:5(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2013-11-27 18:58:26
         handler_name    : Gestionnaire dıalias Apple
       Stream #0:6(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2013-11-27 18:58:26
         handler_name    : Gestionnaire dıalias Apple
       Stream #0:7(eng): Data: none (tmcd / 0x64636D74) (default)
       Metadata:
         creation_time   : 2013-11-27 19:03:46
         handler_name    : Gestionnaire dıalias Apple
         timecode        : 01:00:00:00``

    I would like to transform them into one 5.1 audio channel

    I try this line of code :

    D:\test-remapping>ffmpeg -i "MelleParadis_PART1_CONSTANTE.mov" -c copy -c:a ac3 -map 0 mlle5.1.mov

    the console replies "NOT ENOUGH SPACE" and stop...
    of course there's still some space in my hard drive...
    How could I map all the 6 mono streams into 5.1 ?
    thanks in advance.
    pauline