Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (96)

  • Les sons

    15 mai 2013, par
  • 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 (...)

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

Sur d’autres sites (11682)

  • Error trying to install FFmpeg on Oracle Cloud VM Linux [closed]

    14 mai 2022, par lucasrvimieiro

    I'm trying to host a discord bot using Oracle Cloud but I need to install the FFmpeg extension for it to be able to play music. I have absolutely no experience with Linux at all but I was able to run the bot normally after a few tutorials. Everything is working fine except for the FFmpeg installation.

    


    I already tried following these guides :
https://computingforgeeks.com/how-to-install-ffmpeg-on-centos-rhel-8/
https://techviewleo.com/install-ffmpeg-on-rocky-almalinux-oracle-linux/

    


    However I keep getting the error :

    


    


    Errors during downloading metadata for repository 'nux-dextop' :

    


    


    


    when executing :

    


    sudo dnf -y install ffmpeg


    


    I cannot find any solutions online. Is it even possible to install FFmpeg there ? The VM is running Oracle-Linux-8.5-aarch64-2022.04.04-0. I'm using Bitvise SSH Client to connect to the terminal.

    


  • FFMPEG : Reconnect not working for HTTP source with UDP output [closed]

    5 octobre 2023, par Quinnell

    I am streaming an audio input with a static video slate. Audio comes from an HTTP source. I output to a multicast IP via UDP.

    


    The stream periodically fails. The process needs to be killed and manually restarted. Would like to have the stream automatically reconnect itself upon failure.

    


    Server runs CentOS 7.
FFMPEG version : ffmpeg version N-107408-g882aac99d2 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)

    


    The server will eventually be replaced with AlmaLinux 8.8 running the latest version of ffmpeg.

    


    Currently experimenting with the RECONNECT option but so far it has failed to restore the stream automatically.

    


    note : IPs and identifying variables have been sanitized.

    


    #! /bin/bash

filename="test1.yuv"
streamTitle="Reconnect_TEST1" # friendly name for stream. Helps when running pgrep
streamInput="100.100.100.100:8002" # Input IP:Port we're receiving on.
multicastOut="232.100.100.100:5500" # Multicast IP:Port we're sending to
logFile=/home/username/logs/${streamTitle}.log # Log file we output the nohup data to.

nohup ffmpeg \
    -re \
    -video_size 854x480 \
    -i $filename \
    -i http://${streamInput} \
    -reconnect 1 \
    -reconnect_at_eof 1 \
    -reconnect_streamed 1 \
    -reconnect_on_network_error 1 \
    -reconnect_on_http_error 1 \
    -reconnect_delay_max 10 \
    -c:a ac3 \
    -ac 1 \
    -af loudnorm \
    -vf loop=loop=-1:size=1:start=0 \
    -c:v libx264 \
    -profile:v main \
    -s:v 854x480 \
    -aspect 16:9 \
    -r 15 -g 30 -bf 0 -crf 30 \
    -fflags +genpts -flags +cgop+ilme \
    -metadata title=$streamTitle \
    -metadata:s:a:0 language=eng \
    -mpegts_flags +pat_pmt_at_frames \
    -flush_packets 0 -threads 1 \
    -v verbose \
    -f mpegts udp://${multicastOut}?pkt_size=1316 \
    -loglevel verbose >$logFile &


    


  • FFMPEG Executing Command Error (index entry 349 + TemporalOffset 1 = 350, which is out of bounds)

    21 octobre 2022, par Marcelo Lopes Nunes

    When I conversion file MXF using ffmpeg command :

    


    fmpeg -y -i TEST.mxf -vcodec mpeg2video -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 20000k -g 15 -bf 2 -r 25 -s 1920x1080 -aspect 16:9 -top 1 -flags:v +ilme+ildct -vf yadif=1 -acodec pcm_s24le -map 0:0 -map 0:a -map 0:a -map 0:a -map 0:a -ar 48000 -ac 1 CONVERT.mxf

    


    FFmpeg command Execution error index entry 349 + TemporalOffset 1 = 350, which is out of bounds below log.

    


      libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
[mxf @ 0x560422b8bc20] index entry 349 + TemporalOffset 1 = 350, which is out of bounds
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2: mono


    


    So after this, the audio isn't synchronized with the movie.
I executed the same command with a lot of other MXFs it worked and I don't have the FFmpeg error in the log.

    


    Mediainfo MXF below.

    


            <track type="General">&#xA;            <videocount>1</videocount>&#xA;            <audiocount>2</audiocount>&#xA;            <othercount>3</othercount>&#xA;            <fileextension>mxf</fileextension>&#xA;            <format>MXF</format>&#xA;            XDCAM HD422&#xA;            1.3&#xA;            OP-1a&#xA;            Closed / Complete&#xA;            <filesize>91497029</filesize>&#xA;            <duration>14.000</duration>&#xA;            <overallbitrate>52284016</overallbitrate>&#xA;            <framerate>25.000</framerate>&#xA;            <framecount>350</framecount>&#xA;            <footersize>2629</footersize>&#xA;            <packagename>Source Package</packagename>&#xA;            0-00-00 00:00:00.000&#xA;            UTC 2022-10-19 10:23:49&#xA;            2022-10-19 11:23:49&#xA;            FFmpeg&#xA;            OP1a Muxer&#xA;            58.29.100.0.0&#xA;            58.29.100.0.0&#xA;        </track>&#xA;        <track type="Video">&#xA;            <streamorder>0</streamorder>&#xA;            <id>2</id>&#xA;            <format>MPEG Video</format>&#xA;            XDCAM HD422&#xA;            2&#xA;            4:2:2&#xA;            High&#xA;            Yes&#xA;            Default&#xA;            M=3, N=15&#xA;            Frame&#xA;            Frame&#xA;            <codecid>0D01030102046001-0401020201040300</codecid>&#xA;            <duration>14.000</duration>&#xA;            CBR&#xA;            <bitrate>50000000</bitrate>&#xA;            <width>1920</width>&#xA;            <height>1080</height>&#xA;            1920&#xA;            1080&#xA;            <pixelaspectratio>1.000</pixelaspectratio>&#xA;            <displayaspectratio>1.778</displayaspectratio>&#xA;            <framerate>25.000</framerate>&#xA;            <framecount>350</framecount>&#xA;            <colorspace>YUV</colorspace>&#xA;            <chromasubsampling>4:2:2</chromasubsampling>&#xA;            <bitdepth>8</bitdepth>&#xA;            <scantype>Interlaced</scantype>&#xA;            <scanorder>TFF</scanorder>&#xA;            Lossy&#xA;            <delay>0.000</delay>&#xA;            0.000&#xA;            00:00:00:00&#xA;            Group of pictures header&#xA;            Open&#xA;            Closed&#xA;            <streamsize>87500000</streamsize>&#xA;            <buffersize>2500608</buffersize>&#xA;            <extra>&#xA;                0&#xA;                8&#xA;            </extra>&#xA;        </track>&#xA;        <track type="Audio" typeorder="1">&#xA;            <streamorder>1</streamorder>&#xA;            <id>3</id>&#xA;            <format>PCM</format>&#xA;            Little&#xA;            Frame (AES)&#xA;            <codecid>0D01030102060300</codecid>&#xA;            <duration>14.000</duration>&#xA;            CBR&#xA;            <bitrate>1152000</bitrate>&#xA;            <channels>1</channels>&#xA;            <samplesperframe>1920</samplesperframe>&#xA;            <samplingrate>48000</samplingrate>&#xA;            <samplingcount>672000</samplingcount>&#xA;            <framerate>25.000</framerate>&#xA;            <framecount>350</framecount>&#xA;            <bitdepth>24</bitdepth>&#xA;            <delay>0.000</delay>&#xA;            No&#xA;            Container&#xA;            <streamsize>2016000</streamsize>&#xA;            0.02203&#xA;            <extra>&#xA;                0&#xA;                <locked>Yes</locked>&#xA;                <blockalignment>3</blockalignment>&#xA;            </extra>&#xA;        </track>&#xA;

    &#xA;

    I researched this problem on ffmpeg.org and I found "This implies there's a VBR index with slices. Probably because of mxf->slice_count = 1 ;&#xA;Slices are MXF's way of indexing VBR combined with CBR." but I don't know how I fix this.

    &#xA;