Recherche avancée

Médias (91)

Autres articles (65)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (10924)

  • convert ffprobe -show_streams audio stream bitrate to kbps

    10 juillet 2014, par SethjBack

    For the purpose of converting a video, I am getting some basic information about the audio stream of the video file using ffprobe :

    ffprobe -v quiet -show_streams -select_streams a -of json ../intro.m4v

    This gives me a nice json output :

    "streams": [
           {
               "index": 1,
               "codec_name": "mp3",
               "codec_long_name": "MP3 (MPEG audio layer 3)",
               "codec_type": "audio",
               "codec_time_base": "1/44100",
               "codec_tag_string": "mp4a",
               "codec_tag": "0x6134706d",
               "sample_fmt": "s16p",
               "sample_rate": "44100",
               "channels": 2,
               "channel_layout": "stereo",
               "bits_per_sample": 0,
               "r_frame_rate": "0/0",
               "avg_frame_rate": "0/0",
               "time_base": "1/44100",
               "start_pts": 0,
               "start_time": "0.000000",
               "duration_ts": 8637696,
               "duration": "195.866122",
               "bit_rate": "302869",
               "nb_frames": "7498",
               "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
               }

    When converting the video, I only want to convert the audio stream if the bitrate is higher than my target (e.g. 96kbps).

    Given the output above, how do I make the audio bitrate comparison ? Can I convert the bit_rate number above into kbps ? Do I need more information to do the conversion ?

    Thank you for the help,

  • How to detect anamorphic video with FFProbe ?

    29 mai 2015, par FlavorScape

    This is the output I get using FFProbe for a video I’m certain is anamorphic. I’ve converted it as a test with ffmpeg and the results are consistent with the video having a different PAR and DAR (video is squished). I ran some command line params to fix anamorphic video and it worked. Possibly my diagnosis is incorrect, the PAR and DAR are just plain wrong ?

    The code I used to "correct" the anamamorphic is

    --custom-anamorphic --display-width 1280 --keep-display-aspect --modulus 8 --crop 0:0:0:0

    Is there an additional command with FFProbe to detect for anamorphic ? So far I’m just seeing if the sample_aspect_ratio and display_aspect_ratio are the same or not.

    Additionally, a ratio of 0:1 seems incorrect. My video is not infinitely wide. Is there a bug with FFProbe output ?

    This is the command

    -print_format json -show_format -show_streams {originalFilePath}

    FFProbe version N-54233-g86190af built on Jun 27 2013 outputs the following :

    "Output{
       \"streams\": [
           {
               \"index\": 0,
               \"codec_name\": \"h264\",
               \"codec_long_name\": \"H.264/AVC/MPEG-4AVC/MPEG-4part10\",
               \"profile\": \"Main\",
               \"codec_type\": \"video\",
               \"codec_time_base\": \"1/5994\",
               \"codec_tag_string\": \"avc1\",
               \"codec_tag\": \"0x31637661\",
               \"width\": 1280,
               \"height\": 720,
               \"has_b_frames\": 0,
               \"sample_aspect_ratio\": \"0: 1\",
               \"display_aspect_ratio\": \"0: 1\",
               \"pix_fmt\": \"yuv420p\",
               \"level\": 31,
               \"r_frame_rate\": \"2997/100\",
               \"avg_frame_rate\": \"2997/100\",
               \"time_base\": \"1/2997\",
               \"start_pts\": 0,
               \"start_time\": \"0.000000\",
               \"duration_ts\": 204100,
               \"duration\": \"68.101435\",
               \"bit_rate\": \"3894381\",
               \"nb_frames\": \"2041\",
               \"disposition\": {
                   \"default\": 0,
                   \"dub\": 0,
                   \"original\": 0,
                   \"comment\": 0,
                   \"lyrics\": 0,
                   \"karaoke\": 0,
                   \"forced\": 0,
                   \"hearing_impaired\": 0,
                   \"visual_impaired\": 0,
                   \"clean_effects\": 0,
                   \"attached_pic\": 0
               },
               \"tags\": {
                   \"creation_time\": \"2013-05-0318: 33: 37\",
                   \"language\": \"eng\",
                   \"handler_name\": \"AppleAliasDataHandler\"
               }
           },
           {
               \"index\": 1,
               \"codec_name\": \"aac\",
               \"codec_long_name\": \"AAC(AdvancedAudioCoding)\",
               \"codec_type\": \"audio\",
               \"codec_time_base\": \"1/44100\",
               \"codec_tag_string\": \"mp4a\",
               \"codec_tag\": \"0x6134706d\",
               \"sample_fmt\": \"fltp\",
               \"sample_rate\": \"44100\",
               \"channels\": 2,
               \"bits_per_sample\": 0,
               \"r_frame_rate\": \"0/0\",
               \"avg_frame_rate\": \"0/0\",
               \"time_base\": \"1/44100\",
               \"start_pts\": 0,
               \"start_time\": \"0.000000\",
               \"duration_ts\": 3003392,
               \"duration\": \"68.104127\",
               \"bit_rate\": \"125304\",
               \"nb_frames\": \"2933\",
               \"disposition\": {
                   \"default\": 0,
                   \"dub\": 0,
                   \"original\": 0,
                   \"comment\": 0,
                   \"lyrics\": 0,
                   \"karaoke\": 0,
                   \"forced\": 0,
                   \"hearing_impaired\": 0,
                   \"visual_impaired\": 0,
                   \"clean_effects\": 0,
                   \"attached_pic\": 0
               },
               \"tags\": {
                   \"creation_time\": \"2013-05-0318: 33: 37\",
                   \"language\": \"eng\",
                   \"handler_name\": \"AppleAliasDataHandler\"
               }
           }
       ],
       \"format\": {
           \"filename\": \"\\\\\\\\dell690\\\\vsf\\\\_asset_intake\\\\v2\\\\ed69c939-4fe1-40dd-a045-db72ed2e0009\\\\original\\\\USTC_Overview2.mov\",
           \"nb_streams\": 2,
           \"format_name\": \"mov,
           mp4,
           m4a,
           3gp,
           3g2,
           mj2\",
           \"format_long_name\": \"QuickTime/MOV\",
           \"start_time\": \"0.000000\",
           \"duration\": \"68.100000\",
           \"size\": \"34267583\",
           \"bit_rate\": \"4025560\",
           \"tags\": {
               \"major_brand\": \"qt\",
               \"minor_version\": \"537199360\",
               \"compatible_brands\": \"qt\",
               \"creation_time\": \"2013-05-0318: 33: 37\"
           }
       }
    }"
  • Merge Audio and Video with ffmpeg but keep the metadata

    1er août 2018, par fred beauchamp

    I’m doing a karaoke app on mobile and using the default player to cast the sound over Bluetooth. I would like to have information like the tempo and key in my receiver. I though about adding metadata to the mp3 embedded in the mp4 but when I append the mp3 to the mp4 container the metadata disappear.

    • I have a dummy mp4 with no sound streams (only video)
    • I use ffmpeg with :

      ffmpeg -i noSound.mp4 -i .sound.mp3 -c:v copy -c:a copy output.mp4

    Console Output