Recherche avancée

Médias (91)

Autres articles (111)

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

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

  • ffmpeg timecode based on filename

    9 mars 2023, par marven

    I have xxxxx videofiles that need to get a timecode (for working in premiere)
The filenames are all like this 2023-03-08 12.59.59 AndSomeRandowNumbers.
Is that possible with ffmpeg ?
Or if that is not possible : can ffmpeg use an other date from the metadata and use that as timecode (with exiftool is possible to use the filename and write it as creation date, and other, but not as timecode) ?

    


    ffmpeg -i file.mov -map 0 -map -0:d -c copy -timecode 02:10:22:33 outputfile.mov
that is the code that works to change the timecode to 02:10:22:33

    


  • ffprobe not showing language tag for ASS files in Ubuntu

    9 juillet 2023, par Efraín

    This is something that has me totally lost, because I'm not sure what could I have done, but from one week to another, "language" stopped appearing in the tags of an ASS track on a MKV. I know this just started to appear, because just last week I ended working on an script to detect the language of tracks, and today that I decided to test it again, I noted that it started to fail, and from my debug it's because ffprobe is now printing this

    


    {
    "index": 2,
    "codec_name": "ass",
    "codec_long_name": "ASS (Advanced SSA) subtitle",
    "codec_type": "subtitle",
    "codec_tag_string": "[0][0][0][0]",
    "codec_tag": "0x0000",
    "r_frame_rate": "0/0",
    "avg_frame_rate": "0/0",
    "time_base": "1/1000",
    "start_pts": 0,
    "start_time": "0.000000",
    "duration_ts": 1430816,
    "duration": "1430.816000",
    "disposition": {
        "default": 1,
        "dub": 0,
        "original": 0,
        "comment": 0,
        "lyrics": 0,
        "karaoke": 0,
        "forced": 0,
        "hearing_impaired": 0,
        "visual_impaired": 0,
        "clean_effects": 0,
        "attached_pic": 0,
        "timed_thumbnails": 0
    },
    "tags": {
        "BPS-eng": "85",
        "DURATION-eng": "00:23:34.830000000",
        "NUMBER_OF_FRAMES-eng": "262",
        "NUMBER_OF_BYTES-eng": "15128",
        "_STATISTICS_WRITING_APP-eng": "mkvmerge v40.0.0 ('Old Town Road + Pony') 32-bit",
        "_STATISTICS_WRITING_DATE_UTC-eng": "2023-07-02 11:29:54",
        "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES"
    }
}


    


    Where it should be a field called "language" in the "tags", like this(Note that other file types, like SRT, or audio tracks show it correctly)

    


    "tags": {
    "language": "eng",
    "BPS-eng": "128000",
    "DURATION-eng": "00:23:50.813000000",
    "NUMBER_OF_FRAMES-eng": "61620",
    "NUMBER_OF_BYTES-eng": "22893018",
    "_STATISTICS_WRITING_APP-eng": "mkvmerge v40.0.0 ('Old Town Road + Pony') 32-bit",
    "_STATISTICS_WRITING_DATE_UTC-eng": "2023-07-02 11:29:54",
    "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES"
}


    


    The weird part is that is the same file I used for testing(And it worked), and I haven't edited it, so I'm not sure why is this happening, Does someone knows if I might have messed up something installing a library for another thing that might have caused it ?

    


    Just in case is necessary, this is the command I use : ffprobe -v quiet -print_format json -show_streams <file></file>

    &#xA;

  • FFmpeg with m3u8 playlist : Invalid data found when processing input [closed]

    15 mai 2023, par anthnyprschka

    I get the following error when I try to open a playlist with FFmpeg :

    &#xA;

    ffmpeg version 2023-03-05-git-912ac82a3c-essentials_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband&#xA;  libavutil      58.  3.100 / 58.  3.100&#xA;  libavcodec     60.  6.100 / 60.  6.100&#xA;  libavformat    60.  4.100 / 60.  4.100&#xA;  libavdevice    60.  2.100 / 60.  2.100&#xA;  libavfilter     9.  4.100 /  9.  4.100&#xA;  libswscale      7.  2.100 /  7.  2.100&#xA;  libswresample   4. 11.100 /  4. 11.100&#xA;  libpostproc    57.  2.100 / 57.  2.100&#xA;playlist.m3u8: Invalid data found when processing input&#xA;

    &#xA;

    Command I use :

    &#xA;

    ffmpeg [-allowed_extensions ALL] -i playlist.m3u8 -c copy playlist.mp4&#xA;

    &#xA;

    Playlist file :

    &#xA;

    #EXTM3U&#xA;#EXTINF:-1,0&#xA;https://20230515.s3.eu-central-1.amazonaws.com/output0000f.mp4&#xA;#EXTINF:-1,1&#xA;https://20230515.s3.eu-central-1.amazonaws.com/output0001f.mp4&#xA;#EXTINF:-1,2&#xA;https://20230515.s3.eu-central-1.amazonaws.com/output0002f.mp4&#xA;

    &#xA;

    The playlist plays fine in VLC player

    &#xA;