Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (82)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (9273)

  • Get middle line from the output of a command

    14 décembre 2022, par Kishore T

    The following command list the duration of I-frames present in a video file.

    


    ffprobe -i ./test.mp4 -v quiet -skip_frame nokey -select_streams v:0 -of flat -show_entries frame=pkt_pts_time | awk -F'=' '{gsub(/"/, "", $NF); print $NF}'


    


    I'm trying to get the duration of I-frame that is in middle. The output of the above command will be like

    


    0.066667
2.066667
4.066667
9.066667
14.066667
19.066667
24.066667


    


    How do I get the middle value ? Here, I would like to get 9.066667 as the result. If the number of lines is even (say I've 2 values), I need to get the 1st value.

    


    I tried using wc to get the number of lines and sed to print the middle line. But, this straightforward solution required me to run the command twice. I tried piping the command, but I didn't find any solution for storing the value in a variable (from the wc command) and using the same in another command (sed command) while retaining the piped output.

    


  • Revision 37011 : Un petit test pour voir si ffmpeg2theora est dispo sur le serveur (pour ...

    6 avril 2010, par kent1@… — Log

    Un petit test pour voir si ffmpeg2theora est dispo sur le serveur (pour l’utiliser au cas où plus tard)

  • Howto speed up Video Streaming with ffserver and ffmpeg + x265

    30 mars 2016, par binaryCode

    Below my ffserver.conf :

    Port 8090                      # Port to bind the server to
    BindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 10000             # Maximum bandwidth per client
                              # set this high enough to exceed stream bitrate
    CustomLog -
    #NoDaemon                       # Remove this if you want FFserver to    daemonize after start

    <feed>               # This is the input feed where FFmpeg will send
    File /tmp/feed1.ffm            # video stream.
    FileMaxSize 1G              # Maximum file size for buffering video            # Allowed IPs
    ACL allow 127.0.0.1
    </feed>

    <stream>                       # Output stream URL definition
     Feed feed1.ffm              # Feed from which to receive video
     Format matroska

     # Audio settings
     AudioCodec vorbis
     AudioBitRate 64             # Audio bitrate

     # Video settings
     VideoCodec libx265
     VideoSize 720x576           # Video resolution
     VideoFrameRate 25           # Video FPS
     AVOptionVideo flags +global_header  # Parameters passed to encoder
                                      # (same as ffmpeg command-line  parameters)
     #AVOptionVideo cpu-used 0
     AVOptionVideo qmin 10
     AVOptionVideo qmax 42
     #AVOptionVideo quality good
     AVOptionAudio flags +global_header
     PreRoll 15
     StartSendOnKey
     VideoBitRate 400            # Video bitrate
    </stream>

    <stream>                    # Server status URL
      Format status
      # Only allow local people to get the status
      ACL allow localhost
     ACL allow 0.0.0.0
    </stream>

    <redirect>    # Just an URL redirect for index
       # Redirect index.html to the appropriate site
       URL http://www.ffmpeg.org/
    </redirect>

    and below is ffmpeg command to send my usb camera :

    c:\ffmpeg\bin\ffmpeg -f dshow -i video="A4TECH USB2.0 PC Camera"  -r 25 -s 320x240 -vcodec libx265 -preset ultrafast -tune zerolatency  http://119.81.216.43:8090/feed1.ffm

    ffmpeg running from my notebook with processor corei7 from Indonesia, and ffserver using ubuntu 14.x on ibm soflayer singapore,

    with above configuration i can play video streaming with 4s delay

    myquestion : howto improve speed so i can play video less than or equal 1 second, any idea ?