Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (19)

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

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (2379)

  • ffmpeg quality with watermark

    17 juin 2012, par trialgod

    i want to add a watermark to a video with ffmpeg. At this time nearly all things are computing properly, except the quality of the new video is massively lower than in the one of the original video.

    I also use ffmpeg-php and tried to set the minrate to the Bitrate of the original, but then i get an Error. Code seems like this at the moment.

    $video     = new ffmpeg_movie('hot_wheels_for_adults.flv');
    $watermark = 'path/to/watermark.png';
    $width     = $video->getFrameWidth();
    $height    = $video->getFrameHeight();
    $exec = 'ffmpeg -i hot_wheels_for_adults.flv ' .
           '-y -vf "movie=' . $watermark . ' ' .
           '[watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" ' .
           '-f flv -s ' . $width . 'x' . $height . ' ' .
           '-minrate ' . $video->getBitRate() . ' ' .
           'bla2.flv';

    Thats it. Without the '-minrate' line the quality isnt good.
    Originalrate = 630615,
    Rate of new Video = 328000.

    With the '-sameq' flag i got a good quality, but it is raised from 6,5MB to nearly 30MB...

    What can i do now ?

  • Merge filename.mp4.tmp with filename.mp4

    10 janvier 2017, par Sathish

    How to merge a abc.mp4.tmp swap file with actual abc.mp4 file. I was trying to recording a live event using Wowza Media server 3.6 and the recorded file was not muxed properly at final moment. The abc.mp4.tmp swap file was not merged with actual abc.mp4 file. So could someone tell me how to merge the abc.mp4.tmp and abc.mp4 file and creates a new file and I can able to play with vlc

    Here is the mediainfo of the files

    [root@ip-ss-21-98-2 content]# mediainfo 03_03_2014_12_03_08.mp4
    General
    Complete name                            : 03_03_2014_12_03_08.mp4
    Format                                   : MPEG-4
    Format profile                           : Adobe Flash
    Codec ID                                 : f4v
    File size                                : 5.20 GiB


    [root@ip-ss-21-98-2 content]# mediainfo 03_03_2014_12_03_08.mp4.tmp
    General
    Complete name                            : 03_03_2014_12_03_08.mp4.tmp
    File size                                : 38.3 MiB
  • Joining and cutting mpeg 2 video files

    4 janvier 2012, par D.Rosado

    I have multiple mpeg2 video files. What I need to do is get a clip of video that is contained in several of these mpeg2 videos. What I'm doing at the moment is :

    • Join them using the command :

         copy /b file1.mpg + ... + fileN.mpg output.mpg
    • The ouput.mpg duration is wrong so I'm using FFMpeg to fix that :

         ffmpeg -y -i output.mpeg -target pal-dvd outputFixed.mpg

    The problem is when I try to extract only one portion of this output.mpg, at the same time I "fix" it, with the -ss and -t FFMpeg commands becouse the video duration is wrong as i said.

    So the question is :

    • Is there any way to combine Mpeg2 files without getting the duration wrong ?
    • Is there any way to fix the duration of a Mpeg2 file and extract one portion at the same time ?

    Any suggestion would be appreciated.