Recherche avancée

Médias (91)

Autres articles (101)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (7758)

  • avconv stops streaming after some time

    4 juin 2014, par Dhrumil Doshi

    I am using raspberry-pi board and a usb camera attached with it. i use avconv tool to capture live video from camera and streaming it on network using rtp protocol.

    My command on server(raspberry-pi board) is as below :

    avconv -f video4linux2 -s 160x120 -i /dev/video0 -vcodec mpeg2video -r 25 -pix_fmt yuv420p -me_method epzs -b 2600k -bt 256k -f rtp rtp ://192.168.1.141:8554

    streaming works successfully using this command. Here IP address 192.168.1.141 is the ip address of my client pc. i can play live streaming on client side using vlc successfully.

    But Issue is after some time encoding and streaming on server stop automatically. And command hangs there.

    Output on server is as below :

    $ avconv -f video4linux2 -s 160x120 -v debug -i /dev/video0 -vcodec mpeg2video -r 25 -pix_fmt yuv420p -me_method epzs -b 2600k -bt 256k -f rtp rtp://192.168.1.141:8554
    avconv version 0.8.10-6:0.8.10-1+rpi1, Copyright (c) 2000-2013 the Libav developers
     built on Mar 22 2014 02:13:15 with gcc 4.6.3
     configuration: --arch=arm --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.10-1+rpi1' --libdir=/usr/lib/arm-linux-gnueabihf --prefix=/usr --disable-yasm --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/arm-linux-gnueabihf --enable-shared --disable-static
     libavutil    51. 22. 2 / 51. 22. 2
     libavcodec   53. 35. 0 / 53. 35. 0
     libavformat  53. 21. 1 / 53. 21. 1
     libavdevice  53.  2. 0 / 53.  2. 0
     libavfilter   2. 15. 0 /  2. 15. 0
     libswscale    2.  1. 0 /  2.  1. 0
     libpostproc  52.  0. 0 / 52.  0. 0
    [video4linux2 @ 0x54d7a0] [4]Capabilities: 84000001
    [video4linux2 @ 0x54d7a0] The V4L2 driver changed the pixel format from 0x32315559 to 0x56595559
       Last message repeated 1 times
    [video4linux2 @ 0x54d7a0] The V4L2 driver changed the pixel format from 0x50323234 to 0x56595559
    [video4linux2 @ 0x54d7a0] The V4L2 driver set input_id: 0, input: Camera 1
    [rawvideo @ 0x54f860] err{or,}_recognition separate: 1; 1
    [rawvideo @ 0x54f860] err{or,}_recognition combined: 1; 1
    [video4linux2 @ 0x54d7a0] All info found
    [video4linux2 @ 0x54d7a0] Estimating duration from bitrate, this may be inaccurate
    Input #0, video4linux2, from '/dev/video0':
     Duration: N/A, start: 21891.364784, bitrate: 9216 kb/s
       Stream #0.0, 1, 1/1000000: Video: rawvideo, yuyv422, 160x120, 1/30, 9216 kb/s, 30 tbr, 1000k tbn, 30 tbc
    [buffer @ 0x54f220] w:160 h:120 pixfmt:yuyv422
    [avsink @ 0x54d740] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
    [scale @ 0x54f7e0] w:160 h:120 fmt:yuyv422 -> w:160 h:120 fmt:yuv420p flags:0x4
    [mpeg2video @ 0x54ea60] err{or,}_recognition separate: 1; 1
    [mpeg2video @ 0x54ea60] err{or,}_recognition combined: 1; 1
    [mpeg2video @ 0x54ea60] detected 1 logical cores
    [mpeg2video @ 0x54ea60] Unsupported bit depth: 0
    [rawvideo @ 0x54f860] err{or,}_recognition separate: 1; 1
    [rawvideo @ 0x54f860] err{or,}_recognition combined: 1; 1
    Output #0, rtp, to 'rtp://192.168.1.141:8554':
     Metadata:
       encoder         : Lavf53.21.1
       Stream #0.0, 0, 1/90000: Video: mpeg2video, yuv420p, 160x120, 1/25, q=2-31, 2600 kb/s, 90k tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> mpeg2video)
    SDP:
    v=0
    o=- 0 0 IN IP4 127.0.0.1
    s=No Name
    c=IN IP4 192.168.1.141
    t=0 0
    a=tool:libavformat 53.21.1
    m=video 8554 RTP/AVP 32
    b=AS:2600

    Press ctrl-c to stop encoding
    *** drop!
       Last message repeated 1 times
    *** 1 dup!
    *** 16 dup! fps= 25 q=2.0 size=    1027kB time=5.24 bitrate=1605.2kbits/s dup=1 drop=2    
    *** drop!
       Last message repeated 11 times
    *** drop!49 fps= 26 q=2.0 size=    1059kB time=5.92 bitrate=1464.9kbits/s dup=17 drop=14    
       Last message repeated 2 times
    *** drop!76 fps= 25 q=2.0 size=    2022kB time=11.00 bitrate=1505.7kbits/s dup=17 drop=17    
    *** drop!48 fps= 25 q=2.0 size=    4086kB time=21.88 bitrate=1529.8kbits/s dup=17 drop=18    
    *** 1 dup!
    *** 1 dup!0 fps= 25 q=2.0 size=    4171kB time=22.36 bitrate=1528.2kbits/s dup=18 drop=19    
    *** 1 dup!1 fps= 25 q=2.0 size=    4859kB time=26.00 bitrate=1530.8kbits/s dup=19 drop=19    
    *** 1 dup!0 fps= 25 q=2.0 size=    5152kB time=27.56 bitrate=1531.5kbits/s dup=20 drop=19    
    *** 1 dup!3 fps= 25 q=2.0 size=    5250kB time=28.08 bitrate=1531.7kbits/s dup=21 drop=19    
    *** drop!64 fps= 25 q=2.0 size=    7215kB time=38.52 bitrate=1534.5kbits/s dup=22 drop=19    
    *** 1 dup!6 fps= 25 q=2.0 size=    7306kB time=39.00 bitrate=1534.6kbits/s dup=22 drop=20    
    *** drop!07 fps= 25 q=2.0 size=    8288kB time=44.24 bitrate=1534.7kbits/s dup=23 drop=20    
    *** 1 dup!0 fps= 25 q=2.0 size=   10054kB time=53.56 bitrate=1537.8kbits/s dup=23 drop=21    
    *** 1 dup!9 fps= 25 q=2.0 size=   10342kB time=55.12 bitrate=1537.1kbits/s dup=24 drop=21    
       Last message repeated 1 times
    *** drop!93 fps= 25 q=1.6 size=   10445kB time=55.68 bitrate=1536.7kbits/s dup=26 drop=21    
    *** 1 dup!
    *** 7036829 dup! 25 q=2.0 size=   10630kB time=56.68 bitrate=1536.4kbits/s dup=27 drop=22

    Any ideas ?

    Thanks in advance.

  • How can I run this command in a shell script

    21 janvier 2011, par Sascha

    This is my shell script but it gives errors :

    #!/bin/sh

    while getopts "i:o:" flag
    do
      case $flag in
      i) file_input=$OPTARG
      ;;
      o) file_output=$OPTARG
      ;;
      esac
    done

    mplayer -nosound -benchmark -vo yuv4mpeg:file=>(x264 --demuxer y4m \
                 --crf 20 --threads auto --output $file_output - ) $file_input

    The error message is :

    Can't get memory or file handle to write ">(x264 —demuxer y4m —crf 20 —threads auto —output video.264 - )" !FATAL : Cannot initialize video driver.

    When I run this cmd on putty :

    mplayer -nosound -benchmark -vo yuv4mpeg:file=>(x264 --demuxer y4m \
                 --crf 20 --threads auto --output video.264 - ) video.wmv

    it works perfectly..

    What am I doing wrong ?

  • x264 CLI crash while encoding [migrated]

    28 août 2011, par Ithilion

    i'm having hard time with x264 CLI encoding.
    I'm trying to encode a blu-ray source (8gb .m2ts file) into a mp4 video, but x264.exe keeps always crashing at approximately 20% progress.

    This is the Avisynth script i'm using :

    Source="C:\Ithilion\Temp\Editing\Anime\input.m2ts"
    V=FFVideoSource(Source,fpsnum=24000,fpsden=1001)
    A=FFAudioSource(Source)
    AudioDub(V,A)

    GradFun2DBmod(str=1.2)

    aWarpSharp2(depth=20)
    LimitedSharpenFaster(strength=255)

    TextSub("C:\Ithilion\Temp\Editing\Anime\subs1.ass")
    TextSub("C:\Ithilion\Temp\Editing\Anime\subs2.ass")

    These are the commands i'm using for the encode :

    x264 --profile high10 --level 5.1 --crf 23 --bframes 10 --b-adapt 2 --direct auto
    --me umh --merange 24 --partitions all --rc-lookahead 60 --ref 16 --subme 10
    --trellis 2 --deblock -2:-2 --psy-rd 0.6:0.0 --aq-strength 1 --acodec aac
    --abitrate 256 --output "output.mp4" "input.avs"

    This is the error i get :

    Name of the application that generated the error: x264.exe, Version: 0.0.0.0, time stamp: 0x4e427829
    Module name that generated the error: KERNELBASE.dll, Version: 6.1.7601.17651, time stamp: 0x4e211319
    Exception Code: 0xc00000fd
    Fault offset 0x0000b9bc
    Process ID that generated the error: 0xaac
    Start time of the application that generated the error: 0x01cc64e7f962548a
    Path to the application that generated the error: C:\Ithilion\Temp\Editing\x264\x264.exe
    Path of the module that generated the error: C:\Windows\syswow64\KERNELBASE.dll
    ID alert: a702ec4e-d0e7-11e0-b4d3-0023547ccfc5

    I'm running Win7 64 on a Q9400 @3200mHz with 4 GB RAM

    Thanks in advance for your support
    Best regards