Recherche avancée

Médias (91)

Autres articles (103)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

  • Cutting video with FFMPEG produces corrupted video file [closed]

    5 juillet 2024, par m0ntr3

    Im using FFmpeg library for trimming videos. The problem comes when I try to get a thumbnail from that video using MediaMetadataRetriever - getFrameAtTime() ; and on my logcat I can see this error - getFrameAtTime : videoFrame is a NULL pointer. This is the command I use to cut/trim the video files - "-ss", TrimmerUtils.formatCSeconds(lastMinValue),
"-i", String.valueOf(filePath),
"-t",
TrimmerUtils.formatCSeconds(lastMaxValue - lastMinValue),
"-async", "1", "-strict", "-2", "-c", "copy", outputPath
Im using Android Studio with Java if that does matter. Im only assuming its producing a corrupt file.

    


    If someone can help me that would be very appreciated !

    


  • FFMPEG Can I overlay an image larger than a video, on a video ?

    5 mars 2019, par vadus1

    Can I overlay an image larger than a video, on a video ?

    I have a mp4 file with 320x*,

    It turns out I can not find out the height of the video, that crop the image for the overlay video.

    ffmpeg -i input.mp4 -i transback.png -filter_complex "[0:0] scale=320:-2 [wm]; [1:0] scale=320:-2:force_original_aspect_ratio=decrease [prog], [wm][prog]overlay" fart.mp4

    I will try to execute this command, but not luck ;
    I got it.

    enter image description here

  • How to replace the video track of a part of a video file ?

    17 juin 2019, par yukashima huksay

    I have an mp4 file like this(same format but longer) :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'N1.2.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2018-10-31T13:44:21.000000Z
     Duration: 00:28:54.21, start: 0.000000, bitrate: 10295 kb/s
       Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 9972 kb/s, 50 fps, 50 tbr, 50k tbn, 100 tbc (default)
       Metadata:
         creation_time   : 2018-10-31T13:44:21.000000Z
         handler_name    : ?Mainconcept Video Media Handler
         encoder         : AVC Coding
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
       Metadata:
         creation_time   : 2018-10-31T13:44:21.000000Z
         handler_name    : #Mainconcept MP4 Sound Media Handler

    I also have another video file that is 3 minutes long. and has no audio. What is the fastest way to encode the other video in a way that it is encoded like my main video and then replace the last three minutes of the video track of my original video with this ?

    In other words.
    I have video A that is 1 hour long. With the encoding shown above.

    I have video B that is 3 minutes long with no audio. with a random encoding.

    I want to have video C with the same encoding and same audio as A. But it’s video track would be the first 57 minutes of A + B(which is 3 minutes).

    I want to do this as fast as possible so I would like to not re encode A.

    I know how to concatenate two videos, I use this command :

    ffmpeg -f concat -i files.txt -c copy res.mp4