Recherche avancée

Médias (91)

Autres articles (111)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

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

  • FFMPEG "Invalid data found when processing input" MP4 to MP3

    10 février 2014, par CubeBoy69

    I have a question. I'm converting videos from youtube to mp3. From 1000 files around 150 files this message is in the log.

    /home/desktop/www/tmp/314629.mp4 : Invalid data found when processing input

    The thing is it's only about 10% of the conversions. How can i solve this issue ?

    I'm converting like this

    ffmpeg -y -i /home/desktop/www/tmp/'.$random_flv_name.'.'.$download_format.' -vn -map_metadata -1 -ab 192k /home/desktop/www/audio/'.$yt_video_id.'/songtitle.mp3
  • FFMPEG "Invalid data found when processing input" MP4 to MP3 PHP

    10 février 2014, par CubeBoy69

    I have a question. I'm converting videos from youtube to mp3. From 1000 files around 150 files this message is in the log.

    /home/desktop/www/tmp/314629.mp4 : Invalid data found when processing input

    The thing is it's only about 10% of the conversions. How can i solve this issue ?

    I'm converting like this

    ffmpeg -y -i /home/desktop/www/tmp/'.$random_flv_name.'.'.$download_format.' -vn -map_metadata -1 -ab 192k /home/desktop/www/audio/'.$yt_video_id.'/songtitle.mp3

  • H264 encoder settings

    30 novembre 2011, par Chris Robinson

    I'm using xuggler to encode a series of images to an MP4 file. I use the following code to setup the IStreamCoder and specify the H264 codec :

    // only set if codec is H264
    Configuration.configure("/usr/local/xuggler/share/ffmpeg/libx264-hq.ffpreset",
               outStreamCoder);

    outStreamCoder.setNumPicturesInGroupOfPictures(12);
    outStreamCoder.setCodec(codec);
    outStreamCoder.setBitRate(videoSettings.getBitrate());
    outStreamCoder.setBitRateTolerance(videoSettings.getBitrateTolerance());
    outStreamCoder.setPixelType(IPixelFormat.Type.YUV420P);
    outStreamCoder.setHeight(videoSettings.getResolution().height);
    outStreamCoder.setWidth(videoSettings.getResolution().width);
    outStreamCoder.setFlag(IStreamCoder.Flags.FLAG_QSCALE, true);
    outStreamCoder.setGlobalQuality(0);
    fps = IRational.make((int) videoSettings.getFramerate(), 1);
    outStreamCoder.setFrameRate(fps);
    outStreamCoder.setTimeBase(IRational.make(fps.getDenominator(), fps.getNumerator()));

    which yields the following output :

    Codec: CODEC_ID_H264
    Resolution: 1280x720
    Bitrate: 25000
    Bitrate Tolerance: 1000
    Framerate: 25.0

    H264 encoded video

    Now when I specify the MPEG4 codec, I get the following output :

    Codec: CODEC_ID_MPEG4
    Resolution: 1280x720
    Bitrate: 25000
    Bitrate Tolerance: 1000
    Framerate: 25.0

    MPEG4 encoded video

    As you can see, the only difference is the ICodec type (MPEG4 instead of H264) and the use of the preset (which is required by xuggler when using an H264 codec). Can anyone explain to me the huge difference in quality and tell me how to resolve the issue ?