Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (96)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9478)

  • ffmpeg error "No such file or directory" while compiling a video file compression

    13 janvier 2016, par Abraham Gharyali

    Firstly I have checked many questions and answers related to my question, but unfortunately none of them solves my problem.

    I have implemented ffmpeg library in my project, using it for 2 tasks :

    1). adding watermark on video.

    2). video compression.

    I am able to apply watermark on recorded video successfully using this command :

    {"-y" ,"-i", "/storage/emulated/0/Booms/Videos/video1122150738.mp4","-strict","experimental", "-vf", "movie="
    + watermarkFile + " [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]","-s", "320x240","-r", "30", "-b", "15496k", "-vcodec", "mpeg4","-ab", "48000", "-ac", "2", "-ar", "22050", "/storage/emulated/0/Shared/Videos/video.mp4"}

    "watermarkFile" is the location of .png watermark file

    Now I need to compress video, for that i used this command :

    "ffmpeg -i "+"/storage/emulated/0/Booms/Videos/video1122150738.mp4"+" -vcodec mpeg4 -s 320x240 -r 25 -y "+"/storage/emulated/0/Shared/Videos/video.mp4";

    It gives error "No such file or directory". please see the logs.

    01-11 15:32:39.283 28027-28027/ I/FFmpeg: Loading FFmpeg for armv7-neon CPU
    01-11 15:32:39.439 28027-28027/ D/FFMPEG: onSuccess.
    01-11 15:32:39.440 28027-28027/ D/FFMPEG: onFinish.
    01-11 15:32:55.584 28027-28027/ D/FFMPEG compress: input path: /storage/emulated/0/Booms/Videos/video1122150738.mp4
    01-11 15:32:55.585 28027-28027/ D/FFMPEG compress: output path: /storage/emulated/0/Shared/Videos/video.mp4
    01-11 15:32:55.587 28027-28027/ D/FFMPEG compress: Started.
    01-11 15:32:55.618 28027-28089/ D/FFmpeg: Running publishing updates method
    01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress: WARNING: linker: /data/data/packge_name/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
    01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress: ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress:   built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
    01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress:   configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=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-libfribidi --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/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress:   libavutil      54.  7.100 / 54.  7.100
    01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress:   libavcodec     56.  1.100 / 56.  1.100
    01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress:   libavformat    56.  4.101 / 56.  4.101
    01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress:   libavdevice    56.  0.100 / 56.  0.100
    01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress:   libavfilter     5.  1.100 /  5.  1.100
    01-11 15:32:55.663 28027-28027/ D/FFMPEG compress: Progress:   libswscale      3.  0.100 /  3.  0.100
    01-11 15:32:55.663 28027-28027/ D/FFMPEG compress: Progress:   libswresample   1.  1.100 /  1.  1.100
    01-11 15:32:55.663 28027-28027/ D/FFMPEG compress: Progress:   libpostproc    53.  0.100 / 53.  0.100
    01-11 15:32:55.663 28027-28027/ D/FFMPEG compress: Progress: ffmpeg -i /storage/emulated/0/Booms/Videos/_video1122150738.mp4 -vcodec mpeg4 -s 320x240 -r 25 -y /storage/emulated/0/Shared/Videos/video.mp4: No such file or directory
    01-11 15:32:55.663 28027-28027/ D/FFMPEG compress: Failure: WARNING: linker: /data/data/package_name/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
                                                                                 ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
                                                                                   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- --arch=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-libfribidi --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/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,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
                                                                                 ffmpeg -i /storage/emulated/0/Booms/Videos/video1122150738.mp4 -vcodec mpeg4 -s 320x240 -r 25 -y /storage/emulated/0/Shared/Videos/video.mp4: No such file or directory
    01-11 15:32:55.663 28027-28027/ D/FFMPEG compress: Finished.

    for both operations i input .mp4 file and need .mp4 file in output.

    Same process works for watermarking and not working for compression.

    My compress command is correct because I checked the same command compressing video in my windows pc using command prompt.

    I don’t understand what i am doing wrong.

    Any help would be appreciated.

  • SocialEngine "Tasks have not executed for more than 180 seconds." error on Video upload using FFMPEG

    17 juillet 2017, par Amit

    I’ve installed FFMPEG on server to support video upload in Socialengine.

    Now I can see the option to upload Video from "My Computer" but after I upload a video I see "Your video is in queue to be processed - you will be notified when it is ready to be viewed."

    If I check "Task Scheduler" in Admin panel it shows "Tasks have not executed for more than 180 seconds." with 0% progress and after a while it fails.

  • gcc "relocation R_X86_64_PC32 against symbol `ff_M24A'" error when linking statically against ffmpeg on linux

    22 janvier 2016, par YB_Evil

    I am trying to build a JNI shared library which statically links to ffmpeg.

    But at the linking stage, gcc fails with the following error :

    /usr/bin/ld: ./lib_lin64/libswscale.a(swscale.o): relocation R_X86_64_PC32 against symbol `ff_M24A' can not be used when making a shared object; recompile with -fPIC

    I am using the following commands to compile my jni library :

    gcc -I $JAVA_HOME/include -I $JAVA_HOME/include/linux -I ./include -fPIC -c *.c

    gcc -shared -Wl,--no-undefined -o libnv_avc_dec.so *.o -Wl,-Bstatic -L./lib_lin64 -lavcodec -lavutil -lswresample -lswscale -Wl,-Bdynamic -lm

    And I only use h264 decoding feature, so I am also building ffmpeg from source with the minimal required feature set. The ./configure command I use is :

    ./configure \
    --enable-pic --prefix=ffmpeg-dist \
    --disable-debug --enable-version3 --enable-gpl \
    --disable-everything --enable-hwaccel=h264_vdpau --enable-hwaccel=h264_vaapi --enable-hwaccel=h264_qsv --enable-hwaccel=h264_mmal \
    --enable-decoder=h264 --enable-decoder=h264_vdpau --enable-decoder=h264_crystalhd --enable-decoder=h264_mmal --enable-decoder=h264_qsv \
    --disable-iconv --disable-securetransport --disable-xlib --disable-zlib --disable-lzma  --disable-bzlib  --disable-doc --disable-programs --disable-avformat --disable-avfilter --disable-postproc

    So, as I understand, the linker tells me that ffmpeg should be compiled with -fPIC flag in order to make a shared library. But I believe that I’ve already done so by specifying the —enable-pic configure flag. And I am pretty much stuck here because I am not very familiar with autotools, nor with ffmpeg build process in particular.

    If this is the issue of ffmpeg .a libs not being compiled with -fPIC flag, how can i force it ? And if this is not the case, what am i doing wrong and how can i fix this error ?

    Environment details : Ubuntu 14.04.3 64-bit in Virtualbox, gcc 4.8.5 and 5.3 (both give the same results), ffmpeg v.2.8.5