Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (71)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (6034)

  • ffmpeg : edit metadata and automatically increment their name + set the value of "Title" based on "Name"

    29 décembre 2018, par J. Does

    This PowerShell code divides a large audio file (sound1) in 5 minutes parts and saves them as sound100_1.mp3, sound1_002.mp3...

    ffmpeg -i $file_name_complete -f segment -segment_time 300 -c copy $fileNameOnly"_"%03d$fileExtensionOnly
    • How can I set the metadata title to be the same than the file name ?

    • And how can I also (on the same time) edit the Album metadata with an incremental name (it’s useless, but it’s to understand how that work). It should be alb_1, alb_2.

    I have seen on the docs that I should use :

    -metadata title="my title"

    But :

    • should I repeat each time -metadata for each metadata ? EDIT : yes according to this

    • how can I increment the number since the title need to be quoted (-metadata title="$fileNameOnly""_"%03d won’t work since the last quote is missing)

    • how can I set the title field so it take the same value than the Name ?


    This did not work :

    ffmpeg -i $file_name_complete -f segment -segment_time 300
          -metadata title="$fileNameOnly""_"%03d album="test"
          -c copy $fileNameOnly"_"%03d$fileExtensionOnly

    I get this error :

    -metadata : The term ’-metadata’ is not recognized as the name of a cmdlet

  • ffmpeg command with action subprocess

    1er juillet 2018, par MathJunkiey

    I want to run this command in a python script

    cmd = 'ffmpeg -ss ' + start_time + ' -i remove_takeoff.mp4 -filter_complex "[0]trim=0,setpts=PTS-STARTPTS[b];[b][0]overlay=shortest=1" -shortest -c:a trimmed_takeoff.mp4'

    I’m using the following code snippet

    import subprocess
    import shlex

    cmd = # the command
    suprocess.call(shlex.split(cmd))

    I’m getting the following error

    Trailing options were found on the commandline.

    The above error occurring because the shlex.split command is converting the double quotes of the part into single quote. How to avoid this from happening. Can anyone suggest me a solutions for this problem.

    Check the full error trace below.

    ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-15)
     configuration: --prefix=/home/vkv/anaconda3
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libavresample   3.  7.  0 /  3.  7.  0
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    Trailing options were found on the commandline.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'remove_takeoff.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.67.100
     Duration: 00:00:14.00, start: 0.000000, bitrate: 15883 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 15881 kb/s, 20 fps, 20 tbr, 10240 tbn, 40 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Filter overlay has an unconnected output
  • Revision 37406 : Le cron toute les minutes Amélioration de pleins de petites choses ...

    18 avril 2010, par kent1@… — Log

    Le cron toute les minutes
    Amélioration de pleins de petites choses
    Incrément mineur de la version