Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (82)

  • 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

  • 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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (9376)

  • Evolution #3791 (Nouveau) : Driver generic acces base de données

    5 juin 2016, par Alain G.

    J’ai commencé à travailler sur la mise en place d’un système générique de driver en utilisant la POO et permettant d’envisager plusieurs types de connexion à une base de données.

    Cette proposition conserve l’interface standard définie dans SPIP (abstract_sql.php)

    En PJ une archive avec l’état actuel (qui marche à peu près bien que non totalement testé) et qui permet d’utiliser au choix mysqli ou PDO). Cette piste mérite-t-elle d’être creusée ?

  • avcodec/libopus : support disabling phase inversion.

    5 février 2018, par Menno
    avcodec/libopus : support disabling phase inversion.
    

    Signed-off-by : Menno <mrdegier@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] doc/encoders.texi
    • [DH] libavcodec/libopusdec.c
    • [DH] libavcodec/libopusenc.c
  • ffmpeg : Downmixing 5.1 to stereo with phase invert

    1er novembre 2022, par anti-hero

    I'd like to use ffmpeg and Dolby Logic Pro II formula to downmix a 5.1 song to stereo :

    &#xA;

    &#xA;

    Lt = L + (–3 dB × C) – (–1.2 dB × Ls) – (–6.2 dB × Rs)

    &#xA;

    Rt = R + (–3 dB × C) + (–6.2 dB × Ls) + (–1.2 dB × Rs)

    &#xA;

    &#xA;

    I came up with this long and probably redundant bash script :

    &#xA;

    # L channel&#xA;ffmpeg -i "$filename" -map_channel 0.1.0 -c:a pcm_f32le L.wav&#xA;ffmpeg -i "$filename" -map_channel 0.1.2 -filter:a "volume=-3dB" -c:a pcm_f32le C.wav&#xA;ffmpeg -i "$filename" -map_channel 0.1.4 -af "volume=-1.2dB" -c:a pcm_f32le Ls.wav&#xA;ffmpeg -i "$filename" -map_channel 0.1.5 -af "volume=-6.2dB" -c:a pcm_f32le Rs.wav&#xA;ffmpeg -i Ls.wav -af "aeval=-val(0)" -c:a pcm_f32le Lsi.wav&#xA;ffmpeg -i Rs.wav -af "aeval=-val(0)" -c:a pcm_f32le Rsi.wav&#xA;ffmpeg -i L.wav -i C.wav -i Lsi.wav -i Rsi.wav -filter_complex "amix=inputs=4" -c:a pcm_f32le L_final.wav&#xA;rm L.wav Ls.wav Rs.wav Lsi.wav Rsi.wav&#xA;&#xA;# R channel&#xA;ffmpeg -i "$filename" -map_channel 0.1.1 -c:a pcm_f32le R.wav&#xA;ffmpeg -i "$filename" -map_channel 0.1.4 -filter:a "volume=-6.2dB" -c:a pcm_f32le Ls.wav&#xA;ffmpeg -i "$filename" -map_channel 0.1.5 -filter:a "volume=-1.2dB" -c:a pcm_f32le Rs.wav&#xA;ffmpeg -i R.wav -i C.wav -i Ls.wav -i Rs.wav -filter_complex "amix=inputs=4" -c:a pcm_f32le R_final.wav&#xA;rm R.wav C.wav Ls.wav Rs.wav&#xA;&#xA;# Mix&#xA;ffmpeg -i L_final.wav -i R_final.wav -filter_complex "[0:0][1:0] amerge=inputs=2" -c:a pcm_f32le "${filename%.*}_dm.wav"&#xA;rm L_final.wav R_final.wav&#xA;

    &#xA;

    Would this work ? And is there a simpler way to do this ?

    &#xA;

    update : I also wrote Python code for the 90 degree phase shift version.

    &#xA;

    import scipy, os, numpy as np&#xA;&#xA;os.system(f&#x27;ffmpeg -i "{filename}" -c:a pcm_f32le temp.wav&#x27;)&#xA;sample_rate, waves = scipy.io.wavfile.read("temp.wav")&#xA;os.remove("temp.wav")&#xA;&#xA;L, R, C, LFE, LS, RS = waves.T&#xA;&#xA;LS_shifted = -np.imag(scipy.signal.hilbert(LS))&#xA;RS_shifted = np.imag(scipy.signal.hilbert(RS))&#xA;L_out = L &#x2B; 0.708 * C - 0.871 * LS_shifted - 0.49 * RS_shifted&#xA;R_out = R &#x2B; 0.708 * C &#x2B; 0.49 * LS_shifted &#x2B; 0.871 * RS_shifted&#xA;&#xA;scipy.io.wavfile.write("out.wav", sample_rate, np.vstack((L_out, R_out)).T)&#xA;

    &#xA;

    Hope someone finds this useful ! (and that someone verifies it's correct)

    &#xA;