Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (76)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • id3 reading from mp3 files

    2 octobre 2012, par payal

    i have the below script for reading mp3 files id3.i have checked manually that id3 tags are there in mp3 files but my output always returns for few files
    MP3 file does not have any ID3 tag !. i am converting these files from ffmpeg when i run the below code for original files it shows the id3 tags but when i run for converted files (by ffmpeg) it is not showing any id3 tags . i have downloaded both original and converted file and check and found that both files is having exactly same tags but the below code give MP3 file does not have any ID3 tag !. for converted file

    here is code

    <?php
    $mp3 = "4.mp3"; //The mp3 file.

    $filesize = filesize($mp3);
    $file = fopen("4.mp3", "r");

    fseek($file, -128, SEEK_END); // It reads the

    $tag = fread($file, 3);

    if($tag == "TAG")
    {
        $data["title"] = trim(fread($file, 30));

        $data["artist"] = trim(fread($file, 30));

        $data["album"] = trim(fread($file, 30));

        $data["year"] = trim(fread($file, 4));

         $data["genre"] = trim(fread($file, 1));



      }
      else
        die("MP3 file does not have any ID3 tag!");

      fclose($file);

      while(list($key, $value) = each($data))
      {
        print("$key: $value<br />\r\n");    
     }
    ?>    
  • Keep blender rendered high quality images during video creation (ffmpeg)

    31 janvier 2021, par Tobi

    I created an animation in Blender and exported each frame as high quality picture. However, putting them together using ffmpeg reduces the quality (I also tried the video export from Blender but I am not an expert in video codecs and all related topics). I converted the single frames into a video by using the following command :

    &#xA;

    ffmpeg -f image2 -i %4d.png -r 60 -crf 0 -vcodec libx264 blenderVideo.mp4

    &#xA;

    The resulting frame from the video is given in the picture below. As one can see, the shining rings are clearly visible but in the original picture it is completely smooth. Any idea how to overcome this problem ? Maybe it is stupid to think that I can get the original qualities. Probably, if I upload it somewhere, it gets compressed in any case and it is not worth to investigate into that topic too much. However, I am interested and there are specialists out who can directly tell if it is worth or not.

    &#xA;

    Compressed image via ffmpeg

    &#xA;

  • FFmpeg concat protocol and keyframes

    11 janvier 2023, par Rems

    I am trying to use to the concat protocol but I have troubles with keyframes

    &#xA;

    I use this ffprobe command to visualize the keyframes pts of my videos :

    &#xA;

    ffprobe -loglevel error -select_streams v:0 -show_entries packet=pts_time,flags -of csv=print_section=0 inout.mp4  | awk -F&#x27;,&#x27; &#x27;/K/ {print $1}&#x27;

    &#xA;

    Here is my process : I have the original video, with these keyframes :

    &#xA;

    0.000000 5.000000 9.760000 14.240000  18.440000 ...

    &#xA;

    I trim the first 5 seconds, so the output has these keyframes :

    &#xA;

    0.000000 4.760000 9.240000 13.440000 ...

    &#xA;

    I create a 5 seconds video by looping an image, with the same parameters/codec... that were used to produce the original video. This video just has one keyframe at 0.000000

    &#xA;

    Then I concat this video with the trimmed video like this :

    &#xA;

    ffmpeg -f concat -safe 0 -i list.txt -c copy -shortest  output.mp4 -y

    &#xA;

    But when I look for the keyframes of the output video, I get this :

    &#xA;

    0.021016 5.035000 9.795000 14.275000 ...

    &#xA;

    Is this behavior normal ? Should I add a parameter to handle keyframes during concatenation ? Thanks

    &#xA;