Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (66)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • 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 (...)

Sur d’autres sites (10936)

  • How to ffmpeg a PNG image sequence in multiple subdirs to one mp4 ?

    17 août 2021, par MikeEcho

    I am trying desperately to get this working.

    


    I have multiple files in the format of : lago_20210817_1200.png, lago_20210817_1201.png and so on.

    


    I am having a folder for each day of the year. eg. lago_20210817_1200.png is the folder 2021, subfolder 08, subfolder 17.

    


    I have tried many different approaches :

    


      

    • ffmpeg -f concat -i filelist.txt -r 25 output.mp4
    • 


    • ffmpeg -f concat -i <(find '/home/user/lago/2021/08/*.png') -r 25 output.mp4
    • &#xA;

    &#xA;

    But no approach seems to work !

    &#xA;

    I tried to create a filelist with :

    &#xA;

    find . -name &#x27;*.png&#x27; -exec echo "file &#x27;{}&#x27;" \;|sort -h|sort&#xA;

    &#xA;

    the result looked promising

    &#xA;

    file &#x27;./lago_20210813_1959.png&#x27;&#xA;file &#x27;./lago_20210813_2000.png&#x27;&#xA;file &#x27;./lago_20210813_2001.png&#x27;&#xA;

    &#xA;

    I am getting very different error messages...

    &#xA;

    DTS -230584300921369, next:40000 st:0 invalid dropping&#xA;PTS -230584300921369, next:40000 invalid dropping st:0&#xA;DTS -230584300921369, next:40000 st:0 invalid dropping&#xA;

    &#xA;

    or

    &#xA;

    [concat @ 0x562531fe6c80] Unsafe file name &#x27;./lago_20210813_2155.png&#x27;&#xA;

    &#xA;

    Could anyone lead me in the right direction, i am desperate.

    &#xA;

    ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)&#xA;  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;

    &#xA;

  • FFMPEG Artwork cover image not set [duplicate]

    16 août 2021, par DP_Dev

    Bellow is my FFMPEG command where is converting video file to audio and also setting artwork, but artwork not setting in audio file. FFMPEG command not giving any error.

    &#xA;

    [-y, -i, input.mp4, -i, artwork.jpg, -ss, 00:00:00.00, -to, 00:00:15.00, -map, 0:1, -map, 1, -vn, -acodec, copy, -metadata, comment=Cover (Front), -id3v2_version, 3, -write_id3v1, 1, output.m4a]

    &#xA;

    I am extracting audio file from video file and adding art cover to audio output file. Output generated in FFmpeg process. Cover of output file is not set and no error in output. :

    &#xA;

    I/ffmpeg-kit: ffmpeg version v4.4-dev-3015-gc0d0b1c4f6&#xA;I/ffmpeg-kit:  Copyright (c) 2000-2021 the FFmpeg developers&#xA;I/ffmpeg-kit:   configuration: --cross-prefix=aarch64-linux-android- --sysroot=/files/android-sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/storage/dark/projects/ffmpeg-kit/prebuilt/android-arm64-lts/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android21-clang --cxx=aarch64-linux-android21-clang&#x2B;&#x2B; --ranlib=aarch64-linux-android-ranlib --strip=aarch64-linux-android-strip --nm=aarch64-linux-android-nm --extra-libs=&#x27;-L/storage/dark/projects/ffmpeg-kit/prebuilt/android-arm64-lts/cpu-features/lib -lndk_compat&#x27; --target-os=android --enable-neon --enable-asm --enable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --disable-static --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-sdl2 --enable-libmp3lame --enable-iconv --enable-libvorbis --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libilbc --enable-libopus --enable-libsoxr --enable-libtwolame --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec&#xA;V/FA: Activity resumed, time: 113363059&#xA;I/ffmpeg-kit:   libavutil      56. 65.100 / 56. 65.100&#xA;I/ffmpeg-kit:   libavcodec     58.123.100 / 58.123.100&#xA;I/ffmpeg-kit:   libavformat    58. 67.100 / 58. 67.100&#xA;I/ffmpeg-kit:   libavdevice    58. 12.100 / 58. 12.100&#xA;I/ffmpeg-kit:   libavfilter     7.106.100 /  7.106.100&#xA;I/ffmpeg-kit:   libswscale      5.  8.100 /  5.  8.100&#xA;I/ffmpeg-kit:   libswresample   3.  8.100 /  3.  8.100&#xA;&#xA;I/ffmpeg-kit: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;input.mp4&#x27;&#xA;I/ffmpeg-kit:   Metadata:&#xA;I/ffmpeg-kit:     major_brand     : &#xA;I/ffmpeg-kit: mp42&#xA;I/ffmpeg-kit:     minor_version   : &#xA;I/ffmpeg-kit: 0&#xA;I/ffmpeg-kit:     compatible_brands: &#xA;I/ffmpeg-kit: isommp42&#xA;I/ffmpeg-kit:     creation_time   : &#xA;I/ffmpeg-kit: 2021-05-30T10:25:09.000000Z&#xA;I/ffmpeg-kit:     com.android.version: &#xA;I/ffmpeg-kit: 10&#xA;I/ffmpeg-kit:   Duration: &#xA;I/ffmpeg-kit: 00:00:51.40&#xA;I/ffmpeg-kit: , start: &#xA;I/ffmpeg-kit: 0.000000&#xA;I/ffmpeg-kit: , bitrate: &#xA;I/ffmpeg-kit: 20306 kb/s&#xA;I/ffmpeg-kit:   Stream #0:0&#xA;I/ffmpeg-kit: (eng)&#xA;I/ffmpeg-kit: : Video: h264 (avc1 / 0x31637661), yuvj420p(pc, bt470bg/bt470bg/smpte170m), 1920x1080, 20084 kb/s&#xA;I/ffmpeg-kit: , SAR 1:1 DAR 16:9&#xA;I/ffmpeg-kit: , &#xA;I/ffmpeg-kit: 30 fps, &#xA;I/ffmpeg-kit: 30 tbr, &#xA;I/ffmpeg-kit: 90k tbn, &#xA;I/ffmpeg-kit: 180k tbc&#xA;I/ffmpeg-kit:  (default)&#xA;I/ffmpeg-kit:     Metadata:&#xA;I/ffmpeg-kit:       rotate          : &#xA;I/ffmpeg-kit: 90&#xA;I/ffmpeg-kit:       creation_time   : &#xA;I/ffmpeg-kit: 2021-05-30T10:25:09.000000Z&#xA;I/ffmpeg-kit:       handler_name    : &#xA;I/ffmpeg-kit: VideoHandle&#xA;I/ffmpeg-kit:       vendor_id       : &#xA;I/ffmpeg-kit: [0][0][0][0]&#xA;I/ffmpeg-kit:     Side data:&#xA;I/ffmpeg-kit:       &#xA;I/ffmpeg-kit: displaymatrix: rotation of -90.00 degrees&#xA;I/ffmpeg-kit:   Stream #0:1&#xA;I/ffmpeg-kit: (eng)&#xA;I/ffmpeg-kit: : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s&#xA;I/ffmpeg-kit:  (default)&#xA;I/ffmpeg-kit:     Metadata:&#xA;I/ffmpeg-kit:       creation_time   : &#xA;I/ffmpeg-kit: 2021-05-30T10:25:09.000000Z&#xA;I/ffmpeg-kit:       handler_name    : &#xA;I/ffmpeg-kit: SoundHandle&#xA;I/ffmpeg-kit:       vendor_id       : &#xA;I/ffmpeg-kit: [0][0][0][0]&#xA;W/turn.videotomp: Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObje&#xA;I/ffmpeg-kit: Input #1, image2, from &#x27;cover.jpg&#x27;&#xA;I/ffmpeg-kit:   Duration: &#xA;I/ffmpeg-kit: 00:00:00.04&#xA;I/ffmpeg-kit: , start: &#xA;I/ffmpeg-kit: 0.000000&#xA;I/ffmpeg-kit: , bitrate: &#xA;I/ffmpeg-kit: 245926 kb/s&#xA;I/ffmpeg-kit:   Stream #1:0&#xA;I/ffmpeg-kit: : Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 2420x3226 &#xA;I/ffmpeg-kit: , &#xA;I/ffmpeg-kit: 25 fps, &#xA;I/ffmpeg-kit: 25 tbr, &#xA;I/ffmpeg-kit: 25 tbn, &#xA;I/ffmpeg-kit: 25 tbc&#xA;I/ffmpeg-kit: Output #0, ipod, to &#x27;output.m4a&#x27;&#xA;I/ffmpeg-kit:   Metadata:&#xA;I/ffmpeg-kit:     major_brand     : &#xA;I/ffmpeg-kit: mp42&#xA;I/ffmpeg-kit:     minor_version   : &#xA;I/ffmpeg-kit: 0&#xA;I/ffmpeg-kit:     compatible_brands: &#xA;I/ffmpeg-kit: isommp42&#xA;I/ffmpeg-kit:     com.android.version: &#xA;I/ffmpeg-kit: 10&#xA;I/ffmpeg-kit:     encoder         : &#xA;I/ffmpeg-kit: Lavf58.67.100&#xA;I/ffmpeg-kit:   Stream #0:0&#xA;I/ffmpeg-kit: (eng)&#xA;I/ffmpeg-kit: : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s&#xA;I/ffmpeg-kit:  (default)&#xA;I/ffmpeg-kit:     Metadata:&#xA;I/ffmpeg-kit:       creation_time   : &#xA;I/ffmpeg-kit: 2021-05-30T10:25:09.000000Z&#xA;I/ffmpeg-kit:       handler_name    : &#xA;I/ffmpeg-kit: SoundHandle&#xA;I/ffmpeg-kit:       vendor_id       : &#xA;I/ffmpeg-kit: [0][0][0][0]&#xA;I/ffmpeg-kit: Stream mapping:&#xA;I/ffmpeg-kit:   Stream #0:1 -> #0:0&#xA;I/ffmpeg-kit:  (copy)&#xA;I/ffmpeg-kit: Press [q] to stop, [?] for help&#xA;I/ffmpeg-kit: size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;&#xA;

    &#xA;

  • Audio on TS File Falls Progressively Out of Sync

    8 août 2021, par Steve Brown

    I would really appreciate some help with this...

    &#xA;

    I have a .ts file I've downloaded from the internet, when I play in Quicktime the video progressively falls behind the audio. It becomes noticeable after a couple of minutes and is a few seconds out after about ten minutes. It plays fine in VLC, but I want to be able to play on my AppleTV which does the same as Quicktime.

    &#xA;

    I've tried everything I can think of to resolve...

    &#xA;

      &#xA;
    • Convert with VLC, which does work, but every few seconds the audio skips.
    • &#xA;

    • Convert with Handbrake, which again works, but every few seconds the audio skips like with VLC.
    • &#xA;

    • Convert with FFMpeg using -async, but I get the same result again with the audio skips.
    • &#xA;

    • Extracted the audio and video to two separate files and recreated a new file with FFMpeg, this makes no difference and is the same as playing the original file.
    • &#xA;

    • Tried "stretching" the audio with FFMpeg using "aresample=async=1000", which synchronises but the audio is distorted.
    • &#xA;

    &#xA;

    I think the audio skips I'm getting from the -async option are caused because the audio is being trimmed to sync with the video. What I want to do is adjust the video to fit with the audio and leave the audio unchanged.

    &#xA;

    I've tried to do this with -vsync, but the the results are the same as the original file. The FFMpeg user guide says the following :

    &#xA;

    With -map you can select from which stream the timestamps should be taken. You can leave either video or audio unchanged and sync the remaining stream(s) to the unchanged one.

    &#xA;

    But I cannot figure out the syntax. This is what I'm trying but the output is the same as the original...

    &#xA;

    ffmpeg -vsync 1 -I test.ts -map 0:1 -map 0:0 -y test.mp4

    &#xA;

    I've tried the above using vsync with 0, 1 and 2, but the result is still the same.

    &#xA;

    Could anyone please help me with the syntax to sync the video stream to the audio stream and leave the audio unchanged ? Or suggest an alternative method I could use ?

    &#xA;

    Any help would be really, really appreciated. Thanks.

    &#xA;

    Here is the ffprobe for test.ts...

    &#xA;

    ffprobe version 4.4 Copyright (c) 2007-2021 the FFmpeg developers&#xA;built with Apple clang version 12.0.0 (clang-1200.0.32.29)&#xA;configuration : —prefix=/usr/local/Cellar/ffmpeg/4.4_1 —enable-shared —enable-pthreads —enable-version3 —enable-avresample —cc=clang —host-cflags= —host-ldflags= —enable-ffplay —enable-gnutls —enable-gpl —enable-libaom —enable-libbluray —enable-libdav1d —enable-libmp3lame —enable-libopus —enable-librav1e —enable-librubberband —enable-libsnappy —enable-libsrt —enable-libtesseract —enable-libtheora —enable-libvidstab —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libxvid —enable-lzma —enable-libfontconfig —enable-libfreetype —enable-frei0r —enable-libass —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libspeex —enable-libsoxr —enable-libzmq —enable-libzimg —disable-libjack —disable-indev=jack —enable-videotoolbox&#xA;libavutil 56. 70.100 / 56. 70.100&#xA;libavcodec 58.134.100 / 58.134.100&#xA;libavformat 58. 76.100 / 58. 76.100&#xA;libavdevice 58. 13.100 / 58. 13.100&#xA;libavfilter 7.110.100 / 7.110.100&#xA;libavresample 4. 0. 0 / 4. 0. 0&#xA;libswscale 5. 9.100 / 5. 9.100&#xA;libswresample 3. 9.100 / 3. 9.100&#xA;libpostproc 55. 9.100 / 55. 9.100&#xA;Input #0, mpegts, from 'TEst.ts' :&#xA;Duration : 02:13:05.51, start : 1.406000, bitrate : 4579 kb/s&#xA;Program 1&#xA;Metadata :&#xA;service_name : Service01&#xA;service_provider : FFmpeg&#xA;Stream #0:0[0x100] : Video : h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080, 23.98 tbr, 90k tbn, 1411200000.00 tbc&#xA;Stream #0:1[0x101] : Audio : aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 195 kb/s

    &#xA;