Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (86)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

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

Sur d’autres sites (7085)

  • Elastic Transcoder output duration doesnt match with the sum of my Input duration

    28 mars 2019, par auricless

    I have multiple media file to concatenate into a single video file. Composed of different media types including video, audio and image. I use FFMPEG to convert audio and images to a video then finally, will use Elastic Transcoder to stitch/concatenate the video files in a single one. On creating transcoder job, whenever I placed the input video which is originally an image, converted by FFMPEG, to be the last input in order, it shrinks the duration of its exposure in the final output by 5 seconds whenever its original duration is > 5. This happens only with that condition.

    Example :
    (1) video1 - 10s
    (2) image1 - 10s
    (3) video2 - 15s
    (4) image2 - 20s
    output : video - 40s
    (image2’s duration or exposure in the output shrinks to approx. 5s)

    Clearly, the sum of Input duration and the Output duration does not match. It is even explicitly stated on the Job result of elastic transcoder.


    Thought I had a wrong conversion settings in FFMPEG so I changed some options. After some changes and comparing the image converted to video (V1) with an authentic video to stitch with (V2), their settings are almost the same. In this I use ffmpeg -i myVideo.mp4 to check its details. They differ only on SAR, DAR, tbr and tbn and I dont really know what are their use.

    Already checked the duration of the converted images after ffmpeg conversion and it is accurate, it only messed up after feeding it to the elastic transcoder and placed as the last input.

    Here is my conversion command with FFMPEG(image to video) :
    ffmpeg -r 29.97 -i [input.jpg] -f lavfi -i anullsrc=r=48000:cl:stereo -t [duration] -acodec aac -vcodec libx264 -profile:v baseline -pix_fmt yuv420p -t [duration] -vf scale=854:480 -strict -2 [output.mp4]

    The expected result should be that the output file is consistent with the actual duration it has.

    [EDIT]

    Here’s real videos I feed on Elastic Transcoder using ffprobe filename :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'clip2.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.71.100
     Duration: 00:00:10.05, start: 0.042667, bitrate: 476 kb/s
       Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Stream #0:1(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 2136:2135 DAR 89:50], 341 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'image2.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.12.100
     Duration: 00:02:10.03, start: 0.033333, bitrate: 130 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 1943:1004 DAR 829661:240960], 2636 kb/s, SAR 283440:146461 DAR 1181:343, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 128 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
  • FFMPEG zoom-pan multiple images

    19 janvier 2019, par basim

    I am trying to stitch multiple images with some zoom-pan happening on the images to create a video.

    Command :-

    ffmpeg -f lavfi -r 30 -t 10 -i \
    color=#000000:1920x1080 \
    -f lavfi \
    -r 30 -t 10 \
    -i aevalsrc=0 \
    -i "image-1.png" \
    -i "image-2.png" \
    -y -filter_complex \
    "[0:v]fifo[bg];\
    [2:v]setpts=PTS-STARTPTS+0/TB,scale=4455:2506:force_original_aspect_ratio=decrease,zoompan=z='min(zoom+0.0015,2.5)':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':d=150:fps='30':s='1920x1080'[v2];\
    [bg][v2]overlay=0:0:enable='between(t,0, 5)'[bg];\
    [3:v]setpts=PTS-STARTPTS+5.07/TB,scale=3840:2160:force_original_aspect_ratio=decrease,zoompan=z='min(zoom+0.0015,2.5)':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':d=150:fps='30':s='1920x1080'[v3];\
    [bg][v3]overlay=0:0:enable='between(t,5, 10)'[bg];\
    [1:a]amix=inputs=1:duration=first:dropout_transition=0" \
    -map "[bg]" -vcodec "libx264" -preset "veryfast" -crf "15" "output.mp4"

    The output is not as expected, it only zooms only on the first image, the second image is just static.

    FFMPEG version - 4.1

  • Split mixed content into sections by scan type using FFmpeg ?

    7 août 2023, par Vivian

    Trying to deinterlace and detelecine "Star Trek : Voyager" and "Star Trek : Deep Space Nine" NTSC DVD rips made using MakeMKV without changing the total number of frames. The videos are a variable frame rate combination of interlaced, telecined, and progressive frames.

    


    I'd like to be able to convert each episode to a sequence of video clips, split by scan type, so I can then feed those individually into Selur's Hybrid for processing, then stitch them back together and feed the reconstructed video into Topaz Video AI.

    


    Is there a way to use FFmpeg to split a video into sections by scan type, and if so, how ?

    


    I've tried automated handling in Hybrid and HandBrake, but both created artifacts and left unfixed issues as a result of applying filters to frames that didn't need them as well as not applying filters to frames that did.