Recherche avancée

Médias (91)

Autres articles (107)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (9513)

  • convert video with ffmpeg command line. but the video stream and audio stream are out of sync

    24 juin 2016, par zack chen

    I use ffmpeg cmd to convert some mkv video files to flv.

    The source files are downloaded from this site : Sample mkv files

    ffmpeg -i input.mkv -c:v libx264 -crf 20 -preset ultrafast -c:a aac -ar 22050 -y output.flv

    However the output video seems lose some frames, the FPS dropped from 25 to 5 suddenly and The video stream and audio stream are out of sync.

    I tested some mkv files downloaded from another site, the output file could play well.
    So, I guess it may be caused by the mkv files downloaded from the site : http://www.sample-videos.com/index.php#sample-mkv-video

    But i couldn’t find the reason. Could you help me ?

    I get the video info by ffprobe, as below.

    {
    "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": "1/50",
           "codec_tag_string": "[0][0][0][0]",
           "codec_tag": "0x0000",
           "width": 320,
           "height": 240,
           "coded_width": 320,
           "coded_height": 240,
           "has_b_frames": 0,
           "sample_aspect_ratio": "1:1",
           "display_aspect_ratio": "4:3",
           "pix_fmt": "yuv420p",
           "level": 20,
           "chroma_location": "left",
           "refs": 1,
           "is_avc": "true",
           "nal_length_size": "4",
           "r_frame_rate": "25/1",
           "avg_frame_rate": "25/1",
           "time_base": "1/1000",
           "duration_ts": 9818,
           "duration": "9.818000",
           "bits_per_raw_sample": "8",
           "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
           }
       },
       {
           "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": "[0][0][0][0]",
           "codec_tag": "0x0000",
           "sample_fmt": "fltp",
           "sample_rate": "48000",
           "channels": 6,
           "channel_layout": "5.1",
           "bits_per_sample": 0,
           "r_frame_rate": "0/0",
           "avg_frame_rate": "0/0",
           "time_base": "1/1000",
           "duration_ts": 9818,
           "duration": "9.818000",
           "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
           }
       }
    ],
    "format": {
       "filename": "big_buck_bunny_240p_1mb.mkv",
       "nb_streams": 2,
       "nb_programs": 0,
       "format_name": "matroska,webm",
       "format_long_name": "Matroska / WebM",
       "duration": "9.818000",
       "size": "1055721",
       "bit_rate": "860233",
       "probe_score": 100,
       "tags": {
           "ENCODER": "Lavf53.24.2"
       }
    }
    }
  • Which value exactly tells the video stream bit rate in ffmpeg output ?

    8 septembre 2011, par userffmpeg

    I have a basic doubt. In the following ffmpeg output, which of the bit rate values (in bold) tells us the video bit rate ?

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_0135.MOV' :
    Metadata :
    major_brand : qt
    minor_version : 537331968
    compatible_brands : qt CAEP
    creation_time : 2011-04-25 14:59:29
    Duration : 00:00:33.03, start : 0.000000, bitrate : 20588 kb/s
    Stream #0.0(eng) : Video : h264 (Constrained Baseline), yuvj420p, 1280x720, 19028 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 48k tbc
    Metadata :
    creation_time : 2011-04-25 14:59:29
    Stream #0.1(eng) : Audio : pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Metadata :
    creation_time : 2011-04-25 14:59:29

    Its a very basic question, but I would appreciate if anyone could tell me...

  • Which value exactly tells the video stream bit rate in ffmpeg output ?

    24 octobre 2020, par userffmpeg

    I have a basic doubt. In the following ffmpeg output, which of the bit rate values (in bold) tells us the video bit rate ?

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_0135.MOV':
  Metadata:
    major_brand     : qt
    minor_version   : 537331968
    compatible_brands: qt  CAEP
    creation_time   : 2011-04-25 14:59:29
  Duration: 00:00:33.03, start: 0.000000, bitrate: **20588 kb/s**
    Stream #0.0(eng): Video: h264 (Constrained Baseline), yuvj420p, 1280x720, **19028 kb/s**, 23.98 fps, 23.98 tbr, 24k tbn, 48k tbc
    Metadata:
      creation_time   : 2011-04-25 14:59:29
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Metadata:
      creation_time   : 2011-04-25 14:59:29


    


    Its a very basic question, but I would appreciate if anyone could tell me...