Recherche avancée

Médias (91)

Autres articles (41)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

Sur d’autres sites (8819)

  • Subtitles aren't being burnt into the video | embedding srt into video frames [closed]

    29 février 2024, par X3R0

    Describe the bug

    


    I'm trying to burn a subtitles.srt file onto the video (having the subtitle embeded within the frames themselves)

    


    To Reproduce

    


    both `input.mp4` and `subtitles.srt` are available to the WASM FFMPEG FS
const converted = await ffmpegRef.current.exec([
    '-i', "input.mp4", // Input File
    '-i', 'subtitles.srt',  // Burn subtitles into video
    '-vf', 'subtitles=subtitles.srt',  // Burn subtitles into video
    "output.mp4" // Output File
]);


    


    Expected behavior

    


    The Subtitles should be burned into the video.

    


    Desktop :

    


      

    • OS : Windows 10
    • 


    • Browser Chrome
    • 


    • Version 122.0.6261.94 (Official Build) (64-bit) (cohort : M122 Rollout)
    • 


    


    Additional context

    


    Example extract from the subtitles.srt file

    


    1
00:00:00,280 --> 00:00:01,379
Hi,

2
00:00:01,379 --> 00:00:01,679
and

3
00:00:01,679 --> 00:00:01,980
welcome

4
00:00:01,980 --> 00:00:02,200
to

5
00:00:02,200 --> 00:00:03,220
ClipDrop.

6
00:00:03,799 --> 00:00:03,919
Congratulations

7
00:00:03,919 --> 00:00:04,400
on

8
00:00:04,400 --> 00:00:04,719
being

9
00:00:04,719 --> 00:00:05,040
selected

10
00:00:05,040 --> 00:00:05,259
to

11
00:00:05,259 --> 00:00:05,480
do


    


  • FFMPEG Video to still images and back to video loss less

    4 novembre 2012, par Rigoni

    I'm trying to extract image from an uncompressed AVI video using ffmpeg with the command :

       ffmpeg -i sorce.avi -f image2 -pix_fmt bgr24 images/%1d.bmp

    All is ok, but now I need to revert these images back to a video file.
    I'm trying using this command :

       ffmpeg -f image2 -r 24 -i marked/%1d.bmp -y -vcodec ffv1 -pix_fmt bgr24 test.avi

    But, the output video is compressed and with bad quality.

    Is there any way to extract the images in RGB format and than back to a lossless video ?

    I also tryed to use -vcodec rawvideo, but the quality still bad.

    Best regards.

  • To concat two videos, one of which is the first video webcam recorder and the other is the normal video(Mp4) using ffmpeg

    8 décembre 2020, par Zargam Husayn

    Two videos have to be join in which the first video is a webcam recorder and the other is a normal video in which the first video I set up plays correctly but the second video does not play, only the audio is heard.

    


     foreach ($video as $value) {
            exec("ffmpeg -i ".$this->APP_PATH.$value." -c:v libx264 -c:a aac -b:a 192k ".$this->TEMP_PATH.++$this->temp_file.".mp4");
            exec("ffmpeg -i ".$this->TEMP_PATH.$this->temp_file.".mp4 -c:a aac -ar 48000 -ac 2 -c:v copy -video_track_timescale 600 ".$this->TEMP_PATH.++$this->temp_file.".mp4");
            $text .= "file '".$this->TEMP_PATH.$this->temp_file.".mp4'\n";
        }
        
        $file = $this->TEMP_PATH.++$this->temp_file.".txt";
        //chmod($this->TEMP_PATH, 0777);
        file_put_contents($file,$text);
        chmod($file, 0777);

        Log::info(" ********** file paths ********** ".$text);

        exec("ffmpeg -safe 0 -f concat -i ".$file." -c copy ".$this->TEMP_PATH.$this->final);