Recherche avancée

Médias (91)

Autres articles (17)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (3302)

  • rtpdec_h264 : Use avpriv_report_missing_feature instead of a manual av_log

    29 avril 2016, par Martin Storsjö
    rtpdec_h264 : Use avpriv_report_missing_feature instead of a manual av_log
    

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/rtpdec_h264.c
  • Manual audio sync with ffmpeg

    2 juin 2019, par Serg

    I have 2 inputs : video and audio. Both inputs are 287 sec delay.
    And audio has 10 second sync issue.

    what I want is shift audio either forward or back with 10 sec and always keep the video length.

    V -----------------

    A xxx-----------------

    OR

    V -----------------

    A --------------xxx

    for that I’m using :

    ffmpeg -y -i video_only.mp4 -i audio_only.aac -filter_complex "[1]adelay=10s|10s,asetpts=PTS-STARTPTS[a]" -map 0 -map [a] -c:v copy -t 287 out.mp4

    and

    ffmpeg -y -i video_only.mp4 -i audio_only.aac -filter_complex "[1]atrim=start=10,asetpts=PTS-STARTPTS[a]" -map 0 -map [a] -c:v copy -t 287 out.mp4

    Could you please recommend better way to do it ? For example in some cases audio could be longer than video file, and this is why I need to specify -t 287 all the time. Can I avoid -t if I use apad in conjunction with atrim and use -shortest or it’s not possible ? Because when I’m trying to do it, mixing process doesn’t stop even in hours...

    I also saw some examples with -ss and -itsoffset. Do they faster than atrim,adelay ? And most important part I need 100% accuracy.

    Thanks in advance !

  • Why m3u8 file does not play well when i manual change m3u8 file

    27 mai 2022, par nancy

    I use ffmpeg to change mp4 to .ts

    &#xA;

    ffmpeg -y -i [fileName].mp4 -vcodec copy  -vbsf h264_mp4toannexb [outPutFileName].ts&#xA;

    &#xA;

    And get the following index.m3u8 file

    &#xA;

    #EXTM3U&#xA;#EXT-X-VERSION:3&#xA;#EXT-X-MEDIA-SEQUENCE:0&#xA;#EXT-X-ALLOW-CACHE:YES&#xA;#EXT-X-TARGETDURATION:22&#xA;#EXTINF:21.804344,&#xA;out-0000.ts&#xA;#EXTINF:10.847822,&#xA;out-0001.ts&#xA;#EXTINF:12.239122,&#xA;out-0002.ts&#xA;#EXT-X-ENDLIST&#xA;

    &#xA;

    And then i use hls.js play this file

    &#xA;

    It works fine

    &#xA;

    But now i want to change this index.m3u8 file to this (copy this out02.ts twice, to repeat out02.ts)

    &#xA;

    #EXTM3U&#xA;#EXT-X-VERSION:3&#xA;#EXT-X-MEDIA-SEQUENCE:0&#xA;#EXT-X-ALLOW-CACHE:YES&#xA;#EXT-X-TARGETDURATION:22&#xA;#EXTINF:21.804344,&#xA;out-0000.ts&#xA;#EXTINF:10.847822,&#xA;out-0001.ts&#xA;#EXTINF:12.239122,&#xA;out-0002.ts&#xA;#EXTINF:12.239122,&#xA;out-0002.ts&#xA;#EXTINF:12.239122,&#xA;out-0002.ts&#xA;#EXT-X-ENDLIST&#xA;

    &#xA;

    The result is this video play time change as expected

    &#xA;

    but out02 does not repeat, when it play to end of first out02.ts, screen stuck at the begin of out00

    &#xA;

    Why it does not work fine when i edit this file by myself ?&#xA;or i shoule use ffmpeg update this index.m3u8 file ?

    &#xA;