Recherche avancée

Médias (91)

Autres articles (109)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

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

  • ffmpeg force format when I using tcp protocol as output

    22 janvier 2019, par Moein Mohammadian

    I want to cut a video and start a tcp server with ffmpeg and a tcp client reads the cut video’s content but I have to force a format.

    ffmpeg -ss 00:01:00 -i input.mp4 -to 00:02:00 -f mpeg2video tcp://127.0.0.1:8010?listen=1

    If I don’t specify a format I get an error

    Unable to find a suitable output format for 'tcp://127.0.0.1:8010?listen=1'

    but if I save cut video to a file I don’t have to enter a format

    ffmpeg -ss 00:01:00 -i input.mp4 -to 00:02:00 output.mp4

    The problem is when I specify a format it takes more time to create cut video.
    Is there any way I don’t specify format when I create a tcp server.

    Basically I want to cut a video and send the cut video over tcp/ip as fast as I could.

  • Revert "avformat/file : seek back to initial position for fd protocol"

    27 mai 2024, par Rémi Denis-Courmont
    Revert "avformat/file : seek back to initial position for fd protocol"
    

    The generally expected behaviour is for software to append from the
    current position, not to keep resetting. See also how shell works :
    # (foo && bar) > file
    ...would normally concatenate the output of both commands to file.

    If foo seeks like lavf, bar would instead overwrite the output of
    foo (possibly not completely).

    This reverts commit 5c3d2177e7be7dde69a83b1b394f57976c164c84.

    • [DH] libavformat/file.c
  • 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.