Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (59)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

Sur d’autres sites (7158)

  • Upload video with Flutter Dio causes memory leak

    22 novembre 2020, par janosdupai

    I try to upload biggest videos to own server, catching the file with php.

    


    Everything works like charm at smaller videos, but the biggest videos (>1GB) causes memory leak and crashes the app, on my testing device (2016 iPad Pro).

    


    In optimal case the videos should be 70-100minutes long, so they are almost everytime bigger then 1GB.

    


    Do you have any solution or idea ?

    


  • Trying to concat 2 videos using FFMPEG in Android command line

    23 mars 2016, par Hero Roma

    I am trying to add a cross fade transitions between 2 videos in my Android application. I have used the Guardian Project to build the ffmpeg library locally. Guardian Project. I was able to do that.
    Now I am trying to implement the cross fade using the StackOverflow answer
    The code is basically something like
    ArrayList cmd = new ArrayList() ;

       cmd.add(mFfmpegBin);
       cmd.add("-i");
       cmd.add(firstFile);
       cmd.add("-i");
       cmd.add(secondFile);
       cmd.add("-f");
       cmd.add("lavfi");
       cmd.add("-i");
       cmd.add("color=black");
       cmd.add("-filter_complex");
       cmd.add("[0:v]format=pix_fmts=yuva420p,fade=t=out:st=4:d=1:alpha=1,setpts=PTS-STARTPTS[va0];[1:v]format=pix_fmts=yuva420p,fade=t=in:st=0:d=1:alpha=1,setpts=PTS-STARTPTS+4/TB[va1];[2:v]scale=960x720,trim=duration=9[over];[over][va0]overlay[over1];[over1][va1]overlay=format=yuv420[outv]");
       cmd.add("-vcodec");
       cmd.add("libx264");
       cmd.add("-map");
       cmd.add("[outv]");
       cmd.add(outputFile);
       execFFMPEG(cmd, sc);

    The error I keep getting is

    Invalid pixel format ’pix_fmts=yuva420p’

    I feel I either the command is incorrect for command line usage or I am not providing the correct filters.

    fc>/data/data/com.User.testapplication/app_bin/ffmpeg -i /storage/emulated/0/Pictures/DayVideos/FIRST_VIDEO.mp4 -i /storage/emulated/0/Pictures/DayVideos/SECOND_VIDEO.mp4 -f lavfi -i color=black -filter_complex [0:v]format=pix_fmts=yuva420p,fade=t=out:st=4:d=1:alpha=1,setpts=PTS-STARTPTS[va0];[1:v]format=pix_fmts=yuva420p,fade=t=in:st=0:d=1:alpha=1,setpts=PTS-STARTPTS+4/TB[va1];[2:v]scale=960x720,trim=duration=9[over];[over][va0]overlay[over1];[over1][va1]overlay=format=yuv420[outv] -vcodec libx264 -map [outv] /storage/emulated/0/Pictures/DayVideos/output.mp4
    fc>WARNING: linker: /data/data/com.User.testapplication/app_bin/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
    fc>ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
    fc>  built on Mar 23 2016 12:12:02 with gcc 4.6 20120106 (prerelease)
    fc>  configuration: --arch=arm --cpu=cortex-a8 --target-os=linux --enable-runtime-cpudetect --prefix=/data/data/info.guardianproject.ffmpeg/app_opt --enable-pic --disable-shared --enable-static --cross-prefix=/home/test/Downloads/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --sysroot=/home/test/Downloads/android-ndk-r8e/platforms/android-14/arch-arm --extra-cflags='-I../x264 -mfloat-abi=softfp -mfpu=neon -fPIE -pie' --extra-ldflags='-L../x264 -fPIE -pie' --enable-version3 --enable-gpl --disable-doc --enable-yasm --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --enable-parsers --enable-protocols --enable-filters --enable-avresample --disable-indevs --enable-indev=lavfi --disable-outdevs --enable-hwaccels --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-network --enable-libx264 --enable-zlib --enable-muxer=md5
    fc>  libavutil      51. 54.100 / 51. 54.100
    fc>  libavcodec     54. 23.100 / 54. 23.100
    fc>  libavformat    54.  6.100 / 54.  6.100
    fc>  libavdevice    54.  0.100 / 54.  0.100
    fc>  libavfilter     2. 77.100 /  2. 77.100
    fc>  libswscale      2.  1.100 /  2.  1.100
    fc>  libswresample   0. 15.100 /  0. 15.100
    fc>  libpostproc    52.  0.100 / 52.  0.100
    fc>Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Pictures/DayVideos/FIRST_VIDEO.mp4':
    fc>  Metadata:
    fc>    major_brand     : isom
    fc>    minor_version   : 0
    fc>    compatible_brands: isomiso2avc1
    fc>    creation_time   : 2016-03-22 19:07:16
    fc>  Duration: 00:00:19.35, start: 0.000000, bitrate: 5253 kb/s
    fc>    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 5252 kb/s, SAR 65536:65536 DAR 16:9, 30.02 fps, 30 tbr, 90k tbn, 180k tbc
    fc>    Metadata:
    fc>      creation_time   : 2016-03-22 19:07:02
    fc>Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Pictures/DayVideos/SECOND_VIDEO.mp4':
    fc>  Metadata:
    fc>    major_brand     : mp42
    fc>    minor_version   : 0
    fc>    compatible_brands: isommp42
    fc>    creation_time   : 2016-03-22 19:07:55
    fc>  Duration: 00:00:17.32, start: 0.000000, bitrate: 5414 kb/s
    fc>    Stream #1:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 5227 kb/s, SAR 65536:65536 DAR 16:9, 30.02 fps, 30.02 tbr, 90k tbn, 180k tbc
    fc>    Metadata:
    fc>      creation_time   : 2016-03-22 19:07:55
    fc>      handler_name    : VideoHandle
    fc>[color @ 0xb8901360] w:320 h:240 r:25/1 color:0x000000ff
    fc>[lavfi @ 0xb88fbb60] Estimating duration from bitrate, this may be inaccurate
    fc>Input #2, lavfi, from 'color=black':
    fc>  Duration: N/A, start: 0.000000, bitrate: N/A
    fc>    Stream #2:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
    fc>[format @ 0xb8901190] Invalid pixel format 'pix_fmts=yuva420p'
    fc>Error initializing filter 'format' with args 'pix_fmts=yuva420p'
    fc>Error configuring filters.

    Thanks !

  • Pausing ffmpeg stream

    22 novembre 2020, par nmnir

    I'm running a client that reads video from a remote web cam :

    


    ffplay rtp://127.0.0.1:1234


    


    Sometimes the web cam stops and after a while it get back on. I need to be able to resume the stream even if the web cam was off for few minutes. Someone already asked that question on ffmpeg mailing list but didn't get any answer.