Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (64)

  • Les images

    15 mai 2013
  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (8388)

  • avformat/mp3dec : Subtract known padding from duration

    22 août 2023, par Ulrik Mikaelsson
    avformat/mp3dec : Subtract known padding from duration
    

    When an Info-tag is present, marking initial and trailing samples as
    padding, those samples should not be included in the calculation of track
    duration.

    This solves a surprising user experience where converting a WAV->MP3->WAV,
    ffprobe will show the duration of the mp3 as slightly longer than both the
    input and the output.

    As a result, the estimated duration and imprecise seek-results of some
    FATE-tests have been updated.

    • [DH] libavformat/mp3dec.c
    • [DH] tests/ref/fate/gapless-mp3-side-data
    • [DH] tests/ref/seek/extra-mp3
  • With FFMPEG, create thumbnails proportional to the video's ratio [closed]

    28 janvier 2013, par Felipe Schenone

    I'm using the following command to create thumbnails with FFMPEG :

    ffmpeg -itsoffset -1 -i video.avi -vcodec mjpeg -vframes 1 -an -f rawvideo -s 240x180 image.png

    And it works fine. However, when the video isn't 4:3 ratio, it will still create a 240x180 image, and the extra space will be painted black. Is there some variation of the command that will prevent this and give me an image proportional to the video's ratio ? In other words, I want 240x180 to be the maximum size of the thumbnail, but not the minimum.

    Extra points if the command creates a smaller image when the video is smaller than 240x180.

  • FFmpeg On iOS can’t find delogo

    8 mai 2018, par Y.Y.Doe

    I integrated FFmpeg on iOS,and use “delogo” to clean watermark,but it does not work.
    And it logs :

    No such filter:delogo

    I don’t know why,and I need help

    it’s my iOS code to use FFmpeg

    dispatch_async(dispatch_get_global_queue(0, 0), ^{
       char *outPic = (char *)[DocumentPath(@"delogo.mp4") UTF8String];
       char *movie = (char *)[BundlePath(@"logo.mp4") UTF8String];
       char *a[] = {
           "ffmpeg",
           "-i",
           movie,
           "-vf",
           "delogo=x=10:y=10:w=250:h=120:show=1",
           outPic
       };
       ffmpeg_main(sizeof(a)/sizeof(*a),a);
    });

    my total log

    ffmpeg version 3.0 Copyright (c) 2000-2016 the FFmpeg developers
     built with Apple LLVM version 7.3.0 (clang-703.0.31)
     configuration: --target-os=darwin --arch=arm64 --cc='xcrun -sdk iphoneos clang' --enable-cross-compile --disable-debug --disable-programs --disable-doc --enable-pic --extra-cflags='-arch arm64 -mios-version-min=6.0 -fembed-bitcode' --extra-ldflags='-arch arm64 -mios-version-min=6.0 -fembed-bitcode' --prefix=/Users/lxh/Desktop/FFmpeg-iOS-build-script-master/thin/arm64
     WARNING: library configuration mismatch
     avutil      configuration: --target-os=darwin --arch=x86_64 --cc='xcrun -sdk iphonesimulator clang' --enable-cross-compile --disable-debug --disable-programs --disable-doc --enable-pic --extra-cflags='-arch x86_64 -mios-simulator-version-min=6.0' --extra-ldflags='-arch x86_64 -mios-simulator-version-min=6.0' --prefix=/Users/lxh/Desktop/FFmpeg-iOS-build-script-master/thin/x86_64
     avcodec     configuration: --target-os=darwin --arch=x86_64 --cc='xcrun -sdk iphonesimulator clang' --enable-cross-compile --disable-debug --disable-programs --disable-doc --enable-pic --extra-cflags='-arch x86_64 -mios-simulator-version-min=6.0' --extra-ldflags='-arch x86_64 -mios-simulator-version-min=6.0' --prefix=/Users/lxh/Desktop/FFmpeg-iOS-build-script-master/thin/x86_64
     avformat    configuration: --target-os=darwin --arch=x86_64 --cc='xcrun -sdk iphonesimulator clang' --enable-cross-compile --disable-debug --disable-programs --disable-doc --enable-pic --extra-cflags='-arch x86_64 -mios-simulator-version-min=6.0' --extra-ldflags='-arch x86_64 -mios-simulator-version-min=6.0' --prefix=/Users/lxh/Desktop/FFmpeg-iOS-build-script-master/thin/x86_64
     avdevice    configuration: --target-os=darwin --arch=x86_64 --cc='xcrun -sdk iphonesimulator clang' --enable-cross-compile --disable-debug --disable-programs --disable-doc --enable-pic --extra-cflags='-arch x86_64 -mios-simulator-version-min=6.0' --extra-ldflags='-arch x86_64 -mios-simulator-version-min=6.0' --prefix=/Users/lxh/Desktop/FFmpeg-iOS-build-script-master/thin/x86_64
     avfilter    configuration: --target-os=darwin --arch=x86_64 --cc='xcrun -sdk iphonesimulator clang' --enable-cross-compile --disable-debug --disable-programs --disable-doc --enable-pic --extra-cflags='-arch x86_64 -mios-simulator-version-min=6.0' --extra-ldflags='-arch x86_64 -mios-simulator-version-min=6.0' --prefix=/Users/lxh/Desktop/FFmpeg-iOS-build-script-master/thin/x86_64
     swscale     configuration: --target-os=darwin --arch=x86_64 --cc='xcrun -sdk iphonesimulator clang' --enable-cross-compile --disable-debug --disable-programs --disable-doc --enable-pic --extra-cflags='-arch x86_64 -mios-simulator-version-min=6.0' --extra-ldflags='-arch x86_64 -mios-simulator-version-min=6.0' --prefix=/Users/lxh/Desktop/FFmpeg-iOS-build-script-master/thin/x86_64
     swresample  configuration: --target-os=darwin --arch=x86_64 --cc='xcrun -sdk iphonesimulator clang' --enable-cross-compile --disable-debug --disable-programs --disable-doc --enable-pic --extra-cflags='-arch x86_64 -mios-simulator-version-min=6.0' --extra-ldflags='-arch x86_64 -mios-simulator-version-min=6.0' --prefix=/Users/lxh/Desktop/FFmpeg-iOS-build-script-master/thin/x86_64
     libavutil      55. 17.103 / 55. 17.103
     libavcodec     57. 24.102 / 57. 24.102
     libavformat    57. 25.100 / 57. 25.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 31.100 /  6. 31.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/daiyangyang/Library/Developer/CoreSimulator/Devices/02A8BC3F-5E46-453A-A3B4-A42563C518EA/data/Containers/Bundle/Application/4E0BB47F-5D3E-42A3-BC76-2D7D03657870/去水印.app/logo.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2mp41
       encoder         : Lavf57.25.100
     Duration: 00:02:31.37, start: 0.023220, bitrate: 472 kb/s
       Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x352 [SAR 1:1 DAR 20:11], 338 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 129 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    [AVFilterGraph @ 0x7fbabb519e00] No such filter: 'delogo'
    Error opening filters!

    I integrated FFmpeg by "FFmpeg-iOS-build-script"(https://github.com/kewlbear/FFmpeg-iOS-build-script)