Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (103)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (19713)

  • ffmpeg not honoring sample rate in opus output

    3 mai, par Adam

    I am capturing a live audio stream to Opus, and no matter what I choose for the audio sample rate, I get 48khz output.

    


    This is my command line

    


    ./ffmpeg -f alsa -ar 16000 -i sysdefault:CARD=CODEC -f
alsa -ar 16000 -i sysdefault:CARD=CODEC_1 -filter_complex
join=inputs=2:channel_layout=stereo:map=0.1-FR\|1.0-FL,asetpts=expr=N/SR/TB
-ar 16000 -ab 64k -c:a opus -vbr off -compression_level 5 output.ogg


    


    And this is what ffmpeg responds with :

    


    


    Output #0, ogg, to 'output.ogg' : Metadata :
encoder : Lavf57.48.100
Stream #0:0 : Audio : opus (libopus), 16000 Hz, stereo, s16, delay 104, padding 0, 64 kb/s (default)
Metadata :
encoder : Lavc57.54.100 libopus

    


    


    However, it appears that ffmpeg has lied, because when analysing the file again, I get :

    


    


    Input #0, ogg, from 'output.ogg' : Duration : 00:00:03.21, start :
0.000000, bitrate : 89 kb/s
Stream #0:0 : Audio : opus, 48000 Hz, stereo, s16, delay 156, padding 0
Metadata :
ENCODER : Lavc57.54.100 libopus

    


    


    I have tried so many permutations of sample rate, simplifying down to a single audio input etc etc - always with the same result.

    


    Any ideas ?

    


  • Opus Audio Codec in Linphone Android 2013 Version

    2 septembre 2015, par Redturbo

    I want to just enabled Opus Audio Codec in my VOIP application, I have try code from here : http://stackoverflow.com/questions/31635522/force-using-just-opus-codec-in-linphone-android/31652551#31652551

    I try to check findpayloadtype first :

    for (PayloadType pt : mLc.getAudioCodecs()) {
                   pt = mLc.findPayloadType("PCMA", 8000, 1);
                   Log.d("LinphoneManager", "PayloadType PCMA : " + pt);
               }

               for (PayloadType pt : mLc.getAudioCodecs()) {
                   pt = mLc.findPayloadType("PCMU", 8000, 1);
                   Log.d("LinphoneManager","PayloadType PCMU : "+pt);
               }

               for (PayloadType pt : mLc.getAudioCodecs()) {
                   pt = mLc.findPayloadType("OPUS", 8000, 1);
                   Log.d("LinphoneManager","PayloadType P : "+pt);

               }

    PCMA and PCMU show value in log :

    [PCMA] clock [8000], bitrate [64000]

    [PCMU] clock [8000], bitrate [64000]

    but OPUS show null value :

    null

    is that something wrong with my code to got OPUS audio codec, or something else ?

  • ffmpeg not honoring sample rate in opus output

    28 août 2016, par Adam

    I am capturing a live audio stream to Opus, and no matter what I choose for the audio sample rate, I get 48khz output.

    This is my command line

    ./ffmpeg -f alsa -ar 16000 -i sysdefault:CARD=CODEC -f
    alsa -ar 16000 -i sysdefault:CARD=CODEC_1 -filter_complex
    join=inputs=2:channel_layout=stereo:map=0.1-FR|1.0-FL,asetpts=expr=N/SR/TB
    -ar 16000 -ab 64k -c:a opus -vbr off -compression_level 5 output.ogg

    And this is what ffmpeg responds with :

    Output #0, ogg, to ’output.ogg’ : Metadata :
    encoder : Lavf57.48.100
    Stream #0:0 : Audio : opus (libopus), 16000 Hz, stereo, s16, delay 104, padding 0, 64 kb/s (default)
    Metadata :
    encoder : Lavc57.54.100 libopus

    However, it appears that ffmpeg has lied, because when analysing the file again, I get :

    Input #0, ogg, from ’output.ogg’ : Duration : 00:00:03.21, start :
    0.000000, bitrate : 89 kb/s
    Stream #0:0 : Audio : opus, 48000 Hz, stereo, s16, delay 156, padding 0
    Metadata :
    ENCODER : Lavc57.54.100 libopus

    I have tried so many permutations of sample rate, simplifying down to a single audio input etc etc - always with the same result.

    Any ideas ?