Recherche avancée

Médias (91)

Autres articles (26)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (4451)

  • Adjusting video length to fit audio length in FFmpeg

    8 avril 2015, par Spreadys

    This has been driving me mad !
    I have video.avi, a raw uncompressed video with a duration of 6mins
    I have audio.wav, a raw uncompressed audio with a duration of 9mins

    I need to mux these together, but map the timing information from the audio.
    Using Vsync 2 I would hope that video frames get duplicated in order to do this.

    My current (failed) attempt is

    ffmpeg -i video.avi -i audio.wav
    - c:v rawvideo -c:a copy
    - vsync 2 -map 0:0,1:0 -map 1:0,1:0
    newvideo.avi

    My understanding is that the -map first designates what file:stream, and this is followed by the file:stream to be used for timing information.

    I have attempted all my usual research methods in an attempt to avoid asking but it is still resulting in the avi container holding two streams with the video length unchanged.
    If anyone can shed some light on my errors, I would be very grateful....or if you need further info - please ask !

    Thanks
    David

    Any guidance on what other information may promote some suggestions to where i’m going wrong also appreciated.
    Thanks

  • Error using avisynth script as input to ffmpeg

    5 avril 2015, par ComputerVisioner

    I’ve searched the internet and haven’t found a solution. I hope this question does not come off as a duplicate.

    I have the following files in the same folder :

    • ffmpeg.exe (32-bit version)
    • IN.mp4 (video codec - AVC , audio codec - PCM)
    • RUN_FILE.bat and RUN_AVS.bat batch files
    • SCRIPT.avs (avisynth script file)
    • MSharpen.dll (sharpening filter for avisynth)

    The text within RUN_FILE.bat :

    ffmpeg -i "IN.mp4" -c:v libx264 -crf 24 -c:a libmp3lame -aq 2 OUT.mp4

    The text within RUN_AVS.bat :

    ffmpeg -i "SCRIPT.avs" -c:v libx264 -crf 24 -c:a libmp3lame -aq 2 OUT.mp4

    The text within SCRIPT.avs (3 lines) :

    LoadPlugin("D:\MSharpen.dll")

    DirectShowSource("D:\IN.MP4")

    MSharpen(15,150)

    If I try loading the avisynth script with an external program such as media player classic it works fine (and sharpens the video frames).

    Going to the command line and running RUN_FILE.bat works as expected, however running RUN_AVS.bat I get the following error (see screenshot) :

    error message

    I find this confusing as ffmpeg is configured with --enable-avisynth.

    I’d appreciate help with this - This is part of a larger and very important project (automatically scanning a folder with hundreds of video files, sharpening and re-encoding them to another folder with the same filenames).

  • Android mp4 remove rotation and rotate the video stream

    4 mars 2015, par Mathijs Segers

    I’m having some issues trying to remove the rotation value of Android video’s.
    For some reason convertion tools in the cloud cannot seem to handle android’s rotation value correctly. f/e I have a portrait video recorded in 1080x1920 (so the file’s headers tell me it’s actually 1920x1080 with rotation : 90).

    So now I’m trying to convert these video’s to an actual 1080x1920 format when they have this rotation value but i’m kind of stuck, probably using the wrong search terms on SO and Google.

    In the hope of making things clear I’ve actually added some ffmpeg libs to android following these steps, of course with some changes to parameters. I’m building this on a Mac and this all works fine now.
    http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/

    Now the following, I have no real clue how these libs work and how to use them or which I actually need or if I even need them at all.

    Is there anyone who can point me in the right direction of solving my issue ? Basicly the video’s are on my android filesystem and I can access them fully, before uploading I want to check the values and remove and rotate the video’s if needed.