Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (77)

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

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (4359)

  • Why doesn't the lame mp3 codec (libmp3lame) create XingHeaders ?

    5 novembre 2012, par user784637

    I downloaded a video from youtube whose audio was encoded in aac and transcoded it to an mp3 using the libmp3lame codec.

    $ ffmpeg -i video.mp4 -vn -acodec libmp3lame -- test.mp3

    Now when I try to write id3 tags to it using the taglib example tagwriter I get the following warning :

    $ ./testwriter -t 'stuff' test.mp3
    TagLib: MPEG::XingHeader::parse() -- Xing header doesn't contain the total stream size.

    The id3 tags are written and display correctly, but the lack of the XingHeaders causes older players to loop the song several times.

    Why doesn't the lame mp3 codec create XingHeaders ? How do I create XingHeaders ?

  • Batch convert MP3 and static image to AVI with FFMPEG

    8 décembre 2013, par user3027136

    I'm tired of searching for this problem. I have found 2 solutions here, but both work only partially.
    What I want to do is to convert all the MP3 inside a folder (if possible subfolders, too) to avi or anything else accepted by Youtube. I have created 2 .bat that should do this (according to the other threads here). They don't, one of them creates the avi without the image (black) and the other seems to capture the screen.
    Here they are.
    If you know about ffmpeg please point me to the right direction. Thank you.

    This one uses mp3info.exe - to be honest I have no idea what mp3info does, I just guess it finds the lenght of the song to be mathed later with the length of the video.

    @echo off
    for %%a in (*.mp3) do (
    for /f "delims=" %%b in ('mp3info.exe -p %%S "%%a"') do (
    ffmpeg -i "%%a" -loop 1 -r 1 -i "cover.jpg" -acodec copy "%%~na.mp4" -t %%b
    )
    )

    This seems more simple, runs faster but captures the screenshot and ignores the cover.jpg file.

    @echo off
    for %%A IN (*.mp3) DO ffmpeg -i "%%A" -i "cover.jpg" "%%A.mpg"
    done

    mp2info.exe, cover.jpeg and the .bat scripts are in the same folder with the .mp3 files.

  • ffmpeg - which video rate is correct ?

    7 mai 2014, par mast kalandar

    I am using ubuntu 13.04

    Version of ffmpeg is ffmpeg version N-61041-g52a2138

    Through php, I am calling ffmpeg commands to extract images and do some modification in those images and again merge those images back to video.

    While merging all images through ffmpeg command, I need to pass video bit rates.

    Command is as below

    public function mergeImagesToVideo($frame_no,$user_directory_name,$video_bit_rates,&$output,&$status){
           /* merge all of frames to create one second video */

           $user_frames_path=$GLOBALS["all_user_dir_path"].$user_directory_name."/";

           $command= $GLOBALS['ffmpeg'].' -f image2 -r 30 -i '.
                     $user_frames_path.'f'.$frame_no.'_%d.png -r 30 -b:v '
                     .$video_bit_rates.'k '.$user_frames_path.'f'.$frame_no.'.mp4';

           //echo $command;
           exec($command,$output,$status);
           return;
       }

    The call is made as below

    $this->mergeImagesToVideo($start_second,$user_directory,$video_bit_rates,$output,$status);

                 if($status!=0){
                   echo "some thing went wrong in merging all images to create a video <br />";
                 }

    Now When check bit rates through ffmpeg command output is like as below

    ffmpeg -i f1.mp4

    This command shows 7303 kb/s

    enter image description here

    While I right click the image and show properties, it shows 7295 kbps

    enter image description here

    Which is the correct one ?? Not getting correct line..

    Thanks in advance.