Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (104)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (5898)

  • split mp4-videos with ffmpeg as acurate as possible

    31 mai 2018, par atticus

    I’m trying to split a mp4-Video (Video-codec : h264 Audio-codec : mp3) with ffmpeg.
    I know there are many other Threads here with similar issues but in my case I’m trying to be as accurate as possible. My first command was ffmpeg -ss <starttime> -i  -to <duration> -c copy </duration></starttime>
    As I lernt about the issue with the Keyframes I created a command like this ffmpeg -ss <starttime> -i  -to <duration> -acodec copy -vcodec h264 </duration></starttime>
    As I’ve seen in some Forums it is possible to handle the keyframe-issue by inserting manually Keyframes but I’ve found nothing about how exactly this could be done and weather it really helps.?
    And how exact could it become if I re-encode the whole thing like in my second command and do I need to re-encode the audio Stream too ?

    EDIT : Or is it better to use the trim filter ?

    PS.:As I’m new to this network I hope not to have created a duplicate and to have it sorted into the right section. (And apologize my English skills)

  • FFmpeg concat creating corrupted video part (Media Info provided)

    6 mai 2022, par krv

    I am using concat to join a list of video files with the following command

    &#xA;

    ffmpeg -f concat -safe 0 -i filesList.txt -c copy output.mp4 &#xA;

    &#xA;

    The issue here is that there are a few files that were recorded in slow motion on my phone. The slow-motion files have the same frame rate as the other files.

    &#xA;

    But when concatenated the part where the slow-motion files are concatenated appears to be frozen / glitch (it does not play a single frame).

    &#xA;

    I am able to seek forward and backward the part that does not play. So the portion of the video that contained normal files plays and as soon as the slow-motion video comes, nothing plays, and when a normal file comes it starts playing again.

    &#xA;

    I am attaching the media Info of both files

    &#xA;

    Info of the slow motion file :

    &#xA;

    General&#xA;Complete name :     I:\concate Test\VID20210727114100.mp4&#xA;Format :    MPEG-4&#xA;Format profile :    Base Media / Version 2&#xA;Codec ID :  mp42 (isom/mp42)&#xA;File size :     27.6 MiB&#xA;Duration :  1 min 0 s&#xA;Overall bit rate :  3 825 kb/s&#xA;Encoded date :  UTC 2021-07-27 06:11:08&#xA;Tagged date :   UTC 2021-07-27 06:11:08&#xA;xyz :   &#x2B;21.6146&#x2B;071.2342/&#xA;com.android.version :   11&#xA;&#xA;Video&#xA;ID :    1&#xA;Format :    HEVC&#xA;Format/Info :   High Efficiency Video Coding&#xA;Format profile :    Main@L3.1@Main&#xA;Codec ID :  hvc1&#xA;Codec ID/Info :     High Efficiency Video Coding&#xA;Duration :  1 min 0 s&#xA;Source duration :   1 min 0 s&#xA;Bit rate :  3 771 kb/s&#xA;Width :     1 280 pixels&#xA;Height :    720 pixels&#xA;Display aspect ratio :  16:9&#xA;Frame rate mode :   Variable&#xA;Frame rate :    30.000 FPS&#xA;Minimum frame rate :    29.910 FPS&#xA;Maximum frame rate :    30.090 FPS&#xA;Real frame rate :   240.000 FPS&#xA;Color space :   YUV&#xA;Chroma subsampling :    4:2:0&#xA;Bit depth :     8 bits&#xA;Bits/(Pixel*Frame) :    0.136&#xA;Stream size :   27.2 MiB (99%)&#xA;Source stream size :    27.2 MiB (99%)&#xA;Title :     VideoHandle&#xA;Language :  English&#xA;Encoded date :  UTC 2021-07-27 06:11:08&#xA;Tagged date :   UTC 2021-07-27 06:11:08&#xA;Color range :   Limited&#xA;Color primaries :   BT.709&#xA;Transfer characteristics :  BT.709&#xA;Matrix coefficients :   BT.709&#xA;mdhd_Duration :     60524&#xA;Codec configuration box :   hvcC&#xA;

    &#xA;

    Info of the regular video file

    &#xA;

    &#xA;General&#xA;Complete name :     I:\concate Test\VID20210727113901.mp4&#xA;Format :    MPEG-4&#xA;Format profile :    Base Media / Version 2&#xA;Codec ID :  mp42 (isom/mp42)&#xA;File size :     39.0 MiB&#xA;Duration :  37 s 930 ms&#xA;Overall bit rate :  8 615 kb/s&#xA;Encoded date :  UTC 2021-07-27 06:09:40&#xA;Tagged date :   UTC 2021-07-27 06:09:40&#xA;xyz :   &#x2B;21.6146&#x2B;071.2342/&#xA;com.android.version :   11&#xA;&#xA;Video&#xA;ID :    1&#xA;Format :    HEVC&#xA;Format/Info :   High Efficiency Video Coding&#xA;Format profile :    Main@L4@Main&#xA;Codec ID :  hvc1&#xA;Codec ID/Info :     High Efficiency Video Coding&#xA;Duration :  37 s 930 ms&#xA;Source duration :   37 s 900 ms&#xA;Bit rate :  8 408 kb/s&#xA;Width :     1 920 pixels&#xA;Height :    1 080 pixels&#xA;Display aspect ratio :  16:9&#xA;Frame rate mode :   Variable&#xA;Frame rate :    29.604 FPS&#xA;Minimum frame rate :    29.508 FPS&#xA;Maximum frame rate :    29.605 FPS&#xA;Real frame rate :   30.000 FPS&#xA;Color space :   YUV&#xA;Chroma subsampling :    4:2:0&#xA;Bit depth :     8 bits&#xA;Bits/(Pixel*Frame) :    0.137&#xA;Stream size :   38.0 MiB (98%)&#xA;Source stream size :    38.0 MiB (98%)&#xA;Title :     VideoHandle&#xA;Language :  English&#xA;Encoded date :  UTC 2021-07-27 06:09:40&#xA;Tagged date :   UTC 2021-07-27 06:09:40&#xA;Color range :   Limited&#xA;Color primaries :   BT.709&#xA;Transfer characteristics :  BT.709&#xA;Matrix coefficients :   BT.709&#xA;mdhd_Duration :     37930&#xA;Codec configuration box :   hvcC&#xA;&#xA;Audio&#xA;ID :    2&#xA;Format :    AAC LC&#xA;Format/Info :   Advanced Audio Codec Low Complexity&#xA;Codec ID :  mp4a-40-2&#xA;Duration :  37 s 909 ms&#xA;Bit rate mode :     Constant&#xA;Bit rate :  128 kb/s&#xA;Channel(s) :    2 channels&#xA;Channel layout :    L R&#xA;Sampling rate :     48.0 kHz&#xA;Frame rate :    46.875 FPS (1024 SPF)&#xA;Compression mode :  Lossy&#xA;Stream size :   592 KiB (1%)&#xA;Title :     SoundHandle&#xA;Language :  English&#xA;Encoded date :  UTC 2021-07-27 06:09:40&#xA;Tagged date :   UTC 2021-07-27 06:09:40&#xA;&#xA;&#xA;

    &#xA;

  • ffmpeg with nginx rtmp multiple udp not streaming well

    16 septembre 2017, par Dlniya Dlzar

    I am using ffmpeg for live streaming via nginx rtmp , i am streaming 20 streams for each server (UDP to rtmp) i wrote small python script to loop
    through each streams and run following command for each stream, but each time i start streaming some of the streams not working , i mean ffmpeg not send to nginx , if i use (http to rtmp or rtmp to rtmp etc) everything is working fine just when i use (udp to rtmp) this problem happen , please advice . sorry for bad English : this is my command

    ffmpeg -i udp://localhost:3000 -filter_complex
    [0]yadif[main];movie=/root/ftc/logo/logo3.png[logo];[main]
    [logo]overlay=650:10" -c:a aac -ac 1 -strict -2 -c:v libx264 -maxrate 2000k
    -bufsize 2000k -g 40 -r 23 -preset ultrafast -threads 1 -f flv
    rtmp://localhost:3000/live/stream1 null >/dev/null
    2>/var/log/ffmpeg.log &amp;