Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (26)

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

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (3481)

  • ffplay / ffmpeg with audio and video filters

    20 juillet 2018, par user10104150

    i tried to modify a already existing code for ffplay for hours, but I could not get it.
    I could not find a manual for vertical and horizontal stacking parameters. I’m always getting invalid argument errors when I try to adopt it to my needs.
    So I’m asking here for help.

    My idea is based on that : ffplay / ffmpeg setup table with audio and video filters

    The working code that I modified a little but want to modify further without luck is :

    ffplay -f lavfi \
            "amovie=in.mp4,asplit=3[sv][eb][av]; \
             [sv]showvolume=b=4:f=0:ds=log:c=VOLUME:w=720:h=68[sv-v]; \
             [eb]ebur128=video=1:size=720x540:meter=18[eb-v][out1]; \
             [av]avectorscope=s=720x540:zoom=1.3:rc=2:gc=200:bc=10:rf=1:gf=8:bf=7[av-v]; \
             [sv-v][eb-v][av-v]vstack=3[1c]; \
             movie=in.mp4,split=4[v][wf][wfc][vs]; \
             [wf]waveform=m=1:d=0:r=0:c=7[wf-vus]; \
             [wf-vus][v]scale2ref=iw:1220-ih[wf-va][sig]; \
             [wf-va]setsar=1[wf-v]; \
             [wfc]waveform=m=0:d=0:r=0:c=7,scale=610x610,setsar=1[wfc-v]; \
             [vs]vectorscope=m=color3:g=color,scale=610x610,setsar=1[vs-v]; \
             [sig][wf-v]vstack[2c]; \
             [wfc-v][vs-v]vstack[3c]; \
             [1c][2c][3c]hstack=3,scale=1920:-1[out0]"

    I’d like to change it to that style - I’m not yet allowed to post images directly in this question, so I need to link it :

    Link to image how I’d like the layout to be

    I’d like to have the video shown in 1920x1080 (keeping aspect ratio, downscale if necessary).

  • ffmpeg get orientation inverted

    16 novembre 2018, par Faabass

    I getting the resolution for a video, but ffmpeg/ffprobe is getting inverted.. Always the biggest number is the width.

    I mean, it doesn’t matter if I’m getting the resolution of a vertical or horizontal video, I’m always getting for example 640x480 when it should be 480x640. Also I tried with the aspect ratio as 4:3 instead of 3:4

    ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=p=0 original.mp4

    So my question is how I can get the right resolution or at least the orientation I need to know if the video is horizontal or vertical.

    See full response :

    ffprobe -select_streams v:0 -show_entries stream=width,height -of csv=p=0 original.mp4
    ffprobe version N-86781-gd8f1982639-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2007-2017 the FFmpeg developers
     built with gcc 5.4.1 (Debian 5.4.1-11) 20170519
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
     libavutil      55. 67.100 / 55. 67.100
     libavcodec     57.100.104 / 57.100.104
     libavformat    57. 75.100 / 57. 75.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 95.100 /  6. 95.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4ff7e60] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'original.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2018-11-12T22:15:04.000000Z
       com.android.version: 7.0
     Duration: 00:01:10.30, start: 0.000000, bitrate: 9497 kb/s
       Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/smpte170m), 1280x720, 9365 kb/s, SAR 1:1 DAR 16:9, 23.97 fps, 24 tbr, 90k tbn, 180k tbc (default)
       Metadata:
         rotate          : 270
         creation_time   : 2018-11-12T22:15:04.000000Z
         handler_name    : VideoHandle
       Side data:
         displaymatrix: rotation of 90.00 degrees
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         creation_time   : 2018-11-12T22:15:04.000000Z
         handler_name    : SoundHandle
    1280,720

    but this is the appearance of the video
    enter image description here

  • Dynamic video resolution

    4 janvier 2019, par Chen Yang

    I use ffmpeg to encode my mobile phone’s screenshot to a video. when my phone is vertical the screenshot’s resolution is 478 * 850.When horizontal the resolution is 850 * 478. Encoder could handle these image to encoded video frame, and i could play this video by ffplay correctly, i means if resolution change from 478 * 850 => 850 * 478 and it still could display full phone screen. enter image description here enter image description here
    But if i play this video with any other players, it only could play harf of phone screen when frame resolution change from 478 * 850 => 850 => 478.
    enter image description here
    Do you guys know any video format could handle this situation?