Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (41)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (2959)

  • Extract the time of the video with ffmpeg in Ubuntu

    6 mai 2017, par PHP Developer

    I am using Ubuntu 14.04.5 LTS 32 bit and ffmpeg to extract the time of a video.

    In Windows 10 the command works :

    /usr/bin/ffmpeg -i video.mp4 -vstats 2> & 1

    In Linux ffmpeg returns the error in red :

    At least one output file must be specified

    The error complete is here :

    ffmpeg version 2.4.3-1ubuntu1~trusty6 Copyright (c) 2000-2014 the FFmpeg developers
    built on Nov 22 2014 17:07:19 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
    configuration: --prefix=/usr --extra-version='1ubuntu1~trusty6' --build-suffix=-ffmpeg --toolchain=hardened
    --extra-cflags= --extra-cxxflags= --libdir=/usr/lib/i386-linux-gnu --shlibdir=/usr/lib/i386-linux-gnu --incdir=/
    usr/include/i386-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample
    --enable-avisynth --enable-fontconfig --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
    --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfreetype --enable-libfribidi
    --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus
    --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libssh
    --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
    --enable-opengl --enable-x11grab --enable-libxvid --enable-libx265 --enable-libdc1394 --enable-libiec61883
    --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libx264 --enable-libsoxr --enable-openal
    --enable-libopencv  
    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  
    libavresample   2.  1.  0 /  2.  1.  0  
    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,3g2,mj2, from 'video.mp4':  
    Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp41isom
    creation_time   : 2017-01-29 15:42:02
    location        : -21.6646-46.7394/
    location-eng    : -21.6646-46.7394/  
    Duration: 00:01:49.43, start: 0.000000, bitrate: 1171 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 640x360 [SAR 1:1 DAR 16:9], 992 kb/s,
    15.01 fps, 15 tbr, 30k tbn, 60 tbc (default)
    Metadata:
     creation_time   : 2017-01-29 15:42:02
     handler_name    : VideoHandler
     encoder         : AVC Coding
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 174 kb/s (default)
    Metadata:
     creation_time   : 2017-01-29 15:42:02
     handler_name    : SoundHandler
    At least one output file must be specified

    How can I fix this problem ?

  • Couldn't open https stream - protocol not found (ffmpeg with openssl)

    25 avril 2017, par Victor Ponomarenko

    I received from compiled ffmpeg with openssl next message : Protocol not found. I’m testing on hls over https.

    The ffmpeg is 3.3 and openssl is 1.0.0a versions.

    I have next configure script :

    ./configure \
    --target-os=linux \
    --incdir=$BUILD_DIR/include/$ABI \
    --libdir=$BUILD_DIR/lib/$ABI \
    --prefix=$BUILD_DIR/lib/$ABI \
    --enable-cross-compile \
    --extra-libs="-lgcc" \
    --arch=$ARCH \
    --cc=$PREBUILT/bin/$HOST-gcc \
    --cross-prefix=$PREBUILT/bin/$HOST- \
    --nm=$PREBUILT/bin/$HOST-nm \
    --sysroot=$PLATFORM \
    --extra-cflags="$OPTIMIZE_CFLAGS -I${OPENSSL_INCLUDE_DIR}" \
    --extra-cxxflags="I${OPENSSL_INCLUDE_DIR}" \
    --extra-ldflags="-Wl,-rpath-link=${PLATFORM}usr/lib -L${PLATFORM}usr/lib -nostdlib -lc -lm -ldl -llog -lz -L${OPENSSL_BUILD_DIR}/${ABI}  $openssl_addi_ldflags -lssl -lcrypto" \
    --disable-static \
    --disable-ffplay \
    --disable-ffmpeg \
    --disable-ffprobe \
    --disable-ffserver \
    --disable-doc \
    --disable-symver \
    --disable-postproc \
    --disable-gpl \
    --disable-encoders \
    --disable-muxers \
    --disable-bsfs \
    --disable-protocols \
    --disable-indevs \
    --disable-outdevs \
    --disable-devices \
    --enable-shared \
    --enable-small \
    --enable-encoder=png \
    --enable-openssl \
    --enable-runtime-cpudetect \
    --enable-protocol=file,ftp,http,https,httpproxy,hls,mmsh,mmst,pipe,rtmp,rtmps,rtmpt,rtmpts,rtp,sctp,srtp,tcp,udp \
    --pkg-config=$(which pkg-config) \
    $ADDITIONAL_CONFIGURE_FLAG || die "Couldn't configure ffmpeg!"

    Before I configured it I received errors like openssl not found. I fixed that, but i try to load stream which works over https, I receives Protocol not found. Also, I think this is weird, after configuration https is missed in enabled protocols list.

    Enabled protocols:
    ffrtmphttp        hls               mmsh              rtmp          srtp
    file              http              mmst              rtmpt         tcp
    ftp               httpproxy         pipe              rtp           udp

    Update 23.04.2017

    My openssl build script :

    # environment variables
    top_root=$PWD
    src_root=${top_root}/src
    patch_root=${top_root}/patches
    dist_root=${top_root}/libs/openssl
    dist_bin_root=${dist_root}/bin
    dist_include_root=${dist_root}/include
    dist_lib_root=${dist_root}/lib
    build_log=${top_root}/openssl_build.log

    # create our folder structure
    cd ${top_root}
    test -d ${src_root} || mkdir -p ${src_root}
    test -d ${dist_root} || mkdir -p ${dist_root}
    test -d ${dist_bin_root} || mkdir -p ${dist_bin_root}
    test -d ${dist_include_root} || mkdir -p ${dist_include_root}
    test -d ${dist_lib_root} || mkdir -p ${dist_lib_root}
    touch ${build_log}

    rm -f ${build_log}

    echo "Building openssl-android ..."

    test -d ${src_root}/openssl-android || \
       git clone https://github.com/guardianproject/openssl-android.git ${src_root}/openssl-android >> ${build_log} 2>&1 || \
       die "Couldn't clone openssl-android repository!"
    cd ${src_root}/openssl-android

    ${NDK}/ndk-build >> ${build_log} 2>&1 || die "Couldn't build openssl-android!"

    # copy the versioned libraries
    #cp -r ${src_root}/openssl-android/libs/armeabi/lib*.so --parents ${dist_lib_root}/.
    rsync -a --include '*/' --include '*.so' --exclude '*' ${src_root}/openssl-android/libs/ ${dist_lib_root}/
    # copy the executables
    #cp -r ${src_root}/openssl-android/libs/armeabi/openssl ${dist_bin_root}/. # work only for one abi folder
    rsync -a --include '*/openssl' --exclude '*.so' ${src_root}/openssl-android/libs/ ${dist_bin_root}/
    #cp -r ${src_root}/openssl-android/libs/armeabi/ssltest ${dist_bin_root}/. # work only for one abi folder
    rsync -a --include '*/ssltest' --exclude '*.so' ${src_root}/openssl-android/libs/ ${dist_bin_root}/
    # copy the headers
    cp -r ${src_root}/openssl-android/include/* ${dist_include_root}/.

    cd ${top_root}

    Will thankful for any help.

  • FFMPEG build still resulting in Illegal instruction on raspberry pi ZERO, but not PI 2+

    3 mai 2017, par zyeek

    The process in which I do it configures the lib and ffmpeg files on the zero then move over to a pi 3 to make and install it (for speed).

    Build process :

    # x264
    git clone git://git.videolan.org/x264.git
    cd x264
    sudo ./configure --host=arm-unknown-linux-gnueabi --enable-shared --disable-opencl
    sudo make
    sudo make install
    sudo ldconfig

    # FFMPEG
    git clone git://source.ffmpeg.org/ffmpeg.git
    cd ffmpeg
    sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
    sudo make
    sudo make install

    I tried following this cross compile type build but complained I was missing a C compiler, but GCC was installed. SO I just went to follow my previous method.

    Results of trying to run it :

    pi@raspberrypi:~ $ ffmpeg -f v4l2 -i /dev/video0 -c:v libx264 -preset ultrafast -crf 0 http://localhost:8090/feed1.ffm
    ffmpeg version N-85747-gc4be288 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.9.2 (Raspbian 4.9.2-10)
     configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
     libavutil      55. 61.100 / 55. 61.100
     libavcodec     57. 93.100 / 57. 93.100
     libavformat    57. 72.101 / 57. 72.101
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 88.100 /  6. 88.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    Input #0, video4linux2,v4l2, from '/dev/video0':
     Duration: N/A, start: 682.500534, bitrate: 110592 kb/s
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360, 110592 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
    [tcp @ 0x2cba570] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
    Wed May  3 12:30:16 2017 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
    [tcp @ 0x2cbf1b0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    No pixel format specified, yuv422p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    Wed May  3 12:30:16 2017 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 0
    Illegal instruction