Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (69)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

Sur d’autres sites (6103)

  • How to solve video is choppy when scrolling on android browser ?

    18 septembre 2024, par SiLeafClover

    I am currently doing video scrolly kind of things. I'm using GSAP and Scrolltrigger and sveltekit to play video on scroll. At the beginning of the implementation, the video is very laggy on scroll on all browsers and cross devices.

    


    So I do some research and found out video encoding is so important and found this ffmpeg command through codepen. ffmpeg -i originalVideo.mp4 -movflags faststart -vcodec libx264 -crf 23 -g 1 -pix_fmt yuv420p output.mp4
    
When I use the video which is exported by the above command, it works smoothly on windows, mac and ios. But I'm still having issues with my phone (Andriod). When I check the website on my phone(Android), the video is laggy/choppy on scroll but on ios, the video is fine. So may I know which options do I need to add for the video encoding to play the video smoothly on Android ?

    


  • converting eac3 to aac with ffmpeg

    30 novembre 2023, par vespino

    I have a number of video files stored on my Synology of which the audio doesn't play on when opening them with DS File. This is because DS File does not support eac3. I would like to convert those files to aac using ffmpeg, but when doing so, all audio is lost.

    


    This is the file info :

    


    Input #0, matroska,webm, from &#x27;<file>.mkv&#x27;:&#xA;  Metadata:&#xA;    encoder         : libebml v1.4.2 &#x2B; libmatroska v1.6.4&#xA;  Duration: 00:48:43.42, start: 0.000000, bitrate: 6566 kb/s&#xA;    Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)&#xA;    Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1 (default)&#xA;    Stream #0:2(eng): Subtitle: subrip&#xA;    Metadata:&#xA;      title           : English [SDH]&#xA;    Stream #0:3(ara): Subtitle: subrip&#xA;    Metadata:&#xA;      title           : Arabic&#xA;    Stream #0:4(chi): Subtitle: subrip&#xA;</file>

    &#xA;

    This is my attempt :

    &#xA;

    ffmpeg -i <file>.mkv -map 0:v -map 0:a:0 -map 0:s -c copy -c:a aac -b:a 640k output.mkv&#xA;</file>

    &#xA;

    Subtitles are kept, but audio is completely removed. I would like to automate the process if possible.

    &#xA;

    This is my ffmpeg configuration :

    &#xA;

    ffmpeg version 4.1.8 Copyright (c) 2000-2021 the FFmpeg developers&#xA;  built with gcc 8.5.0 (GCC)&#xA;  configuration: --prefix=/usr --incdir=&#x27;${prefix}/include/ffmpeg&#x27; --arch=i686 --target-os=linux --cross-prefix=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --disable-stripping --enable-version3 --enable-encoders --enable-pthreads --disable-protocols --disable-protocol=rtp --enable-protocol=file --enable-protocol=pipe --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffplay --disable-ffprobe --disable-doc --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-vaapi --disable-cuvid --disable-nvenc --disable-decoder=aac --disable-decoder=aac_fixed --disable-encoder=aac --disable-decoder=amrnb --disable-decoder=ac3 --disable-decoder=ac3_fixed --disable-encoder=zmbv --disable-encoder=dca --disable-decoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=eac3 --disable-encoder=truehd --disable-decoder=truehd --disable-encoder=hevc_vaapi --disable-decoder=hevc --disable-muxer=hevc --disable-demuxer=hevc --disable-parser=hevc --disable-bsf=hevc_mp4toannexb --x86asmexe=yasm --cc=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-wrap-gcc --enable-yasm --enable-libx264 --enable-encoder=libx264&#xA;  libavutil      56. 22.100 / 56. 22.100&#xA;  libavcodec     58. 35.100 / 58. 35.100&#xA;  libavformat    58. 20.100 / 58. 20.100&#xA;  libavdevice    58.  5.100 / 58.  5.100&#xA;  libavfilter     7. 40.101 /  7. 40.101&#xA;  libswscale      5.  3.100 /  5.  3.100&#xA;  libswresample   3.  3.100 /  3.  3.100&#xA;  libpostproc    55.  3.100 / 55.  3.100&#xA;

    &#xA;

    Synology does not support eac3 out of the box. So is this even possible ?

    &#xA;

  • crtbegin_static.o file missing for android toolchain (when complie ffmepg)

    7 juin 2013, par Jason Tsai

    I'm using android-ndk-r8d-windows and cygwin, and I'm trying to compile ffmpeg on android.
    I get stuck and the log file says "e :/ffmpeg/jni/temp/ffconf.6zOhxLrc.o
    arm-linux-androideabi-gcc.exe : error : /cygdrive/e/android-ndk-r8e/platforms/android-9/arch-arm/usr/lib/crtbegin_static.o : No such file or directory
    "

    anyway, I checked, the file is definitely here. I've done some reasearch and find the similiar mistake exsists after the r6 version of ndk.
    Then I tried Samveen's advice, add the code

    $ cd src &amp;&amp; ln -s ndk/platforms/android-9/arch-arm/usr/lib/crtbegin_static.o  

    However, the cygwin told me "-bash : cd : src : No such file or directory"

    I'm new on this. Could anyone help me ??

    After I deleted the code

    ${NDK_ROOT}/platforms/${PLATFORM}/arch-arm/usr/lib/crtbegin_static.o
    ${NDK_ROOT}/platforms/${PLATFORM}/arch-arm/usr/lib/crtend_android.o -lc -lm -ldl

    I got an config.h... AND now my config.sh file is

    export TMPDIR="E:/ffmpeg/jni/temp"
    PREBUILT=$ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows
    PLATFORM=$ndk/platforms/android-8/arch-arm
    ./configure --target-os=linux \
       --arch=arm \
      --enable-version3 \
      --enable-gpl \
      --enable-nonfree \
      --disable-doc \
      --disable-stripping \
      --disable-ffmpeg \
      --disable-ffplay \
      --disable-ffprobe \
      --disable-encoders \
      --disable-muxers \
      --disable-devices \
      --disable-protocols \
      --enable-protocol=file \
      --enable-avfilter \
      --enable-network \
      --disable-avdevice \
      --enable-cross-compile \
      --cc=$PREBUILT/bin/arm-linux-androideabi-gcc \
      --cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
      --nm=$PREBUILT/bin/arm-linux-androideabi-nm \
      --extra-cflags="-fPIC -DANDROID" \
      --disable-asm \
      --enable-neon \
      --enable-armv5te \
      --extra-ldflags=&#39;-L$PLATFORM/usr/lib -nostdlib&#39; \

    and the log file says :

    WARNING: /cygdrive/e/android-ndk-r8d/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-pkg-config not found, library detection may fail.
       mktemp -u XXXXXX
       Fli1cP
       check_ld cc
       check_cc
       BEGIN e:/ffmpeg/jni/temp/ffconf.mPVUbOKZ.c
           1   int main(void){ return 0; }
       END e:/ffmpeg/jni/temp/ffconf.mPVUbOKZ.c
       /cygdrive/e/android-ndk-r8d/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-gcc -fPIC -DANDROID -std=c99 -c -o e:/ffmpeg/jni/temp/ffconf.HKTTQJKC.o e:/ffmpeg/jni/temp/ffconf.mPVUbOKZ.c
       /cygdrive/e/android-ndk-r8d/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-gcc -Wl,-rpath-link=/cygdrive/e/android-ndk-r8d/platforms/android-9/arch-arm/usr/lib -L/cygdrive/e/android-ndk-r8d/platforms/android-9/arch-arm/usr/lib -nostdlib /cygdrive/e/android-ndk-r8d/platforms/android-9/arch-arm/usr/lib/crtbegin_static.o /cygdrive/e/android-ndk-r8d/platforms/android-9/arch-arm/usr/lib/crtend_android.o -lc -lm -ldl -o e:/ffmpeg/jni/temp/ffconf.qymN2G2k e:/ffmpeg/jni/temp/ffconf.HKTTQJKC.o
       arm-linux-androideabi-gcc.exe: /cygdrive/e/android-ndk-r8d/platforms/android-9/arch-arm/usr/lib/crtbegin_static.o: No such file or directory
       arm-linux-androideabi-gcc.exe: /cygdrive/e/android-ndk-r8d/platforms/android-9/arch-arm/usr/lib/crtend_android.o: No such file or directory
       C compiler test failed.