Recherche avancée

Médias (91)

Autres articles (88)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (8539)

  • ffmpeg throws error when trying to remove subtitle track only when artwork is present [on hold]

    2 juillet 2014, par user226372

    Hi ffmpeg users/gurus/developers,

    I am having a peculiar problem.

    I have a media with 5 tracks (Notice the fifth one is album artwork)

    Stream #0:0(und) : Video : h264 (High)
    Stream #0:1(und) : Audio : aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 164 kb/s (default)
    Stream #0:2(und) : Audio : ac3 (ac-3 / 0x332D6361), 44100 Hz, stereo, fltp, 224 kb/s
    Stream #0:3(eng) : Subtitle : mov_text (tx3g / 0x67337874), 1280x60, 0 kb/s (default)
    Stream #0:4 : Video : mjpeg, yuvj420p(pc), 1000x1500 [SAR 1:1 DAR 2:3], 90k tbr, 90k tbn, 90k tbc

    All i am trying is to remove the subtitle track Stream #0:3(eng) : Subtitle by this command

    ffmpeg -i input.mkv -map 0:0 -map 0:1 -map 0:2 -map 0:4 -c copy output.mkv

    as explained here

    https://trac.ffmpeg.org/wiki/How%20to%20use%20-map%20option

    But i am getting this error

    Stream mapping:
    Stream #0:0 -> #0:0 (copy)
    Stream #0:1 -> #0:1 (copy)
    Stream #0:2 -> #0:2 (copy)
    Stream #0:4 -> #0:3 (copy)
    [ipod @ 0x103011000] Could not find tag for codec mjpeg in stream #3, codec not currently supported in container
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

    Conversion failed !

    If the input media doesn’t contain an artwork this error is not happening

    Any ffmpeg gurus who can help me with this issue please !!!!

  • How to convert MP4 to MP3 in VLC using Command-Prompt ?

    9 juillet 2016, par user6472523

    I have close to 0 programming experience but would like to figure out how to do this and have been trying to figure out how to do this for awhile. I’m getting very frustrated - wish I could understand it. I’m trying to convert a bunch of MP4 files to MP3 files. I would like to keep the original file and just spit out a bunch of MP3 files with same name as the original file.

    From here : https://wiki.videolan.org/How_to_Batch_Encode/

    Apparently, all you need to do is use this code in the Command-Prompt. I have never really used the Command-Prompt before so no idea what to do.

    FOR /R %%G IN (*.m4a) DO (CALL :SUB_VLC "%%G")
    FOR /R %%G IN (*.m4a.mp*) DO (CALL :SUB_RENAME "%%G")
    GOTO :eof

    :SUB_VLC
    SET _firstbit=%1
    SET _qt="
    CALL SET _newnm=%%_firstbit:%_qt%=%%
    SET _commanm=%_newnm:,=_COMMA_%
    REM echo %_commanm%
    CALL "C:\Program Files\VideoLAN\VLC\vlc" -I dummy -vvv %1 --sout=#transcode{acodec="mpga",ab="512","channels=2",samplerate="44100"}:standard{access="file",mux="mpeg1",dst="%_commanm%.mp3"} vlc://quit
    GOTO :eof

    :SUB_RENAME
    SET _origfnm=%1
    SET _endbit=%_origfnm:*.m4a=%
    CALL SET _newfilenm=%%_origfnm:.m4a%_endbit%=.mp3%%
    SET _newfilenm=%_newfilenm:_COMMA_=,%
    COPY %1 %_newfilenm%
    DEL %1
    GOTO :eof

    :eof
    1. So far I changed the directory in the Command-Prompt to the
      folder where the MP4 files are located.
    2. In the code, I’ve changed all mention of .m4a to .mp4.
    3. I’ve change mpga to mp3.
    4. I’ve changed "C :\Program Files\VideoLAN\VLC\vlc" to where my vlc program
      is located.

    What else do I need to do ? And what do all the %% mean in the code ?

    Thank you so much !

  • c FFmpeg undefined refference error [duplicate]

    14 août 2017, par galagala

    I want to write my own video player, so I am trying to use FFmpeg with C.
    I am using Ubuntu 16.04.3 LTS and compile FFmpeg following this tutorial https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

    after that I did add libavcodec.a to linker setting list and the source code path to search directory (using codeblocks)

    but my code still get error : undefined refference to "avcodec_register_all()"

    #include
    #include "libavcodec/avcodec.h"
    int main()
    {
       avcodec_register_all();
       return 0;
    }

    after that, I search the libavcodec folder
    I did find avcodec.h and void avcodec_register_all(void) defined in it
    but I couldn’t find avcodec.c in the folder

    Is that normal ? and is that the reason why I got undefined reference error ?
    how to fix it ?