Recherche avancée

Médias (91)

Autres articles (95)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (12844)

  • Touble when excuting the same ffmpeg command for many times

    4 janvier 2015, par morndust

    Decription

    when using the same ffmpeg command for a couple of times, some of those will succeed, but, some of those would failed, ffmpeg report Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height or Invalid data found when processing input error.

    Input

    ffprobe

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/2137b8d42dcf4607a625755994133e69':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.4.101
     Duration: 00:01:00.02, start: 0.021333, bitrate: N/A
       Chapter #0.0: start 0.000000, end 60.000000
       Metadata:
         title           : 00:00:00.000
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x798 [SAR 1:1 DAR 320:133], 3255 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 192 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574), 0 kb/s
       Metadata:
         handler_name    : SubtitleHandler

    Command

    /usr/local/bin/ffmpeg -i /tmp/2137b8d42dcf4607a625755994133e69 -f mp4 -b:v 3000k -r 24.0 -map_metadata -1 -vf scale=50:50 -y /tmp/foo.mp4

    Detail

    when i excute same command above 10 times, error would occur like 3 - 4 times.

    At the end, thanks for reading anyway, any answer would be appriciated.

  • dts to m4a (aac) encoding - qaac, neroaacenc encoder output issues

    9 avril 2014, par user8979

    greets

    I want to encode a dts 5.1 audio source to m4a (aac) 5.1 with same playback duration.
    Intend to use either qaac or neroAacEnc.

    The output is the same per encoder with .mkv and .dts extracted from .mkv as input audio source.
    .mkv source piped to encoder using ffmpeg
    .dts source piped to encoder using ffmpeg and wavi with .avs input, .avs using NicAudio avisynth plugin, to decode .dts source for separate encodes to confirm if challenges encountered were from ffmpeg or elsewhere (both produced the same issues so concluded the issues originated from the respective encoders)

    • qaac output is same duration as .mkv
      issues : mediainfo reports output is 2ch while mediatab and ffmpeg report output is 5.1ch (lfe)

      mediainfo :

      Channel(s) : 2 channels
      Channel(s)_Original : 6 channels
      Channel positions : Front : L C R, Side : L R, LFE
      this channel position and channel combination is not possible, so which is it ?

      ffmpeg (5.1 info bold) :

      Stream #0:0(und) : Audio : aac, 5.1, fltp

      mediatab :

      Channel(s) : 6 channels
      ChannelPositions : Front : L C R, Side : L R, LFE

    • neroaacenc output has same channels, 5.1
      issue : ffmpeg reports output is longer than mkv audio track by 0.06 seconds (60 ms) and it begins after 0.054677 seconds (54.667 ms)

      Chapter #0.0 : start 0.054667

    Questions :

    1. qaac output
      • is the output stream 2ch or 5.1ch ?
      • if it is 2ch, what qaac option(s) leave the channels in output same as input AND report the correct channels ?
      • if the output is 5.1ch, does this mean every qaac output keeps the input channels (without using —chanmap or other such options) ? if so then its easy to ignore mediainfo channel information for qaac encodes.
        • why did mediainfo report 2ch ? could the stream report incorrect channels to a media player (implies incorrect playback) ? is there any way to get rid of the misleading channel information shown in mediainfo ? (expecting the information to be stored in the file, that is where would like to get rid of it)
    2. neroaacenc output
      • how can one ensure neroaacenc output is exact same duration as input ?
      • if not possible to change the output duration, does that mean when muxing audio with video, include the 54.667 ms delay to maintain sync ? (audio delay of -0.054667 s in this case) ?

    Commandlines were many so not included. Let me know if they would be helpful.

  • FFMPEG subtitle : mov_text removal

    27 mars 2014, par user3461178

    I have problems with subtitles. My video playout can not play them. So I have been trying to remove it.

    C:\Users\Jakub\Desktop\eclipse\workspace\tvpohoda_archiv>"c:\\lib/ffmpeg/bin/ffm
    peg.exe" -i "videa/1050028-CITRON_-_Uz_zavrate_ridnou_c.m4v"  -sn -c:a copy -c:v
    copy  "videa/1050028-CITRON_-_Uz_zavrate_ridnou_c2.mov"
    ffmpeg version N-57650-gcb52d6d Copyright (c) 2000-2013 the FFmpeg developers
     built on Oct 30 2013 20:35:46 with gcc 4.8.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
    cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
    ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 48.100 / 52. 48.100
     libavcodec     55. 39.100 / 55. 39.100
     libavformat    55. 19.104 / 55. 19.104
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 90.100 /  3. 90.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'videa/1050028-CITRON_-_Uz_zavrate_ridno
    u_c.m4v':
     Metadata:
       major_brand     : M4V
       minor_version   : 512
       compatible_brands: isomiso2avc1
       encoder         : Lavf55.19.104
     Duration: 00:04:56.49, start: 0.021333, bitrate: 7239 kb/s
       Chapter #0.0: start 0.000000, end 296.400000
       Metadata:
         title           : Chapter 1
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x576 [
    SAR 212:225 DAR 53:45], 6997 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 24
    0 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574)
       Metadata:
         handler_name    : SubtitleHandler
    File 'videa/1050028-CITRON_-_Uz_zavrate_ridnou_c2.mov' already exists. Overwrite
    ? [y/N] y
    Output #0, mov, to 'videa/1050028-CITRON_-_Uz_zavrate_ridnou_c2.mov':
     Metadata:
       major_brand     : M4V
       minor_version   : 512
       compatible_brands: isomiso2avc1
       encoder         : Lavf55.19.104
       Chapter #0.0: start 0.021000, end 296.421000
       Metadata:
         title           : Chapter 1
       Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 720x576 [SAR 212
    :225 DAR 53:45], q=2-31, 6997 kb/s, 25 fps, 12800 tbn, 12800 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 240 kb/s
    (default)
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame= 7408 fps=0.0 q=-1.0 Lsize=  262031kB time=00:04:56.49 bitrate=7239.9kbits
    /s
    video:253116kB audio:8700kB subtitle:0 global headers:0kB muxing overhead 0.0820
    40%

    Or :

    C:\Users\Jakub\Desktop\eclipse\workspace\tvpohoda_archiv>"c:\\lib/ffmpeg/bin/ffm
    peg.exe" -i "videa/1050028-CITRON_-_Uz_zavrate_ridnou_c.m4v"  -map 0:0 -map 0:1
    -c:a copy -c:v copy  "videa/1050028-CITRON_-_Uz_zavrate_ridnou_c2.mov"
    ffmpeg version N-57650-gcb52d6d Copyright (c) 2000-2013 the FFmpeg developers
     built on Oct 30 2013 20:35:46 with gcc 4.8.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
    cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
    ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 48.100 / 52. 48.100
     libavcodec     55. 39.100 / 55. 39.100
     libavformat    55. 19.104 / 55. 19.104
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 90.100 /  3. 90.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'videa/1050028-CITRON_-_Uz_zavrate_ridno
    u_c.m4v':
     Metadata:
       major_brand     : M4V
       minor_version   : 512
       compatible_brands: isomiso2avc1
       encoder         : Lavf55.19.104
     Duration: 00:04:56.49, start: 0.021333, bitrate: 7239 kb/s
       Chapter #0.0: start 0.000000, end 296.400000
       Metadata:
         title           : Chapter 1
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x576 [
    SAR 212:225 DAR 53:45], 6997 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 24
    0 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574)
       Metadata:
         handler_name    : SubtitleHandler
    Output #0, mov, to 'videa/1050028-CITRON_-_Uz_zavrate_ridnou_c2.mov':
     Metadata:
       major_brand     : M4V
       minor_version   : 512
       compatible_brands: isomiso2avc1
       encoder         : Lavf55.19.104
       Chapter #0.0: start 0.021000, end 296.421000
       Metadata:
         title           : Chapter 1
       Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 720x576 [SAR 212
    :225 DAR 53:45], q=2-31, 6997 kb/s, 25 fps, 12800 tbn, 12800 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 240 kb/s
    (default)
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame= 2702 fps=0.0 q=-1.0 size=   95498kB time=00:01:48.03 bitrate=7241.6kbits/
    frame= 4436 fps=4435 q=-1.0 size=  157319kB time=00:02:57.38 bitrate=7265.2kbits
    frame= 6296 fps=4196 q=-1.0 size=  223194kB time=00:04:11.77 bitrate=7262.0kbits
    frame= 7408 fps=4121 q=-1.0 Lsize=  262031kB time=00:04:56.49 bitrate=7239.9kbit
    s/s
    video:253116kB audio:8700kB subtitle:0 global headers:0kB muxing overhead 0.0820
    40%

    But it did not worked, subtitles have stayed there.

    i am normally starting this ffmpeg from java but this files are from command line

    Please can you help me ?