Recherche avancée

Médias (91)

Autres articles (67)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (10909)

  • merge segments with ffmpeg causes small cracks in the audio

    14 octobre 2019, par Paulo Medeiros

    To speed up the delivery of videos on my platform I split the uploaded medias into segments of up to 120 seconds and process them simultaneously on several machines.

    After processing, I put the pieces back together with "-f concat".

    Unfortunately, new media is generated with small cracks in the audio (they occur exactly at the junction). I haven’t found a filter / command yet to end the problem. Does anybody know how to solve this ?

    Note : I am using ffmpeg 3.4.1

    This is the command I make to split the media :

    ffmpeg -hide_banner -fflags +genpts -avoid_negative_ts make_zero -y -v error -i /video/somevideo.mov -map 0:v? -map 0:a? -c copy -f segment -segment_time 120 -segment_format matroska -reset_timestamps 1 -segment_list_type ffconcat -segment_list /video/segment_map.ffcat /video/segment%03d

    A short example of the command used to process a segment

    some variables change according to the resolution

    ffmpeg -y -hide_banner -v error -probesize 10M -analyzeduration 10M -itsoffset 0.066 -i /video/segment000 -c:v libx264 -preset fast -profile:v high -crf 23 -r 117375/3916 -maxrate 1500000 -bufsize 2250000 -g 58 -keyint_min 58 -sc_threshold 0 -bf 3 -b_strategy 2 -refs 10 -vf scale="iw*sar:ih,scale=trunc(oh*a/2)*2:540" -pix_fmt yuv420p -max_muxing_queue_size 5000 -strict -2 -c:a aac -b:a 128000 -ar 44100  -f mp4 /video/transcode/segment000

    to finalize how do I join the segments

    ffmpeg -hide_banner -v error -f concat -safe 0 -y -i /video/transcode/segment_map.ffcat -c copy -movflags +faststart /video/transcoded.mp4
  • how to fix nvidia hevc transcoding problem

    25 novembre 2019, par Dlniya Dlzar

    we are using FFmpeg for media broadcasting DVB-T2
    the structure is like that :

    [ source h264 (multicast) >> FFmpeg h265 >> scrambler ]

    we are using Nvidia GPU for transcoding

    the problem is, when we transcode to H265 there is an issue when we play the video.
    it is like cc error or maybe muxing issue, we don’t know, what we know is, the stream has lagging every few mins.
    we played the output stream by FFmpeg again

    /root/bin/ffmpeg -v error -i udp://lo@127.0.0.1:5000 -f null - 2>error.log

    we got this

    [hevc @ 0x2610b40] PPS id out of range: 0
       Last message repeated 35 times
    [hevc @ 0x2604a80] Could not find ref with POC 21

    and here is our FFmpeg command line example for transcoding

    /root/bin/ffmpeg -re -y -vsync 0 -hwaccel cuvid -c:v h264_cuvid  -deint 2  -drop_second_field 1 -surfaces 10 -fflags discardcorrupt+genpts+nobuffer -i   "udp://227.30.40.4:1234?localaddr=192.168.2.55&overrun_nonfatal=1&&fifo_size=50000000" -map 0:p:352 -af aresample=async=1  -acodec aac -ac 1 -strict -2  -vcodec hevc_nvenc  -g 40  -b:v 2300k -minrate 2300k -maxrate 2300k -bufsize 2300k -preset hq -metadata service_provider="ISTAR MEDIA" -metadata service_name="KURDMAX" -flags cgop -sc_threshold 500  -f mpegts -muxrate 2700k  -y  "udp://227.2.2.6:1234?localaddr=192.168.2.55&fifo_buffer=50000000&overrun_nonfatal_option=1&bitrate=2700000&burst_bits=2700000&pkt_size=1316" 2> /var/log/ffmpeg/kurdmax.txt
  • How to run the set of commands in windows command line

    24 février 2020, par robert.little

    x264-preset is used in the second command (Cmd 2). Is it substitution or ?

    Cmd 1 :

    x264-preset:
    vcodec=libx264
    thread_type=slice
    slices=1
    profile=baseline
    level=32
    preset=superfast
    tune=zerolatency
    intra-refresh=1
    crf=15
    x264-params=vbv-maxrate=5000:vbv-bufsize=1:slice-max-size=1500:keyint=60

    Cmd 2

    $ ffmpeg -r 30 -f dshow -i video="devicename" -pix_fmt yuv420p -an -vpre
    x264-preset -f mpegts udp://127.0.0.1:8888

    When I run the Cmd 1 it doesn’t work. Even with the SET like :

    x264-preset:
    SET vcodec=libx264
    SET thread_type=slice
    SET slices=1
    SET profile=baseline
    SET level=32
    SET preset=superfast
    SET tune=zerolatency
    SET intra-refresh=1
    SET crf=15
    SET x264-params=vbv-maxrate=5000:vbv-bufsize=1:slice-max-size=1500:keyint=60

    Source :
    https://lists.ffmpeg.org/pipermail/ffmpeg-user/2016-January/030127.html