Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (57)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (10879)

  • FFMPEG + SDL : How To Show Multi Frames In Separate Region ?

    19 mai 2014, par user3051473

    I’m using ffmpeg and SDL to develop an camera monitor APP and I want to show four separate streams at the same time(via four rtsp source). As following figure out :

    Now I achieve this by setting the SDL display region, and I identify different display region by using the different SDL_Rect identifying by the variable i(from 1 - 4).

    But this cause the efficient problem. For every region, I need to scale to the whole screen and lock/unlock screen, then display.

    I’m wondering that, Can I merge 4 different AVFrame(come from REG1 - REG4) into the whole picture and then show this picture ?

    Hope that the describe about is detail enough for you to konw my problem.
    Also thanks for your help.

    -------------------
    -        -        -
    -  REG1  -  REG2  -
    -        -        -
    -------------------
    -        -        -
    -  REG3  -  REG4  -
    -        -        -
    -------------------

    public void ShowFrame(AVFrame *pFrame, AVCodecContext *pCodecContext)
    {
       SDL_LockYUVOverlay(pBmp);
       AVPicture pict;

       // TODO scale pFrame to pict
       // ...

       SDL_UnlockYUVOverlay(pBmp);

       // WIDTH and HEIGHT represent the whole screen size
       SDL_Rect rect;
       rect.x = (WIDTH / 2) * (i % 2);
       rect.y = (HEIGHT / 2) * (i > 1 ? 1: 0);
       rect.w = WIDTH / 2;
       rect.h = HEIGHT / 2;
       SDL_DisplayYUVOverlay(pBmp, &rect);
    }
  • How to show segment lengths of hls file with ffmpeg

    30 mai 2017, par endorphins

    I’m trying to use ffmpeg to retrieve the segment duration of every segment for every stream of an HLS file. It looks like I can do this if I know all of the names of the individual files in advance and call ffprobe on each one. This seems really tedious and I won’t always know the names of all of the individual files, only the main .m3u8. Is there any way I can get all of this information with just one ffmpeg command ?

    Additionally, is the duration retrieved by ffprobe on a .aac file accurate ? I get the message that it’s "Estimating duration from bitrate, this may be inaccurate".

  • Using ffmpeg create an android playable music slide show

    22 avril 2014, par user2637966

    I am now creating a music slide mp4 video and going to play it in android device with ffmpeg.

    I used the following command to accomplish this mission.

    The first one is to inputting a batch of jpg files and convert it to a mp4 file.

    1.)C:/xampp/htdocs/bin/ffmpeg -y -r 1/5 -i C:/xampp/htdocs/bin/%03d.jpg -c:v libx264 -profile:v baseline -level 3.0 -r 30 -pix_fmt yuv420p C:/xampp/htdocs/bin/out.mp4

    The second one is to putting the audio to the previous created video.

    2.)C:/xampp/htdocs/bin/ffmpeg -i C:/xampp/htdocs/bin/out.mp4 -i C:/xampp/htdocs/upload/1.mp3 -y -map 0 -map 1 -codec copy -shortest C:/xampp/htdocs/bin/haha.mp4"

    Both of the command are correct and created the mp4 file. However only out.mp4 can be played in android deivce while haha.mp4 cannot.

    So it seems the audio track violate the android mp4 requirement. What should the second command be so that i can play the mp4 file in android device.