Recherche avancée

Médias (91)

Autres articles (51)

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (9210)

  • how is the 'response' parameter calculated for rtsp authentication ?

    11 septembre 2015, par zcaudate

    So I’ve captured a couple of packets from ffmpeg to a ip camera with rtsp, which I’ve attached at the end of the question :

    In the second request/response pair, the protocol sees that it needs authentication and returns a nonce="be129bc71fa3ddfbff9989ed6f748268" to the user

    In the third request/response pair, there is a response="da0882d360a56deef2994d8ba0de8e89" being sent to the server and I’m not sure how that is generated. The user/password pair is admin with a blank password.

    Any ideas of where to look in the RFCs would be great


    OPTIONS rtsp://192.168.1.245:88/videoMain RTSP/1.0
    CSeq: 1
    User-Agent: Lavf56.4.101

    RTSP/1.0 200 OK
    CSeq: 1
    Date: Sun, Sep 21 2014 01:33:07 GMT
    Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER

    ----------

    DESCRIBE rtsp://192.168.1.245:88/videoMain RTSP/1.0
    Accept: application/sdp
    CSeq: 2
    User-Agent: Lavf56.4.101

    RTSP/1.0 401 Unauthorized
    CSeq: 2
    Date: Sun, Sep 21 2014 01:33:07 GMT
    WWW-Authenticate: Digest realm="LIVE555 Streaming Media", nonce="be129bc71fa3ddfbff9989ed6f748268"

    ----------

    DESCRIBE rtsp://192.168.1.245:88/videoMain RTSP/1.0
    Accept: application/sdp
    CSeq: 3
    User-Agent: Lavf56.4.101
    Authorization: Digest username="admin",realm="LIVE555 Streaming Media",nonce="be129bc71fa3ddfbff9989ed6f748268",uri="rtsp://192.168.1.245:88/videoMain",response="da0882d360a56deef2994d8ba0de8e89"


    RTSP/1.0 200 OK
    CSeq: 3
    Date: Sun, Sep 21 2014 01:33:07 GMT
    Content-Base: rtsp://192.168.1.245:65534/videoMain/
    Content-Type: application/sdp
    Content-Length: 500

    v=0
    o=- 1411259869717503 1 IN IP4 192.168.1.245
    s=IP Camera Video
    i=videoMain
    t=0 0
    a=tool:LIVE555 Streaming Media v2013.01.25
    a=type:broadcast
    a=control:*
    a=range:npt=0-
    a=x-qt-text-nam:IP Camera Video
    a=x-qt-text-inf:videoMain
    m=video 0 RTP/AVP 96
    c=IN IP4 0.0.0.0
    b=AS:96
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1;profile-level-id=42001F;sprop-parameter-sets=Z0IAH5WoFAFuQA==,aM48gA==
    a=control:track1
    m=audio 0 RTP/AVP 0
    c=IN IP4 0.0.0.0
    b=AS:64
    a=control:track2
  • ffmpeg is failing to convert mov files from iPhone 4

    11 octobre 2014, par skat

    I’m having issue with converting mov files from iPhone 4.

    Running this command :

    I, [2014-09-15T03:48:33.245231 #9676]  INFO -- : Running transcoding...
    ffmpeg -y -i /Users/lun/client/bookagoo/public/uploads/5405e9b0486f75a36c100000/video/1410727644xqxzdoxf-IMG_0040_1_.MOV -ss 5 -vframes 1 -f image2 /Users/lun/client/bookagoo/public/uploads/5405e9b0486f75a36c100000/video/1410727644xqxzdoxf-IMG_0040_1_-edited.jpg

    E, [2014-09-15T03:48:33.321367 #9676] ERROR -- : Failed encoding...
    ffmpeg -y -i /Users/lun/client/bookagoo/public/uploads/5405e9b0486f75a36c100000/video  /1410727644xqxzdoxf-IMG_0040_1_.MOV -ss 5 -vframes 1 -f image2 /Users/lun/client/bookagoo/public/uploads/5405e9b0486f75a36c100000/video/1410727644xqxzdoxf-IMG_0040_1_-edited.jpg

    My ffmpeg gives me errors like this :

    FFMPEG::Error: Failed encoding.Errors: no output file created. Full output: ffmpeg version 2.3.1 Copyright (c) 2000-2014 the FFmpeg developers
    built on Aug 20 2014 02:23:29 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
    configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx
    libavutil      52. 92.100 / 52. 92.100
    libavcodec     55. 69.100 / 55. 69.100
    libavformat    55. 48.100 / 55. 48.100
    libavdevice    55. 13.102 / 55. 13.102
    libavfilter     4. 11.100 /  4. 11.100
    libavresample   1.  3.  0 /  1.  3.  0
    libswscale      2.  6.100 /  2.  6.100
    libswresample   0. 19.100 /  0. 19.100
    libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/lun/client/bookagoo/public/uploads/5405e9b0486f75a36c100000/video/1410641311nyv99k1j-IMG_0040_1_.MOV':
    Metadata:
     major_brand     : qt
     minor_version   : 0
     compatible_brands: qt
    creation_time   : 2014-07-20 09:47:08
    model           : iPhone 4
    model-rus       : iPhone 4
    encoder         : 7.0.4
    encoder-rus     : 7.0.4
    date            : 2014-07-20T13:47:08+0400
    date-rus        : 2014-07-20T13:47:08+0400
    make            : Apple
    make-rus        : Apple
    Duration: 00:00:01.84, start: 0.000000, bitrate: 827 kb/s
     Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 480x360, 742 kb/s, 23.98 fps, 23.98 tbr, 600 tbn, 1200 tbc (default)
    Metadata:
     rotate          : 90
     creation_time   : 2014-07-20 09:47:08
     handler_name    : Core Media Data Handler
     encoder         : H.264
    Side data:
     displaymatrix: rotation of -90.00 degrees
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 63 kb/s (default)
    Metadata:
     creation_time   : 2014-07-20 09:47:08
     handler_name    : Core Media Data Handler
    [swscaler @ 0x7fe1e9800600] deprecated pixel format used, make sure you did set range correctly
    Output #0, image2, to '/Users/lun/client/bookagoo/public/uploads/5405e9b0486f75a36c100000/video/1410641311nyv99k1j-IMG_0040_1_-edited.jpg':
    Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    make-rus        : Apple
    model           : iPhone 4
    model-rus       : iPhone 4
    make            : Apple
    encoder         : Lavf55.48.100
    date            : 2014-07-20T13:47:08+0400
    date-rus        : 2014-07-20T13:47:08+0400
    Stream #0:0(und): Video: mjpeg, yuvj420p, 480x360, q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)
    Metadata:
     rotate          : 90
     creation_time   : 2014-07-20 09:47:08
     handler_name    : Core Media Data Handler
     encoder         : Lavc55.69.100 mjpeg
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
    Press [q] to stop, [?] for help
    frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

    It’s only happening for mov files. There are couple of tricky places it looks like it’s trying to take screenshot from a video.

    Maybe anyone witnessed anything similar and can give me a tip ?

  • Reduce compiled ffmpeg library size based on what I need

    20 septembre 2014, par Alin

    I finally managed to build ffmpeg as detailed in here : https://enoent.fr/blog/2014/06/20/compile-ffmpeg-for-android/ and in the end, I have a ffmpeg library which accepts command arguments.

    I am ONLY applying a watermark image over the video so for it I am using this ffmpeg command :

    ffmpeg -i input.avi -i logo.png -filter_complex 'overlay=10:main_h-overlay_h-10' output.avi

    Basic config :

     ./configure \
       --prefix=$PREFIX \
       --disable-shared \
       --enable-static \
       --disable-doc \
       --disable-ffmpeg \
       --disable-ffplay \
       --disable-ffprobe \
       --disable-ffserver \
       --disable-doc \
       --disable-symver \
       --enable-protocol=concat \
       --enable-protocol=file \
       --enable-muxer=mp4 \
       --enable-demuxer=mpegts \
       --enable-memalign-hack \
       --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
       --target-os=linux \
       --arch=arm \
       --enable-cross-compile \
       --sysroot=$SYSROOT \
       --extra-cflags="-Os -fpic -marm $ADDI_CFLAGS" \
       --extra-ldflags="$ADDI_LDFLAGS"

    No other commands needed from ffmpeg.

    When compiling ffmpeg I get these files :

    enter image description here

    I want to reduce the size of the library to as small as possible, so given the above command, are there any files that I can remove from final build ?

    ALSO which is the most common CPU found in current devices ? arm v7vfpv3, arm v7vfp, arm v7n ? I want to cover as many devices as possible.

    #arm v6
    #CPU=armv6
    #OPTIMIZE_CFLAGS="-marm -march=$CPU"
    #PREFIX=./android/$CPU
    #ADDITIONAL_CONFIGURE_FLAG=
    #build_one

    #arm v7vfpv3
    CPU=armv7-a
    OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=$CPU "
    PREFIX=./android/$CPU
    ADDITIONAL_CONFIGURE_FLAG=
    build_one

    #arm v7vfp
    #CPU=armv7-a
    #OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=vfp -marm -march=$CPU "
    #PREFIX=./android/$CPU-vfp
    #ADDITIONAL_CONFIGURE_FLAG=
    #build_one

    #arm v7n
    #CPU=armv7-a
    #OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=neon -marm -march=$CPU -mtune=cortex-a8"
    #PREFIX=./android/$CPU
    #ADDITIONAL_CONFIGURE_FLAG=--enable-neon
    #build_one

    #arm v6+vfp
    #CPU=armv6
    #OPTIMIZE_CFLAGS="-DCMP_HAVE_VFP -mfloat-abi=softfp -mfpu=vfp -marm -march=$CPU"
    #PREFIX=./android/${CPU}_vfp
    #ADDITIONAL_CONFIGURE_FLAG=
    #build_one