Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (57)

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

  • ffmpeg produces "is_avc" = false with h264_nvenc & tee muxer

    14 août 2018, par Areeb111

    I am using ffmpeg for encoding MKV (Matroska Video files) to 2x MP4 (H264 - 720p Main@L4) & (H264 - 360p Baseline@L3.1).

    Having really strange problem when using -c:v h264_nvenc and tee muxer then the produced output file is having is_avc=false even i have checked the same input matroska file with another server running with Intel QuickSync -c:v h264_qsv with the same command then the produced output file is is_avc=true.

    The main goal that i want the is_avc=true is because the files must be played using nginx-vod-module which requires the AVC video format to be streamed.

    Steps to reproduce the problem :

    • Custom ffmpeg build with NVENC support ffmpeg version N-91182-gbdf1bbd Copyright (c) 2000-2018 the FFmpeg developers   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)
    • ffprobe version 4.0.2-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2007-2018 the FFmpeg developers
    • Running ffmpeg command line with NVENC and tee muxer
      /root/ffmpeg  -y -t 00:00:50 -i "testinput.mkv" -filter_complex "[0:v]split=2[s0][s1];[s0]scale=-2:720[v0];[s1]scale=-2:360[v1]" -map "[v0]" -map "[v1]" -map 0:a -c:v h264_nvenc -b:v:0 1100k -b:v:1 600k -profile:v:0 main -profile:v:1 baseline -level:v:0 4 -level:v:1 3.1 -ac 2 -c:a aac -b:a 128k -af "aresample=async=1000:first_pts=0"  -f tee "[select=\'v:0,a\']testoutput.mp4|[select=\'v:1,a\']testoutput-360.mp4"
    • Running ffprobe for the output file to check "is_avc" :
      ./ffprobe -v quiet -print_format json -show_format -show_streams testoutput.mp4
    • My current ffprobe output results are :

      ./ffprobe -v quiet -print_format json -show_format -show_streams testoutput.mp4
      {
         "streams": [
             {
                 "index": 0,
                 "codec_name": "h264",
                 "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
                 "profile": "Main",
                 "codec_type": "video",
                 "codec_time_base": "1001/48000",
                 "codec_tag_string": "avc1",
                 "codec_tag": "0x31637661",
                 "width": 1280,
                 "height": 720,
                 "coded_width": 1280,
                 "coded_height": 720,
                 "has_b_frames": 0,
                 "sample_aspect_ratio": "1:1",
                 "display_aspect_ratio": "16:9",
                 "pix_fmt": "yuv420p",
                 "level": 40,
                 "chroma_location": "left",
                 "refs": 1,
                 "is_avc": "false",
                 "nal_length_size": "0",
                 "r_frame_rate": "24000/1001",
                 "avg_frame_rate": "24000/1001",
                 "time_base": "1/24000",
                 "start_pts": 984,
                 "start_time": "0.041000",
                 "duration_ts": 1201200,
                 "duration": "50.050000",
                 "bit_rate": "845035",
                 "bits_per_raw_sample": "8",
                 "nb_frames": "1199",
                 "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": {
                     "language": "und",
                     "handler_name": "VideoHandler"
                 }
             },
             {
                 "index": 1,
                 "codec_name": "aac",
                 "codec_long_name": "AAC (Advanced Audio Coding)",
                 "profile": "LC",
                 "codec_type": "audio",
                 "codec_time_base": "1/48000",
                 "codec_tag_string": "mp4a",
                 "codec_tag": "0x6134706d",
                 "sample_fmt": "fltp",
                 "sample_rate": "48000",
                 "channels": 2,
                 "channel_layout": "stereo",
                 "bits_per_sample": 0,
                 "r_frame_rate": "0/0",
                 "avg_frame_rate": "0/0",
                 "time_base": "1/48000",
                 "start_pts": 0,
                 "start_time": "0.000000",
                 "duration_ts": 2401488,
                 "duration": "50.031000",
                 "bit_rate": "129153",
                 "max_bit_rate": "129153",
                 "nb_frames": "2346",
                 "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": {
                     "language": "ger",
                     "handler_name": "SoundHandler"
                 }
             }
         ],
         "format": {
             "filename": "Leonmusssterben20171080p.mp4",
             "nb_streams": 2,
             "nb_programs": 0,
             "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
             "format_long_name": "QuickTime / MOV",
             "start_time": "0.000000",
             "duration": "50.031000",
             "size": "6116472",
             "bit_rate": "978029",
             "probe_score": 100,
             "tags": {
                 "major_brand": "isom",
                 "minor_version": "512",
                 "compatible_brands": "isomiso2avc1mp41",
                 "encoder": "Lavf58.17.100"
             }
         }
      }

    Please anyone can help me why is the output video file is getting "is_avc=false" ?

    Is there any option to force it ?

    Thank you

  • How to stop ffmpeg from manipulating mp3 metadata ?

    13 septembre 2024, par he rambled

    I'm using ffmpeg to change bitrate of my mp3 files. It works well, but one thing is very frustrating.

    



    ffmpeg automatically changes some of metadata fields. Specifically it converts ID3v2.3 to ID3v2.4, and it does it incorrectly. For example, it writes TYER field that actually does not exist in ID3v2.4. But the most frustrating thing is, it converts USLT field to lyrics-LANGCODE(like lyrics-eng). Most of music players does not recognise this tag !

    



    I don't want ffmpeg to mess up with metadata fields. I just want it to change bitrate. Is there anyway to tell ffmpeg that it should not touch any metadata fields ?

    



    I'm running ffmpeg 4.0.2 in windows 64bit. Options are :

    



    ffmpeg -i input.mp3 -codec:a libmp3lame -b:a 128k output.mp3


    



    And no, -id3v2_version 3 did not help. It corrected TYER problem, but not lyrics problem.

    


  • Difference between 'display_aspect_ratio' and 'sample_aspect_ratio' in ffprobe [duplicate]

    18 juin 2018, par John Allard

    This question already has an answer here :

    I have an issue where a video is played in the correct 16:9 aspect ratio when played through VLC or quicktime player, but when I attempt to extract individual frames with ffmpeg the frames come out as 4:3 aspect ratio.

    The ffprobe output on the video in question is as follows

    $ ffprobe -v error -select_streams v:0 -show_entries stream -of default=noprint_wrappers=1 -print_format json movie.mp4

    {
    "programs": [

    ],
    "streams": [
       {
           "index": 0,
           "codec_name": "h264",
           "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
           "profile": "Main",
           "codec_type": "video",
           "codec_time_base": "126669/6400000",
           "codec_tag_string": "avc1",
           "codec_tag": "0x31637661",
           "width": 2592,
           "height": 1944,
           "coded_width": 2592,
           "coded_height": 1944,
           "has_b_frames": 0,
           "sample_aspect_ratio": "4:3",
           "display_aspect_ratio": "16:9",
           "pix_fmt": "yuvj420p",
           "level": 50,
           "color_range": "pc",
           "color_space": "bt709",
           "color_transfer": "bt709",
           "color_primaries": "bt709",
           "chroma_location": "left",
           "refs": 1,
           "is_avc": "true",
           "nal_length_size": "4",
           "r_frame_rate": "25/1",
           "avg_frame_rate": "3200000/126669",
           "time_base": "1/12800",
           "start_pts": 0,
           "start_time": "0.000000",
           "duration_ts": 126682,
           "duration": "9.897031",
           "bit_rate": "4638928",
           "bits_per_raw_sample": "8",
           "nb_frames": "250",
           "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": {
               "language": "und",
               "handler_name": "VideoHandler"
           }
       }
    ]
    }

    So it says

       "width": 2592,
       "height": 1944,
       "coded_width": 2592,
       "coded_height": 1944,
       "has_b_frames": 0,
       "sample_aspect_ratio": "4:3",
       "display_aspect_ratio": "16:9",

    which seems odd to me. The width/height are in 4:3, the sample aspect ratio is 4:3, the display is 16:9 ?

    Now, when I play this through VLC/Quicktime the video looks fine (screenshot below)

    enter image description here

    but now, if I run an ffmpeg command to extract individual frames from this video, they come out in 4:3

    ffmpeg -y -hide_banner -nostats -loglevel error -i movie.mp4 -vf select='eq(n\,10)+eq(n\,20)+eq(n\,30)+eq(n\,40)',scale=-1:640 -vsync 0 /tmp/ffmpeg_image_%04d.jpg

    enter image description here

    So I guess my questions are as follows :

    1. what is the relation between display aspect ratio, sample aspect ratio, and the width/height ratio ?
    2. how to I get ffmpeg to output in the correct aspect ratio ?