Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (105)

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (8371)

  • why is this intel hardware accellerated transcoding in ffmpeg not working ?

    1er avril 2016, par Jabb

    I compiled ffmpeg with intel hardware accelleration, but I cannot transcode the simpsons 720p video from http://www.h264info.com/clips.html with success.

    this is the error I get :

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    and this is the full output from ffmpeg. What could be wrong ?

    root@ubuntu:/tmp# ffmpeg -i test.mp4 -vcodec h264_qsv out1.yuv
    ffmpeg version N-79177-ga677121 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
     configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-libmfx
     libavutil      55. 19.100 / 55. 19.100
     libavcodec     57. 32.100 / 57. 32.100
     libavformat    57. 29.101 / 57. 29.101
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 40.102 /  6. 40.102
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 1
       compatible_brands: isomavc1
       creation_time   : 2007-02-19 05:03:04
     Duration: 00:02:17.30, start: 0.000000, bitrate: 4283 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x544, 4221 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
       Metadata:
         creation_time   : 2007-02-19 05:03:04
         handler_name    : GPAC ISO Video Handler
       Stream #0:1(und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 64 kb/s (default)
       Metadata:
         creation_time   : 2007-02-19 05:03:08
         handler_name    : GPAC ISO Audio Handler
    [h264_qsv @ 0x2f626a0] Error initializing an internal MFX session
    Output #0, rawvideo, to 'out1.yuv':
     Metadata:
       major_brand     : isom
       minor_version   : 1
       compatible_brands: isomavc1
       Stream #0:0(und): Video: h264, none, q=2-31, 128 kb/s, 23.98 fps (default)
       Metadata:
         creation_time   : 2007-02-19 05:03:04
         handler_name    : GPAC ISO Video Handler
         encoder         : Lavc57.32.100 h264_qsv
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • Cropping video with FFmpeg increases the tbn value too much

    5 avril 2016, par TOP

    Here is the information of original video :

    Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2016-04-05 03:00:09
     Duration: 00:01:50.09, start: 0.000000, bitrate: 8131 kb/s
       Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, bt470bg/bt470bg/smpte170m), 1920x1080, 7995 kb/s, SAR 1:1 DAR 16:9, 44.49 fps, 90k tbr, 90k tbn, 180k tbc (default)

    Then I used this ffmpeg command to crop video :

    ffmpeg -i file.mp4 -vf "crop=480:480:0:0" -b:v 2048k -preset ultrafast cropped.mp4

    Here is the information of cropped video :

    Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.28.101
     Duration: 00:01:50.16, start: 0.023220, bitrate: 1078 kb/s
       Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1282x716 [SAR 1:1 DAR 641:358], 1002 kb/s, 44.49 fps, 44.49 tbr, 220455000.00 tbn, 88.98 tbc (default)

    The default video player of my phone cannot play this video. If I use MX Player I have to change the decoder to Software decoder (instead of Hardware) to open it.

    I noticed that the tbn value was increased after reencoding. The old value is 90k. The new value is 220455k. Maybe it is the reason why the default video player doesn’t work.

    Question : why is the tbn value so big ? How to avoid it ?

  • how to compile FFMPEG and merge it to one android ".so" file

    5 avril 2016, par user965347

    i am intereseted to compile the ffmpeg source to android to be invoked with jni as one ".so" last time i tried 0.8 versions but failed it always shows that something is undeclared, i tried all of google examples but it seems doesnt work for me,
    i tried this one

    Link One

    but it seems that the ffmpeg.c is not included with compile , but when i compile it always error, it says that something undeclared, and i cant build this project as one android ".so" file

    i also tried this one,
    Link Two

    but it seems i cant understand.

    i have tried everything , but none of them work ,none of them merge all ".o" , ".so" , ".a" into one ".so" files

    is there any good example in google or somewhere to compile ffmpeg as one ".so" file and have a good downloadable source i can compile ?