Recherche avancée

Médias (91)

Autres articles (46)

  • 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 (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (8991)

  • How to specify an offset and a seek position for a video stream of a mp4 container ?

    29 mai 2019, par maximedupre

    It seems like I can have one or the other (-ss or -itsoffset), but never both at the same time, or they kind of cancel each other.

    I create output.mp4 with this command :

    ffmpeg -i input.mp3 -itsoffset 4 -t 4 -ss 3 -i input.mp4 -c:v copy output.mp4

    With this command, I expect the audio to start playing right away, and the video to start playing 4 seconds later, seeked at 3 seconds into the video.

    However, when I play input.mp4, the video starts only one second later than the audio (as opposed to 4 seconds). I suppose it does a "offset - seek = 1" type of thing.

    How can I prevent the seeking from affecting the offset ?

    Cheers !

  • avformat/mux : Call check_packet() more directly

    16 mai 2020, par Andreas Rheinhardt
    avformat/mux : Call check_packet() more directly
    

    Call it directly from write_packets_common() instead of indirectly
    through prepare_input_packet().

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/mux.c
  • ffmpeg output images filename with time position

    6 novembre 2020, par AoEmaster

    I am using ffmpeg to get some jpg from my video at a specific rate (one screenshot every 5 seconds) with this command :

    &#xA;&#xA;

    ffmpeg -i source -f image2 -r 1/5 %d.jpg&#xA;

    &#xA;&#xA;

    This works and give me sequential filenames :

    &#xA;&#xA;

    1.jpg&#xA;2.jpg&#xA;3.jpg&#xA;4.jpg&#xA;

    &#xA;&#xA;

    What if I need to know at which time those screenshots have been taken ? Something like a timestamp :

    &#xA;&#xA;

    00:00:00.0000.jpg&#xA;00:00:05.0000.jpg&#xA;00:00:10.0000.jpg&#xA;00:00:15.0000.jpg&#xA;

    &#xA;&#xA;

    or the number of seconds :

    &#xA;&#xA;

    0.jpg&#xA;5.jpg&#xA;10.jpg&#xA;15.jpg&#xA;

    &#xA;&#xA;

    I tried again with the new -frame_pts option :

    &#xA;&#xA;

    ffmpeg -i source -f image2 -r 1/5 -frame_pts 1 %d.jpg&#xA;

    &#xA;&#xA;

    I got similar sequential filenames, but now they are starting from zero :

    &#xA;&#xA;

    0.jpg&#xA;1.jpg&#xA;2.jpg&#xA;3.jpg&#xA;

    &#xA;