Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

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

Autres articles (90)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (10214)

  • Set a subtitle language using ffmpeg

    19 mars 2017, par Sam

    I tried googling a way to set the language of a subtitle stream with ffmpeg and found the -slang option. So I tried the following command but immediately receive an error :

    ffmpeg -i input.avi -i subs.srt -c:a copy -c:s mov_text -slang eng -c:v libx264 -profile:v high -level:v 4.0 output.mp4
    ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
    built on Jul 18 2013 23:00:53 with Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)

    libavutil 52. 13.100 / 52. 13.100

    libavcodec 54. 86.100 / 54. 86.100

    libavformat 54. 59.106 / 54. 59.106

    libavdevice 54. 3.102 / 54. 3.102

    libavfilter 3. 32.100 / 3. 32.100

    libswscale 2. 1.103 / 2. 1.103

    libswresample 0. 17.102 / 0. 17.102

    libpostproc 52. 2.100 / 52. 2.100

    Unrecognized option ’slang’.

    Error splitting the argument list : Option not found

    After more googling I found another way to do it using the -metadata command :

    ffmpeg -i input.mp4 -i subs.srt -c:a copy -c:v copy -c:s mov_text -metadata:s:s:0 language=eng output.mp4

    And that works absolutely fine. But this isn’t mentioned in the ffmpeg man page, whereas -slang is, which makes me think the -metadata command is maybe outdated or in some other way not as good as -slang.

    1. What is the difference between using the two above methods (-slang vs -metadata) ?
    2. Why did my -slang command give an error ? Have I used it incorrectly ?
  • ffempg editing metadata major_brand

    29 juillet 2013, par circler

    Hello I have an MP4 video, I want to change the creation_time using ffmepg, without changing the rest of metadata. but I am facing some problems..

    The major_brand and more stuff are changed. I want those to be the same. if I put it in ffprobe.exe this is what I see :

       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '6.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp41mp42isom
       creation_time   : 2013-03-23 16:25:53
     Duration: 00:00:06.55, start: 0.000000, bitrate: 919 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x480,
    862 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc
       Metadata:
         creation_time   : 2013-03-23 16:25:53
         handler_name    : Core Media Video
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 62 k
    b/s
       Metadata:
         creation_time   : 2013-03-23 16:25:53
         handler_name    : Core Media Audio

    I want to change the creation_time of the video, when I run :

    ffmpeg.exe -i 6.mp4 -metadata creation_time="2013-06-22 15:00:00" -acodec copy -vcodec copy output.mp4

    I get :

    Output #0, mp4, to 'output.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp41mp42isom
       creation_time   : 2013-06-22 15:00:00
       encoder         : Lavf55.12.102
       Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 480x480, q=
    2-31, 862 kb/s, 29.97 fps, 19200 tbn, 600 tbc
       Metadata:
         creation_time   : 2013-03-23 16:25:53
         handler_name    : Core Media Video
       Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, mono, 62 kb
    /s
       Metadata:
         creation_time   : 2013-03-23 16:25:53
         handler_name    : Core Media Audio
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=  194 fps=0.0 q=-1.0 Lsize=     738kB time=00:00:06.61 bitrate= 913.9kbits
    /s

    According to the output and because I chose "-acodec copy -vcodec copy" everything should stay the same. But when I run ffprobe for the newly created .mp4 file. Here is the output :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 2013-06-22 15:00:00
       encoder         : Lavf55.12.102
     Duration: 00:00:06.62, start: 0.000000, bitrate: 913 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x480,
    862 kb/s, 29.97 fps, 30 tbr, 19200 tbn, 38400 tbc
       Metadata:
         creation_time   : 2013-06-22 15:00:00
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 62 k
    b/s
       Metadata:
         creation_time   : 2013-06-22 15:00:00
         handler_name    : SoundHandler

    As you see everything has changed, even though i chose to keep everything the same.

    Please help me on this. Thanks !

  • Why audio element currentTime on ffmpeg encoded mp3 file in Chrome browser does not work

    26 juillet 2013, par Peter

    I have an HTML5 audio element :

    <audio preload="auto">
       <source src="./Sound/recording.mp3" type="audio/mpeg">
    </source></audio>

    and I need to be able to play last 4 seconds from mp3 recording. My javaScript is :

    audio.currentTime = audio.duration-4;
    audio.play();

    Works ok in IE10 and Firefox, but Chrome starts playing from a wrong place. The difference between reported audio.currentTime and actual playback position is about 20s. The recording.mp3 is created with ffmpeg :

    ffmpeg -i recording.wav -ab 32k recording.mp3

    It works, when I strip the ID3v2 header from the recording.mp3 (deleting the first couple bytes in the file before the audio data).

    It also works when I compress to ogg. Can somebody point me to the right direction (ffmpeg switches, audio element attributes or whatever) to get it work also in chrome ?

    Thanks in advance

    EDIT :
    the ffmpeg output :

    ffmpeg version N-53528-g160ea26 Copyright (c) 2000-2013 the FFmpeg developers
     built on May 27 2013 15:20:09 with gcc 4.7.3 (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-libvo-aacenc --enable-libvo-
    amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
    enable-libxvid --enable-zlib
     libavutil      52. 34.100 / 52. 34.100
     libavcodec     55. 12.100 / 55. 12.100
     libavformat    55.  7.100 / 55.  7.100
     libavdevice    55.  1.101 / 55.  1.101
     libavfilter     3. 72.100 /  3. 72.100
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    [wav @ 0433e840] max_analyze_duration 5000000 reached at 5015510 microseconds
    Guessed Channel Layout for  Input Stream #0.0 : mono
    Input #0, wav, from &#39;recording.wav&#39;:
     Duration: 02:30:07.86, bitrate: 176 kb/s
       Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 11025 Hz, mono, s16, 176 kb/s
    Output #0, mp3, to &#39;recording.mp3&#39;:
     Metadata:
       TSSE            : Lavf55.7.100
       Stream #0:0: Audio: mp3 (libmp3lame), 11025 Hz, mono, s16p, 32 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (pcm_s16le -> libmp3lame)
    Press [q] to stop, [?] for help
    size=   35188kB time=02:30:07.86 bitrate=  32.0kbits/s
    video:0kB audio:35187kB subtitle:0 global headers:0kB muxing overhead 0.000672%