Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (71)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (7045)

  • Convert a video file to an image sequence of equal length ?

    1er mars 2017, par Jeremy

    How using FFMPEG do I convert a video file to a sequence of images that is equal in duration/frames to the original video file ?

    I’m trying to import video into the non comercial version of Nuke on Linux which refuses to accept h.264 and doesn’t have handy a list of accepted codecs that I can find...but plays nice with images sequences...but I can’t get the sound to line up with the image sequence.

    I tried getting a look at the framerate with :

    ffprobe -v 0 -of compact=p=0 -select_streams 0 -show_entries stream=r_frame_rate Forest.mp4

    which returns :

    r_frame_rate=30/1

    and then I run

    ffmpeg -i Forest.mp4 -r 30/1 forest/jpegs%06d.jpg
  • Using ffmpeg detect video quality

    30 avril 2020, par Matei Zoc

    How i can detect if video is :

    



    2160p
1440p
1080p
720p
480p
360p
240p


    



    Im using this command to get the video width / height via Linux / PHP :

    



    $Get_Info = shell_exec("ffprobe -v error -select_streams v:0 -show_entries stream=width,height,duration,bit_rate,pix_fmt,codec_name,codec_time_base,codec_tag_string,sample_aspect_ratio,display_aspect_ratio,avg_frame_rate -of default=noprint_wrappers=1 " . $File_Location);


    



    Videos is uploaded on the server

    


  • Manipulate video with ffmpeg without losing quality

    17 août 2016, par TheChymera

    I am rotating a video with ffmpeg with the following code :

    ffmpeg -i nd750_a0040.MOV -vf "transpose=dir=clock, transpose=dir=clock" out.mkv

    The resulting file is almost 10x smaller than the input.
    I have found this question which addresses a related question and suggsts passing to ffmpeg the codec and bitrate obtained from the following :

    bitratev="$(ffmpeg -i "$1" -f null - |& grep video: | awk -F'[:|kB]' '{print $2}')"
    codecv="$(ffprobe -loglevel error -select_streams v:0 -show_entries stream=codec_name -of default=nk=1:nw=1 "$1")"

    however, both of these commands give me the same output for both files : 2643 and h264 respectively.
    Am I correct in assuming that ffmpeg keeps these values the same for the output - by default ?

    However, if I inspect the files with ffmpeg -i I get different bitrate values :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'nd750_a0040.MOV':
     Metadata:
       major_brand     : qt  
       minor_version   : 537331968
       compatible_brands: qt  niko
       creation_time   : 2016-06-18 04:28:03
     Duration: 00:15:40.74, start: 0.000000, bitrate: 11569 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, smpte170m/bt709/bt470m), 1920x1080, 10029 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         creation_time   : 2016-06-18 04:28:03
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
       Metadata:
         creation_time   : 2016-06-18 04:28:03

    and

    Input #0, matroska,webm, from 'out.mkv':
     Metadata:
       COMPATIBLE_BRANDS: qt  niko
       MAJOR_BRAND     : qt  
       MINOR_VERSION   : 537331968
       ENCODER         : Lavf56.40.101
     Duration: 00:15:40.74, start: 0.000000, bitrate: 1445 kb/s
       Stream #0:0(eng): Video: h264 (High), yuvj420p(pc), 1920x1080, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
       Metadata:
         CREATION_TIME   : 2016-06-18 04:28:03
         LANGUAGE        : eng
         ENCODER         : Lavc56.60.100 libx264
         DURATION        : 00:15:40.742000000
       Stream #0:1(eng): Audio: vorbis, 48000 Hz, stereo, fltp (default)
       Metadata:
         CREATION_TIME   : 2016-06-18 04:28:03
         LANGUAGE        : eng
         ENCODER         : Lavc56.60.100 libvorbis
         DURATION        : 00:15:40.743000000

    So I have a few questions :

    • Which bitrate is the correct one for each video ?
    • Is all of the information loss between these two files covered by the bitrate (or does ffmpeg by default change other things that lead to a lower file size as well - if so, what ?) ?
    • How do I make sure nothing else changes but the container format and the rotation ?