Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (61)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (7243)

  • ffmpeg build error looks tmp file creat fail ?

    19 janvier 2017, par user998953
    ./configure --target-os=android --prefix=$PREFIX \
     --enable-cross-compile --enable-runtime-cpudetect --disable-asm --arch=arm \
     --cc=$PREBUILT/linux-x86_64/bin/arm-linux-androideabi-gcc \
     --cross-prefix=$PREBUILT/linux-x86_64/bin/arm-linux-androideabi- \
     --disable-stripping --nm=$PREBUILT/linux-x86_64/bin/arm-linux-androideabi-nm --sysroot=$PLATFORM --enable-gpl --enable-shared --disable-static --enable-small  --disable-ffprobe --disable-ffplay --disable-ffmpeg --disable-ffserver --disable-debug --extra-cflags="-fPIC -DANDROID -D__thumb__ -mthumb -Wfatal-errors -Wno-deprecated -mfloat-abi=softfp -marm -march=armv7-a"

    this is out put log :

    Makefile:2: config.mak: 没有那个文件或目录
    Makefile:67: /common.mak: 没有那个文件或目录
    Makefile:109: /libavutil/Makefile: 没有那个文件或目录
    Makefile:109: /library.mak: 没有那个文件或目录
    Makefile:111: /doc/Makefile: 没有那个文件或目录
    Makefile:198: /tests/Makefile: 没有那个文件或目录
    make: *** No rule to make target '/tests/Makefile'。 停止。
    /opt/android/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc is unable to create an executable file.
    C compiler test failed.

    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solve the problem.

    but my gcc path works fine

    /opt/android/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
    arm-linux-androideabi-gcc : fatal error : no input files
    compilation terminated.

    I seems the temp file not create ,I can’t find temp file in /tmp

    this is end of config.log file :

    dition: defined __ARM_ARCH_6T2__ || defined __TARGET_ARCH_6T2"
     ^
    compilation terminated due to -Wfatal-errors.
    check_cpp_condition stddef.h defined __ARM_ARCH_7__ || defined __TARGET_ARCH_7
    check_cpp
    BEGIN /tmp/ffconf.FHwGDPbC.c
       1   #include
       2   #if !(defined __ARM_ARCH_7__ || defined __TARGET_ARCH_7)
       3   #error "unsatisfied condition: defined __ARM_ARCH_7__ || defined __TARGET_ARCH_7"
       4   #endif
    END /tmp/ffconf.FHwGDPbC.c
    /opt/android/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/opt/android/android-sdk-linux/ndk-bundle/platforms/android-arm -isysroot /opt/android/android-sdk-linux/ndk-bundle/platforms/android-arm -fPIC -DANDROID -D__thumb__ -mthumb -Wfatal-errors -Wno-deprecated -mfloat-abi=softfp -marm -march=armv7-a -E -o /tmp/ffconf.csA8Jm6F.o /tmp/ffconf.FHwGDPbC.c
    /tmp/ffconf.FHwGDPbC.c:3:2: error: #error "unsatisfied condition: defined __ARM_ARCH_7__ || defined __TARGET_ARCH_7"
    #error "unsatisfied condition: defined __ARM_ARCH_7__ || defined __TARGET_ARCH_7"
     ^
    compilation terminated due to -Wfatal-errors.
    check_cpp_condition stddef.h defined __ARM_ARCH_7A__ || defined __TARGET_ARCH_7_A
    check_cpp
    BEGIN /tmp/ffconf.FHwGDPbC.c
       1   #include
       2   #if !(defined __ARM_ARCH_7A__ || defined __TARGET_ARCH_7_A)
       3   #error "unsatisfied condition: defined __ARM_ARCH_7A__ || defined __TARGET_ARCH_7_A"
       4   #endif
    END /tmp/ffconf.FHwGDPbC.c
    /opt/android/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/opt/android/android-sdk-linux/ndk-bundle/platforms/android-arm -isysroot /opt/android/android-sdk-linux/ndk-bundle/platforms/android-arm -fPIC -DANDROID -D__thumb__ -mthumb -Wfatal-errors -Wno-deprecated -mfloat-abi=softfp -marm -march=armv7-a -E -o /tmp/ffconf.csA8Jm6F.o /tmp/ffconf.FHwGDPbC.c
    check_ld cc
    check_cc
    BEGIN /tmp/ffconf.FHwGDPbC.c
       1   int main(void){ return 0; }
    END /tmp/ffconf.FHwGDPbC.c
    /opt/android/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/opt/android/android-sdk-linux/ndk-bundle/platforms/android-arm -isysroot /opt/android/android-sdk-linux/ndk-bundle/platforms/android-arm -fPIC -DANDROID -D__thumb__ -mthumb -Wfatal-errors -Wno-deprecated -mfloat-abi=softfp -marm -march=armv7-a -march=armv7-a -c -o /tmp/ffconf.csA8Jm6F.o /tmp/ffconf.FHwGDPbC.c
    /opt/android/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/opt/android/android-sdk-linux/ndk-bundle/platforms/android-arm -isysroot /opt/android/android-sdk-linux/ndk-bundle/platforms/android-arm -march=armv7-a -o /tmp/ffconf.fjKb0Qb0 /tmp/ffconf.csA8Jm6F.o
    /opt/android/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory
    /opt/android/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_android.o: No such file or directory
    /opt/android/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc
    /opt/android/android-sdk-linux/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl
    collect2: error: ld returned 1 exit status
    C compiler test failed.
  • FFMPEG image to video showing blank video

    18 avril 2017, par Ravi Rupareliya

    Here is my command to create a video from multiple images.

    File f = new File(Environment.getExternalStorageDirectory() + "/abc.mp4");

    try {
       f.createNewFile();
       ffmpeg.execute(new String[]{"-y","-r","1/5","-i","" + "/" + "image%01d.jpg","-pix_fmt","yuv420p","-c:v","libx264","-crf","23","-s","640x480",f.getPath()}, listener);
    } catch (Exception e) {
       e.printStackTrace();
    }

    I have multiple images available at with having names like image1.jpg, image2.jpg etc etc.

    It is creating video file with some 100-200 KB but it showing blank images in VLC player.

    When i try to run it with Windows Media Player, it only runs if it is in repeat mode from player, otherwise it is not playing.

    Output in onSuccess()

    [ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.8 (GCC)
    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=
    libavutil      55. 17.103 / 55. 17.103
    libavcodec     57. 24.102 / 57. 24.102
    libavformat    57. 25.100 / 57. 25.100
    libavdevice    57.  0.101 / 57.  0.101
    libavfilter     6. 31.100 /  6. 31.100
    libswscale      4.  0.100 /  4.  0.100
    libswresample   2.  0.101 /  2.  0.101
    libpostproc    54.  0.100 / 54.  0.100
    [mjpeg @ 0xb97270a0] Changing bps to 8
    Input #0, image2, from '/storage/emulated/0/Download/image%01d.jpg':
    Duration: 00:00:00.08, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 464x317 [SAR 1:1 DAR 464:317], 25 tbr, 25 tbn, 25 tbc
    [swscaler @ 0xb9741480] deprecated pixel format used, make sure you did set range correctly
    [libx264 @ 0xb97287c0] using SAR=348/317
    [libx264 @ 0xb97287c0] using cpu capabilities: none!
    [libx264 @ 0xb97287c0] profile High, level 2.2
    [libx264 @ 0xb97287c0] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/storage/emulated/0/abc.mp4':
    Metadata:
    encoder         : Lavf57.25.100
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x480 [SAR 348:317 DAR 464:317], q=-1--1, 0.20 fps, 16384 tbn, 0.20 tbc
    Metadata:
    encoder         : Lavc57.24.102 libx264
    Side data:
    unknown side data type 10 (24 bytes)
    Stream mapping:
    Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    Input stream #0:0 frame changed from size:464x317 fmt:yuvj420p to size:313x470 fmt:yuvj420p
    [swscaler @ 0xb9752fc0] deprecated pixel format used, make sure you did set range correctly
    frame=    2 fps=0.0 q=-1.0 Lsize=      64kB time=00:00:10.00 bitrate=  52.4kbits/s speed=34.3x    
    video:63kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.310563%
    [libx264 @ 0xb97287c0] frame I:1     Avg QP:14.14  size: 23785
    [libx264 @ 0xb97287c0] frame P:1     Avg QP:17.01  size: 40246
    [libx264 @ 0xb97287c0] mb I  I16..4:  3.3% 82.2% 14.4%
    [libx264 @ 0xb97287c0] mb P  I16..4:  2.0% 88.1%  9.9%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip: 0.0%
    [libx264 @ 0xb97287c0] 8x8 transform intra:85.2%
    [libx264 @ 0xb97287c0] coded y,uvDC,uvAC intra: 93.3% 82.2% 71.0%
    [libx264 @ 0xb97287c0] i16 v,h,dc,p:  5%  3%  3% 89%
    [libx264 @ 0xb97287c0] i8 v,h,dc,ddl,ddr,vr,
  • How can I change a video frame rate with FFmpeg, lossless and keeping the same total number of frames ?

    28 novembre 2019, par Nuno

    I’ve been searching for an answer here on Stack Overflow and googling everywhere... even though it seems like it should be a very simple command line to me, I just can’t find an answer anywhere.

    I would like to change the frame rate of a video from 23.976fps to 24fps with FFmpeg, lossless and keeping the total number of frames.

    To make it simpler :

    Let’s say I have a 25fps video with a total lenght of 100 frames.

    How can I change it’s frame rate to 50fps, with FFmpeg, lossless and keeping the same total lenght of 100 frames ?

    This was so far the best solution I came across with (which can be found here) :

    Extract the frames as rawvideo :

    ffmpeg -i input.mov -f rawvideo -b 50000000 -pix_fmt yuv420p -vcodec
    rawvideo -s 1920x1080 -y temp.raw

    Recreate the video with new framerate :

    ffmpeg -f rawvideo -b 50000000 -pix_fmt yuv420p -r 24 -s 1920x1080 -i
    temp.raw -y output.mov

    Note 1 : I had to remove "-b 50000000" when recreating the video with the new frame rate, in order to get it to work properly.

    It did exactly what I intended it to do, but I’m still wondering if there is any simpler way to do this ? I’ve tried to pipe them together in one line only, as suggested in the same post, but couldn’t get it to work.

    Note 2 : Even though it does exactly what I wanted it to do, I’ve just later realized there is quality loss using this method, which I would prefer to avoid.

    Thanks everyone in advance !