Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (30)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (5549)

  • using ffmpeg to rotate a RTSP stream and then restram that back to my local network ( usign windows )

    29 décembre 2022, par sesipod

    I would like to use FFMPEG to consume a stream from my cctv ip camera,rotate the video feed 90 and then re-streamt that back to my local network over rtsp. I would like to make this work on Windows only, and using the igpu in my machine to help with the cpu load. My camera does not support 90 degree rotation native so the use of FFMPEG would be nice help.

    


    Here is what I have tried so far but it will not give me anything that I can watch on VLC for example.

    


    ffmpeg -i rtsp://admin:passwordhere@192.168.1.147:554/h264Preview_01_main -vf "transpose=2" -c:v libx264 -b:v 1000k -s 640x480 -f rtsp


    


    rtsp://localhost:8888/live.sdp


    


  • Make gif using most recent 7x updated JPG in a folder (weekly timelapse !)

    28 juillet 2019, par Brad Sullivan

    This bash script takes a cctv screenshot on cronjob, daily.
    The filenames are saved YY_MM_DD_HH_MM_SS.

    I can make a ’year to date’ timelapse (comes out as sofar.gif) easily using the below line — note that this ignores all filenames / creation dates and just sued every JPG in the folder ffmpeg -pattern_type glob -i $outdir/'*.jpg' $outdir/gif/sofar.gif -y

    But I also want to generate at the same time, a gif using EITHER :
    A) the JPG’s with the most recent 7x file names
    B) the JPG’s with the most recent modified stamp
    (same result)

    I have tried this code below, which does generate a 7days.gif but it only contains 1 frame, the 7th oldest screenshot — rather my desired output having 7 frames made up from the most 7x recent screenshots.

    #!/usr/bin/env bash
    PATH=/usr/local/bin:/usr/local/sbin:~/bin:/usr/bin:/bin:/usr/sbin:/sbin

    # runs from a cronjob. saves live screenshot from CCTV to jpg, then updates the year-to-date movie

    if [ $# -ne 1 ]
    then
     echo "Usage: `basename $0` OUTDIR"
     exit 65
    fi

    doexit=0

    start=$(date +%s)
    end=$(date +%s)

    outdir=${1%/}
    mkdir $outdir
    mkdir $outdir/gif/
    echo "Capturing image..."

    counter=$(date +"%Y_%m_%d_%H-%M-%S");
    file=$outdir/$counter.jpg

    if response=$(curl --silent --write-out %{http_code} --max-time 600 'http://192.168.1.69/cgi-bin/snapshot.cgi?chn=0&u=XXX&p=XXX&q=0&d=1&rand=0.14620004288649113' -o $file) ; then
       echo "Captured & saved $file!"
    else
       echo "Failed to capture $file"
    fi

    # THIS IS THE BIT WHICH DOES THE LAST 7 DAYS
    shopt -s nullglob
    files=( "$outdir"/*.jpg )
    file_count=${#files[@]}
    echo
    if (( ${#files[@]} == 0 )); then
     echo "ERROR: No files found" >&2; exit 1;
    elif (( ${#files[@]} > 7 )); then
     files=( "${files[@]:$(( ${#files[@]} - 7 ))}" )
    fi

    input_args=( )
    for f in "${files[@]}"; do
     input_args+=(-i "$f")
    done
    echo "Making weekly.."
    echo "${input_args[@]}"

    echo "Making weekly.."
    ffmpeg "${input_args[@]}" $outdir/gif/7days.gif -y
    echo "Making YTD.."
    ffmpeg -hide_banner -loglevel panic -pattern_type glob -i $outdir/'*.jpg' $outdir/gif/sofar.gif -y

    exit 1

    The code half works as if I echo the ${input_args[@]} I see the correct file list ; Making weekly.. -i 365/2019_07_10_15-00-00.jpg -i 365/2019_07_11_15-00-00.jpg -i 365/2019_07_12_15-00-00.jpg -i 365/2019_07_13_15-00-00.jpg -i 365/2019_07_14_15-00-00.jpg -i 365/2019_07_15_15-00-00.jpg -i 365/2019_07_16_12-00-19.jpg which seems to confuse ffmpeg it because it adds the -i over & over, meaning the gif only has one frame.

    I need to edit the script above to correctly also spit out a 7days.gif which is dynamically made using the most recent 7x screenshots in $outdir

  • avformat/mov : Correct opus-in-mp4 pre-skip to be uint16_t versus int16_t.

    22 août 2018, par Dale Curtis
    avformat/mov : Correct opus-in-mp4 pre-skip to be uint16_t versus int16_t.
    

    This field is a uint16_t, see docs :
    http://opus-codec.org/docs/opus_in_isobmff.html#4.3.2

    Signed-off-by : Dale Curtis <dalecurtis@chromium.org>
    Reviewed-by : James Almer <jamrial@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/mov.c