Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (99)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • ffmpeg android concatenation with different codec [on hold]

    31 mars 2016, par raphwilmes

    I’m trying to concatenate 10 videos, but 5 of them have
    Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 600x976 [SAR 1:1 DAR 75:122], 17 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)

    And the rest have
    Stream #1:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x480x 175 kb/s, SAR 65536:65536 DAR 4:3, 7.69frp, 23.08 tbr, 90k tbn, 15tbc (default)

    And my code is :

    String commandForMerge = "";
    for(int i = 1; i<=numberQuestion;i++){
       commandForMerge += "-i "+toDir+"/image"+i+".mp4 -i "+toDir+"/"+i+".mp4 ";
    }
    String cmd = commandForMerge+"-filter_complex concat=n=10:v=1:a=1 -y "+toDir+"/input.mp4";
    execFFmpegBinaryMerge(cmd);

    Here my fonction :

    private void execFFmpegBinaryMerge(final String command) {
       try {

           ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
               @Override
               public void onFailure(String s) {
               }

               @Override
               public void onSuccess(String s) {
               }

               @Override
               public void onProgress(String s) {
                   txtProcess.setText(txtProcess.getText()+"\n "+s.toString());
               }

               @Override
               public void onStart() {
                   txtProcess.setText("mise en place...");
               }

               @Override
               public void onFinish() {

               }
           });
       } catch (FFmpegCommandAlreadyRunningException e) {
           // do nothing for now
       }
    }

    I use this library : https://github.com/WritingMinds/ffmpeg-android-java

    Edit :

    Now, I’v this : Unable to find a suitable output format for ’[1:v]fps=25,setsar=1,setpts=PTS-STARTPTS[v1] ;’ Invalid Agurment

    My Command is : *ffmpeg -i image1.mp4 -i 1.mp4 -i image2.mp4 -i 2.mp4 -i image3.mp4 -i 3.mp4.mp4 -i image4.mp4 -i 4.mp4 -i image5.mp4 -i .mp4

    - filter-complex
    "[0:v]scale=-1:480,pad=640:0 :(ow-iw)/2,setsar=1,setpts=PTS-STARTPTS[v0] ;
    [1:v]fps=25,setsar=1,setpts=PTS-STARTPTS[v1] ;
    [2:v]scale=-1:480,pad=640:0 :(ow-iw)/2,setsar=1,setpts=PTS-STARTPTS[v2] ;
    [3:v]fps=25,setsar=1,setpts=PTS-STARTPTS[v3] ;
    [4:v]scale=-1:480,pad=640:0 :(ow-iw)/2,setsar=1,setpts=PTS-STARTPTS[v4] ;
    [5:v]fps=25,setsar=1,setpts=PTS-STARTPTS[v5] ;
    [6:v]scale=-1:480,pad=640:0 :(ow-iw)/2,setsar=1,setpts=PTS-STARTPTS[v6] ;
    [7:v]fps=25,setsar=1,setpts=PTS-STARTPTS[v7] ;
    [8:v]scale=-1:480,pad=640:0 :(ow-iw)/2,setsar=1,setpts=PTS-STARTPTS[v8] ;
    [9:v]fps=25,setsar=1,setpts=PTS-STARTPTS[v9] ;"
    ’[v0][0:a][v1][1:a][v2][2:a][v3][3:a][v4][4:a][v5][5:a][v6][6:a][v7][7:a][v8][8:a][v9][9:a]’ concat=n=10:v=1:a=1 -y output.mp4
    *

    Now the "[0:v]scale=-1:480,pad=640:0 :(ow-iw)/2,setsar=1,setpts=PTS-STARTPTS[v0] ;" pass but not the [1:v]fps=25,setsar=1,setpts=PTS-STARTPTS[v1] ;

    output :

    WARINING:linker : /data/data/vrapp_mobile.com.duoquiz2/files/ffmpeg has text relocation. This is wasting memory and is security risk. Please fix.
    ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developpers built on Oct 7 2014 15:08:46 with gcc 4.8 (GCC)
    configuration :—target-os=linux —cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- —arm=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot —enable-pic—enable-libx264 —enable-libass —enable-libfreetype —enable-libfrididi —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcored-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pjg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon —extra-cflags=’-l/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protextor-all -mfpu=neon’ —extra-ldflags=’-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,now -pie’ —extra-libs=’-lpng -lexpat -lm’ —extra-cxxflags =
    libavutil 54. 7.100/54. 7.100
    libavcodec 56 1.100/56. 1.100
    libavformat 56. 4.101/56. 4.101
    libavdevice 56. 0.100/56. 0.100
    libavfilter 5. 1.100/5. 1.100
    libswscale 3. 0.100/3. 0.100
    libswresample 1. 1.100/1. 1.100
    libpostproc 53. 0.100/53. 0.100
    Input #0,mov,mp4,m4a,3gp,mj2, from ’/storage/emulated/0/DuoQuiz/image1.mp4’ :
    Metadata :
    major_brand :isom
    minor_version :512
    compatible_brands:isomiso2avc1mp41
    encoder :Lavf56.4.101
    Duration : 00:00:02.40, start : 0.023021 , bitrate : 334 kb/s
    Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 600x976 [SAR 1:1 DAR 75:122], 17 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata :
    handler_name : VideoHandler
    Stream #0:1(und) : Audio.mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 320 kb/s (default)
    Metadata :
    handler_name :SoundHandler
    Input #1,mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DuoQuiz/1.mp4’ :
    Metadata :
    major_brand :isom
    minor_version :0
    compatible_brands:isom3gp4
    creation_time :2016-03-21 16:05:25
    Duration : 00:00:02.73, start : 0.000000, bitrate : 229 kb/s
    Stream #1:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x480x 175 kb/s, SAR 65536:65536 DAR 4:3, 7.69frp, 23.08 tbr, 90k tbn, 15tbc (default)
    Metadata :
    rotate :270
    creation_time :2016-03-21 16:05:25
    handler_name :VideoHandle
    Side data :
    displaymatrix : rotation of 90.00 degrees
    Stream #1:1(eng) : Audio : aac (mp4a / 0x6134706D),44100 Hz, mono, fltp, 49 kb/s (default)
    Metadata :
    creation_time :2016-03-21 16:05:25
    handler_name :SoundHandle
    Input #2,mov,mp4,m4a,3gp,mj2, from ’/storage/emulated/0/DuoQuiz/image2.mp4’ :
    Metadata :
    major_brand :isom
    minor_version :512
    compatible_brands:isomiso2avc1mp41
    encoder :Lavf56.4.101
    Duration : 00:00:02.40, start : 0.023021 , bitrate : 334 kb/s
    Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 600x976 [SAR 1:1 DAR 75:122], 17 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata :
    handler_name : VideoHandler
    Stream #0:1(und) : Audio.mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 320 kb/s (default)
    Metadata :
    handler_name :SoundHandler
    Input #3,mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DuoQuiz/2.mp4’ :
    Metadata :
    major_brand :isom
    minor_version :0
    compatible_brands:isom3gp4
    creation_time :2016-03-21 16:05:25
    Duration : 00:00:02.73, start : 0.000000, bitrate : 229 kb/s
    Stream #1:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x480x 175 kb/s, SAR 65536:65536 DAR 4:3, 7.69frp, 23.08 tbr, 90k tbn, 15tbc (default)
    Metadata :
    rotate :270
    creation_time :2016-03-21 16:05:25
    handler_name :VideoHandle
    Side data :
    displaymatrix : rotation of 90.00 degrees
    Stream #1:1(eng) : Audio : aac (mp4a / 0x6134706D),44100 Hz, mono, fltp, 49 kb/s (default)
    Metadata :
    creation_time :2016-03-21 16:05:25
    handler_name :SoundHandle
    Input #4,mov,mp4,m4a,3gp,mj2, from ’/storage/emulated/0/DuoQuiz/image3.mp4’ :
    Metadata :
    major_brand :isom
    minor_version :512
    compatible_brands:isomiso2avc1mp41
    encoder :Lavf56.4.101
    Duration : 00:00:02.40, start : 0.023021 , bitrate : 334 kb/s
    Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 600x976 [SAR 1:1 DAR 75:122], 17 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata :
    handler_name : VideoHandler
    Stream #0:1(und) : Audio.mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 320 kb/s (default)
    Metadata :
    handler_name :SoundHandler
    Input #5,mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DuoQuiz/3.mp4’ :
    Metadata :
    major_brand :isom
    minor_version :0
    compatible_brands:isom3gp4
    creation_time :2016-03-21
    Duration : 00:00:02.73, start : 0.000000, bitrate : 229 kb/s
    Stream #1:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x480x 175 kb/s, SAR 65536:65536 DAR 4:3, 7.69frp, 23.08 tbr, 90k tbn, 15tbc (default)
    Metadata :
    rotate :270
    creation_time :2016-03-2116:05:25
    handler_name :VideoHandle
    Side data :
    displaymatrix : rotation of 90.00 degrees
    Stream #1:1(eng) : Audio : aac (mp4a / 0x6134706D),44100 Hz, mono, fltp, 49 kb/s (default)
    Metadata :
    creation_time :2016-03-21 16:05:25
    handler_name :SoundHandle
    Input #6,mov,mp4,m4a,3gp,mj2, from ’/storage/emulated/0/DuoQuiz/image4.mp4’ :
    Metadata :
    major_brand :isom
    minor_version :512
    compatible_brands:isomiso2avc1mp41
    encoder :Lavf56.4.101
    Duration : 00:00:02.40, start : 0.023021 , bitrate : 334 kb/s
    Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 600x976 [SAR 1:1 DAR 75:122], 17 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata :
    handler_name : VideoHandler
    Stream #0:1(und) : Audio.mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 320 kb/s (default)
    Metadata :
    handler_name :SoundHandler
    Input #7,mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DuoQuiz/4.mp4’ :
    Metadata :
    major_brand :isom
    minor_version :0
    compatible_brands:isom3gp4
    creation_time :2016-03-21
    Duration : 00:00:02.73, start : 0.000000, bitrate : 229 kb/s
    Stream #1:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x480x 175 kb/s, SAR 65536:65536 DAR 4:3, 7.69frp, 23.08 tbr, 90k tbn, 15tbc (default)
    Metadata :
    rotate :270
    creation_time :2016-03-2116:05:25
    handler_name :VideoHandle
    Side data :
    displaymatrix : rotation of 90.00 degrees
    Stream #1:1(eng) : Audio : aac (mp4a / 0x6134706D),44100 Hz, mono, fltp, 49 kb/s (default)
    Metadata :
    creation_time :2016-03-21 16:05:25
    handler_name :SoundHandle
    Input #8,mov,mp4,m4a,3gp,mj2, from ’/storage/emulated/0/DuoQuiz/image5.mp4’ :
    Metadata :
    major_brand :isom
    minor_version :512
    compatible_brands:isomiso2avc1mp41
    encoder :Lavf56.4.101
    Duration : 00:00:02.40, start : 0.023021 , bitrate : 334 kb/s
    Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 600x976 [SAR 1:1 DAR 75:122], 17 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata :
    handler_name : VideoHandler
    Stream #0:1(und) : Audio.mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 320 kb/s (default)
    Metadata :
    handler_name :SoundHandler
    Input #9,mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DuoQuiz/5.mp4’ :
    Metadata :
    major_brand :isom
    minor_version :0
    compatible_brands:isom3gp4
    creation_time :2016-03-21
    Duration : 00:00:02.73, start : 0.000000, bitrate : 229 kb/s
    Stream #1:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x480x 175 kb/s, SAR 65536:65536 DAR 4:3, 7.69frp, 23.08 tbr, 90k tbn, 15tbc (default)
    Metadata :
    rotate :270
    creation_time :2016-03-2116:05:25
    handler_name :VideoHandle
    Side data :
    displaymatrix : rotation of 90.00 degrees
    Stream #1:1(eng) : Audio : aac (mp4a / 0x6134706D),44100 Hz, mono, fltp, 49 kb/s (default)
    Metadata :
    creation_time :2016-03-21 16:05:25
    handler_name :SoundHandle
    [AVFilterGraph @ 0x2b5b2e10] No such filter : ""
    Error configuring filter
    *

    On my computer, i try this command :

    -i image1.mp4 -i 1.mp4 -i image2.mp4 -i 2.mp4 -i image3.mp4 -i 3.mp4 -i image4.mp4 -i 4.mp4 -i image5.mp4 -i 5.mp4 -filter_complex "[0:v]scale=-1:480,pad=640:0:(ow-iw)/2,setsar=1,setpts=PTS-STARTPTS[v0]; [1:v]fps=25,setsar=1,setpts=PTS-STARTPTS[v1]; [2:v]scale=-1:480,pad=640:0:(ow-iw)/2,setsar=1,setpts=PTS-STARTPTS[v2]; [3:v]fps=25,setsar=1,setpts=PTS-STARTPTS[v3]; [4:v]scale=-1:480,pad=640:0:(ow-iw)/2,setsar=1,setpts=PTS-STARTPTS[v4]; [5:v]fps=25,setsar=1,setpts=PTS-STARTPTS[v5]; [6:v]scale=-1:480,pad=640:0:(ow-iw)/2,setsar=1,setpts=PTS-STARTPTS[v6]; [7:v]fps=25,setsar=1,setpts=PTS-STARTPTS[v7]; [8:v]scale=-1:480,pad=640:0:(ow-iw)/2,setsar=1,setpts=PTS-STARTPTS[v8]; [9:v]fps=25,setsar=1,setpts=PTS-STARTPTS[v9]; [v0][0:a][v1][1:a][v2][2:a][v3][3:a][v4][4:a][v5][5:a][v6][6:a][v7][7:a][v8][8:a][v9][9:a] concat=n=10:v=1:a=1" -y output.mp4

    That’s ok on my PC but not on my Android

  • Anomalie #3756 : Plan du site de l’espace privé

    22 mars 2016

    Je reproduis le bug.

    Apparemment cela vient de l’objet Local Storage jstree.
    Tant qu’il n’est pas présent ou au premier chargement, le clic sur le lien ne renvoie à rien

    Après si on revient sur la page, jstree est défini et le comportement est normal. (clic sur lien fonctionnel)

  • add custom date on video with ffmpeg android

    14 avril 2016, par val_cher

    I used this command for current time "drawtext=fontsize=60:fontfile=/storage/emulated/0/Roboto-Regular.ttf:fontcolor=white:text=’%localtime’:x=0:y=h/2-ascent"
    but it shows encoded time start from current
    And i want video duration from custom date time