Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (97)

  • 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 ;

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (16704)

  • Encode video for streaming in Android using FFmpeg

    16 décembre 2013, par Timofey

    UPD : I guess I found the problem. For some reason, 1800x1080 video aren't playing while same vid resized to 800x480 with same set of encoding settings is working just fine.
    So the question is : why I couldn't play video with res. bigger than the size of my screen ?

    I'm trying to build a simple video-streaming app for android.

    For the purpose of testing, I used this video http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4, and it worked fine.

    However I miserably failed trying to prepare my own video for streaming.
    I'm using FFmpeg & libx264 with the following line (last attempt) :

    ffmpeg -i <input /> -c:v libx264 -profile:v baseline -c:a aac -strict experimental <output>
    </output>

    Then I passed the output to qt-faststart, as some people suggested... No effect.

    Here is the output of ffmpeg -i for my video :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#39;bbb_audio_h264.mp4&#39;:
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 2008-05-27 18:40:35
       encoder         : Lavf53.32.100
     Duration: 00:00:10.04, start: 0.000000, bitrate: 5048 kb/s
       Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080, 4605 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc
       Metadata:
         creation_time   : 2008-05-27 18:40:35
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 440 kb/s
       Metadata:
         creation_time   : 2008-05-27 18:40:35
         handler_name    :

    And for the working one :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#39;big_buck_bunny.mp4&#39;:
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp42avc1
       creation_time   : 2010-02-09 01:55:39
     Duration: 00:01:00.09, start: 0.000000, bitrate: 733 kb/s
       Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo, s16, 65 kb/s
       Metadata:
         creation_time   : 2010-02-09 01:55:39
         handler_name    : Apple Sound Media Handler
       Stream #0:1(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360, 612 kb/s, 23.96 fps, 24 tbr, 600 tbn, 1200 tbc
       Metadata:
         creation_time   : 2010-02-09 01:55:39
         handler_name    : Apple Video Media Handler
       Stream #0:2(eng): Data: none (rtp  / 0x20707472)
       Metadata:
         creation_time   : 2010-02-09 01:55:39
         handler_name    : hint media handler
       Stream #0:3(eng): Data: none (rtp  / 0x20707472)
       Metadata:
         creation_time   : 2010-02-09 01:55:39
         handler_name    : hint media handler
  • Change the Sample/Pixel aspect ratio of video with least possible video re-encoding

    27 août 2022, par PiTao

    I need to have some mp4 videos with square sample (pixel) aspect ratio (1:1) i.e. square pixels. However, as ffprobe shows my video has PAR of 59:54.

    &#xA;

    I have tried using this command :

    &#xA;

    ffmpeg  -i in.mp4 -c copy -bsf:v "h264_metadata=sample_aspect_ratio=1/1" out.mp4&#xA;

    &#xA;

    but still the PAR has not changed in my downstream applicaiton or as I checked it with the ffprobe :

    &#xA;

    ffprobe version n5.1 Copyright (c) 2007-2022 the FFmpeg developers&#xA;  built with gcc 12.1.1 (GCC) 20220730&#xA;  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-shared --enable-version3&#xA;  libavutil      57. 28.100 / 57. 28.100&#xA;  libavcodec     59. 37.100 / 59. 37.100&#xA;  libavformat    59. 27.100 / 59. 27.100&#xA;  libavdevice    59.  7.100 / 59.  7.100&#xA;  libavfilter     8. 44.100 /  8. 44.100&#xA;  libswscale      6.  7.100 /  6.  7.100&#xA;  libswresample   4.  7.100 /  4.  7.100&#xA;  libpostproc    56.  6.100 / 56.  6.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;vimeo_11261121.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf59.27.100&#xA;  Duration: 00:00:52.36, start: 0.000000, bitrate: 519 kb/s&#xA;  Stream #0:0[0x1](eng): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p(progressive), 720x576 [SAR 1:1 DAR 5:4], 382 kb/s, SAR 59:54 DAR 295:216, 25 fps, 25 tbr, 12800 tbn (default)&#xA;    Metadata:&#xA;      handler_name    : Apple Video Media Handler&#xA;      vendor_id       : [0][0][0][0]&#xA;  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 130 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : Apple Sound Media Handler&#xA;      vendor_id       : [0][0][0][0]&#xA;

    &#xA;

    If I not mistaken, the ffmpeg only changes the metadata and not the actual PAR. Is it possible to change the PAR (sample aspect ratio) preferably without much re-encoding ?

    &#xA;

  • Why does my webm not work in Unity but others do ?

    5 avril 2019, par UserDude

    Ok Im just trying to play a transparent video in Unity and Im following http://mikebrinkerink.com/2018/04/05/preparing-a-video-with-alpha-channel-for-unity/ and other tutorials.

    Ive tried exporting as ProRes 444 with alpha and as Webm VP8, and using terminal ffmpeg commands. Yet when I drop the video into Unity it loads indefinitely and I have to force quit.

    My file is this : https://drive.google.com/file/d/1RhOvYfeaK1rEaKdlTNcJB9EBpz4xxjvw/view?usp=sharing

    And this one that I downloaded works fine : https://simpl.info/videoalpha/video/dancer1.webm

    Whats the difference/how can I get mine to work ?

    Log :

    ffmpeg -i my_clip_with_alpha.avi -vcodec vp8 -acodec libvorbis -pix_fmt yuva420p -metadata:s:v:0 alpha_mode=”1″ -auto-alt-ref 0 my_vp8_clip_with_alpha.webm​

    as the command (with my clip’s name)

    Then

    built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/skylarthomas/Desktop/INSTRUCTIONS1_00000.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       creation_time   : 2019-03-27T00:19:30.000000Z
     Duration: 00:00:17.05, start: 0.000000, bitrate: 40959 kb/s
       Stream #0:0(eng): Video: prores (ap4h / 0x68347061), yuva444p10le(tv, bt709, progressive), 2215x1773, 40467 kb/s, SAR 1:1 DAR 2215:1773, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
       Metadata:
         creation_time   : 2019-03-27T00:19:30.000000Z
         handler_name    : Apple Video Media Handler
         encoder         : Apple ProRes 4444
         timecode        : 00:00:00:00
       Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
       Metadata:
         creation_time   : 2019-03-27T00:19:30.000000Z
         handler_name    : Time Code Media Handler
         timecode        : 00:00:00:00
    Stream mapping:
     Stream #0:0 -> #0:0 (prores (native) -> vp8 (libvpx))
    Press [q] to stop, [?] for help
    [libvpx @ 0x7fe11701d600] v1.8.0
    Output #0, webm, to 'my_vp8_clip_with_alpha.webm':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       encoder         : Lavf58.20.100
       Stream #0:0(eng): Video: vp8 (libvpx), yuva420p, 2215x1773 [SAR 1:1 DAR 2215:1773], q=-1--1, 200 kb/s, 29.97 fps, 1k tbn, 29.97 tbc (default)
       Metadata:
         creation_time   : 2019-03-27T00:19:30.000000Z
         handler_name    : Apple Video Media Handler
         timecode        : 00:00:00:00
         alpha_mode      : ”1″
         encoder         : Lavc58.35.100 libvpx
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    frame=    2 fps=2.0 q=0.0 size=       1kB time=00:00:00.03 bitrate= 200.7kbits/sframe=    6 fps=3.7 q=0.0 size=       1kB time=00:00:00.16 bitrate=  40.6kbits/sframe=   10 fps=4.5 q=0.0 size=       1kB time=00:00:00.30 bitrate=  22.7kbits/s speedframe=   35 fps=2.9 q=0.0 size=       1kB time=00:00:01.13 bitrate=   6.0kbits/s speed=0.0934x