Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (48)

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (5550)

  • PHP code not proceeding to the line after exec ffmpeg

    5 avril 2014, par Sel

    I have this PHP snippet that I call through curl, in order to perform an ffmpeg encoding. I also have another line afterwards that marks this as having been done, using a database. I want this to trigger after the exec finished, which would imply that the file has finished encoding. However, the database is never actually changed (works if I try commenting out the exec) and I can't get a good gauge of when the file is done encoding. The database only changes when you run ANOTHER request on top of this one. Code below.

    $ID=$_POST['ID'];

    exec("/usr/local/bin/ffmpeg -i stockvideos/Intro2.m2v -f image2 -loop 1 -r 24 -i temppics/Intro2pic".$ID.".png -filter_complex \
    '[1:v]fade=in:st=0:d=1:alpha=1,fade=out:st=3:d=1:alpha=1[2wm];
    [0:v][wm]overlay=10:10[outv]' \
    -map [outv] -q 0 tempvideos/Intro2-".$ID.".m2v  >> 1.log 2>&1");

    $query_CreditVideoDone  =sprintf("Update Messages SET CreditTitlesDone=%s WHERE ID=%s", GetSQLValueString(1, "boolean"),GetSQLValueString($ID, "text"));

    $result = mysql_query($query_CreditVideoDone, $MMixer) or die(mysql_error());

    UPDATE : When I check the log (>2), it seems FFMPEG continues running even after the process is finished.

    frame= 4 fps=0.0 q=0.0 size= 103kB time=00:00:00.06 bitrate=12619.2kbits/s
    frame= 12 fps= 12 q=0.0 size= 562kB time=00:00:00.33 bitrate=13806.6kbits/s
    frame= 21 fps= 14 q=0.0 size= 1339kB time=00:00:00.63 bitrate=17307.1kbits/s
    frame= 29 fps= 14 q=0.0 size= 1682kB time=00:00:00.90 bitrate=15291.9kbits/s
    frame= 38 fps= 15 q=0.0 size= 2081kB time=00:00:01.20 bitrate=14192.5kbits/s
    frame= 51 fps= 16 q=0.0 size= 2677kB time=00:00:01.63 bitrate=13415.4kbits/s
    frame= 58 fps= 16 q=0.0 size= 2939kB time=00:00:01.86 bitrate=12884.0kbits/s
    frame= 66 fps= 16 q=0.0 size= 3338kB time=00:00:02.13 bitrate=12803.8kbits/s
    frame= 74 fps= 16 q=0.0 size= 3724kB time=00:00:02.40 bitrate=12700.2kbits/s
    frame= 82 fps= 16 q=0.0 size= 4012kB time=00:00:02.66 bitrate=12311.5kbits/s
    frame= 92 fps= 16 q=0.0 size= 4483kB time=00:00:03.00 bitrate=12229.7kbits/s
    frame= 102 fps= 16 q=0.0 size= 4951kB time=00:00:03.33 bitrate=12154.5kbits/s
    frame= 111 fps= 16 q=0.0 size= 5384kB time=00:00:03.63 bitrate=12126.7kbits/s
    frame= 118 fps= 16 q=0.0 size= 5622kB time=00:00:03.87 bitrate=11900.0kbits/s
    frame= 127 fps= 16 q=0.0 size= 6042kB time=00:00:04.17 bitrate=11867.2kbits/s
    frame= 138 fps= 16 q=0.0 size= 6550kB time=00:00:04.53 bitrate=11823.8kbits/s
    frame= 149 fps= 17 q=0.0 size= 7043kB time=00:00:04.90 bitrate=11763.8kbits/s
    frame= 157 fps= 17 q=0.0 size= 7338kB time=00:00:05.17 bitrate=11622.8kbits/s
    frame= 167 fps= 17 q=0.0 size= 7807kB time=00:00:05.50 bitrate=11616.5kbits/s
    frame= 176 fps= 17 q=0.0 size= 8215kB time=00:00:05.80 bitrate=11591.7kbits/s
    frame= 186 fps= 17 q=0.0 size= 8667kB time=00:00:06.13 bitrate=11564.4kbits/s
    frame= 196 fps= 17 q=0.0 size= 9254kB time=00:00:06.47 bitrate=11710.7kbits/s
    frame= 203 fps= 17 q=0.0 size= 9794kB time=00:00:06.70 bitrate=11962.6kbits/s
    frame= 211 fps= 17 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=3
    frame= 211 fps= 16 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=13
    frame= 211 fps= 15 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=28
    frame= 211 fps= 15 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=41
    frame= 211 fps= 14 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=57
    frame= 211 fps= 14 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=73
    frame= 211 fps= 13 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=89
    frame= 211 fps= 13 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=98
    frame= 211 fps= 13 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=107
    frame= 211 fps= 12 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=115
    frame= 211 fps= 12 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=126
    frame= 211 fps= 11 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=138
    frame= 211 fps= 11 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=153
    frame= 211 fps= 11 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=169
    frame= 211 fps= 11 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=183
    frame= 211 fps= 10 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=194
    frame= 211 fps= 10 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=203
    frame= 211 fps=9.8 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=214
    frame= 211 fps=9.6 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=224
    frame= 211 fps=9.4 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=233
    frame= 211 fps=9.1 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=242
    frame= 211 fps=8.9 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=251
    frame= 211 fps=8.7 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=260
    frame= 211 fps=8.6 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=269
    frame= 211 fps=8.4 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=278
    frame= 211 fps=8.2 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=289
    frame= 211 fps=8.0 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=303
    frame= 211 fps=7.9 q=0.0 size= 10135kB time=00:00:06.97 bitrate=11905.1kbits/s dup=0 drop=315....

    And so on until it times out on the server. Any idea why this happens ? It seems to prevent execution from anything after it. Redirecting to dev/null doesn't help either - there is no error output of course but the process is still hanging the same way.

    Any help would be appreciated. Thanks !

    Thanks !

    Sel

  • lavfi : Always propagate hw_frames_ctx through links

    25 octobre 2016, par Mark Thompson
    lavfi : Always propagate hw_frames_ctx through links
    

    Also adds a new flag to mark filters which are aware of hwframes and
    will perform this task themselves, and marks all appropriate filters
    with this flag.

    This is required to allow software-mapped hardware frames to work,
    because we need to have the frames context available for any later
    mapping operation in the filter graph.

    The output from the filter graph should only propagate further to an
    encoder if the hardware format actually matches the visible format
    (mapped frames are valid here and have an hw_frames_ctx, but this
    should not be given to the encoder as its hardware context).

    • [DBH] avconv.c
    • [DBH] libavfilter/avfilter.c
    • [DBH] libavfilter/avfilter.h
    • [DBH] libavfilter/internal.h
    • [DBH] libavfilter/vf_deinterlace_qsv.c
    • [DBH] libavfilter/vf_hwdownload.c
    • [DBH] libavfilter/vf_hwupload.c
    • [DBH] libavfilter/vf_hwupload_cuda.c
    • [DBH] libavfilter/vf_scale_npp.c
    • [DBH] libavfilter/vf_scale_qsv.c
    • [DBH] libavfilter/vf_scale_vaapi.c
  • FFMPeg stuck while processing a video

    15 juin 2017, par Muhammad Umar

    I am trying to add slow motion to an FFMPEG video in android

    On my terminal original query i use is

    ffmpeg -i soon.mp4 -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" output.mp4

    Here is my code in android,

       String cmd = "/data/data/PACKAGE_NAME/files/ffmpeg -i "+ videoFileName +" -filter_complex [0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a] -map [v] -map [a] " + file.getAbsolutePath();

    In Android , i have only removed quotation marks since ffmpeg is not recognising these.

    When i exceute FFMPEG,
    following happens

    configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/i686-linux-android- --arch=x86 --cpu=i686 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/x86 --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    06-15 22:07:01.340 11866-11866/PACKAGE_NAME D/WRITING::   libavutil      55. 17.103 / 55. 17.103
    06-15 22:07:01.720 11866-11866/PACKAGE_NAME D/WRITING::   libavcodec     57. 24.102 / 57. 24.102
    06-15 22:07:02.100 11866-11866/PACKAGE_NAME D/WRITING::   libavformat    57. 25.100 / 57. 25.100
    06-15 22:07:02.510 11866-11866/PACKAGE_NAME D/WRITING::   libavdevice    57.  0.101 / 57.  0.101
    06-15 22:07:02.900 11866-11866/PACKAGE_NAME D/WRITING::   libavfilter     6. 31.100 /  6. 31.100
    06-15 22:07:03.290 11866-11866/PACKAGE_NAME D/WRITING::   libswscale      4.  0.100 /  4.  0.100
    06-15 22:07:03.620 11866-11866/PACKAGE_NAME D/WRITING::   libswresample   2.  0.101 /  2.  0.101
    06-15 22:07:03.980 11866-11866/PACKAGE_NAME D/WRITING::   libpostproc    54.  0.100 / 54.  0.100
    06-15 22:07:04.320 11866-11866/PACKAGE_NAME D/WRITING:: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/DCIM/Camera/V_20170204_181009.mp4':
    06-15 22:07:04.720 11866-11866/PACKAGE_NAME D/WRITING::   Metadata:
    06-15 22:07:05.050 11866-11866/PACKAGE_NAME D/WRITING::     major_brand     : isom
    06-15 22:07:05.450 11866-11866/PACKAGE_NAME D/WRITING::     minor_version   : 0
    06-15 22:07:05.860 11866-11866/PACKAGE_NAME D/WRITING::     compatible_brands: isom3gp4
    06-15 22:07:05.870 230-230/? E/ia_watchdog: Refreshing Watchdog Timers
    06-15 22:07:06.240 11866-11866/PACKAGE_NAME D/WRITING::     creation_time   : 2017-02-04 13:10:13
    06-15 22:07:06.850 11866-11866/PACKAGE_NAME D/WRITING::   Duration: 00:00:02.82, start: 0.000000, bitrate: 12760 kb/s
    06-15 22:07:07.240 11866-11866/PACKAGE_NAME D/WRITING::     Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 12344 kb/s, SAR 1:1 DAR 16:9, 24.19 fps, 23.92 tbr, 90k tbn, 60 tbc (default)
    06-15 22:07:07.620 11866-11866/PACKAGE_NAME D/WRITING::     Metadata:
    06-15 22:07:07.990 11866-11866/PACKAGE_NAME D/WRITING::       rotate          : 90
    06-15 22:07:08.400 11866-11866/PACKAGE_NAME D/WRITING::       creation_time   : 2017-02-04 13:10:13
    06-15 22:07:08.870 11866-11866/PACKAGE_NAME D/WRITING::       handler_name    : VideoHandle
    06-15 22:07:09.880 11866-11866/PACKAGE_NAME D/WRITING::     Side data:
    06-15 22:07:10.530 11866-11866/PACKAGE_NAME D/WRITING::       displaymatrix: rotation of -90.00 degrees
    06-15 22:07:11.000 11866-11866/PACKAGE_NAME D/WRITING::     Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 191 kb/s (default)
    06-15 22:07:11.530 11866-11866/PACKAGE_NAME D/WRITING::     Metadata:
    06-15 22:07:12.120 11866-11866/PACKAGE_NAME D/WRITING::       creation_time   : 2017-02-04 13:10:13
    06-15 22:07:12.620 11866-11866/PACKAGE_NAME D/WRITING::       handler_name    : SoundHandle

    After that nothing happens, FFMPEG seems like stuck in oblivion. Any ideas what could be wrong