Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (74)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les images

    15 mai 2013
  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (13105)

  • 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 !

  • ffmpeg fast but accurate seek in avi

    21 mars 2019, par C.M.

    I’ve built a small pipeline to automatically cut and enhance video files which I recorded.

    I detect scenes by using the ffmpeg’s select='gt(scene,0.4)',showinfo filter. After parsing these information I run ffmpeg for each scene to produce single video files for them, for example :

    ffmpeg -y -i test.avi -ss 00:00:00.00 -to 00:00:54.61 -c copy test_1.avi
    ffmpeg -y -i test.avi -ss 00:00:54.61 -to 00:01:38.21 -c copy test_2.avi
    ffmpeg -y -i test.avi -ss 00:01:38.21 -to 00:01:59.45 -c copy test_3.avi
    [...]

    As you can see I use the -ss and -to parameters to specify where the output files should start and end. This is working very well but it becomes very, very slow over time since my original file size is 50 gigabytes.

    I guess that -ss lets ffmpeg seek from the beginning of the original file to the start time as I can observe disk action when seeking.

    Placing the -ss param before the -i input file is faster but very inaccurate (off by some seconds).

    Is there maybe any trick to increase the cut/trim performance without losing the accuracy ?

    I also tried to convert the input file to MP4 which decreases the file size and seek time significantly. But then I had keyframe errors and I want to operate on the original files.

    Thank you !

  • How to set metadata year for a mp3 file and fetch it back in android ?

    6 mai 2019, par Aashit Shah

    I have been changing the metadata of input mp3 file and storing it in output all the metadata is successfully changing but the year metadata is getting as null.

    Below is my code.

    This is how I fetch the metadata in android :

        MediaMetadataRetriever mmr = new MediaMetadataRetriever();
                 mmr.setDataSource(input);
                 String Album = mmr.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM);
                 String Artist = mmr.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST);
                 String Title = mmr.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE);
                 String Composer = mmr.extractMetadata(MediaMetadataRetriever.METADATA_KEY_COMPOSER);
                 String Genre = mmr.extractMetadata(MediaMetadataRetriever.METADATA_KEY_GENRE);
                 String Year = mmr.extractMetadata(MediaMetadataRetriever.METADATA_KEY_YEAR);
                 Log.e("date","date"+mmr.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DATE));