Recherche avancée

Médias (0)

Mot : - Tags -/upload

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

Autres articles (87)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

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

Sur d’autres sites (16882)

  • avcodec/libx264 : add support for ROI-based encoding

    10 janvier 2019, par Guo, Yejun
    avcodec/libx264 : add support for ROI-based encoding
    

    This patch just enables the path from ffmpeg to libx264,
    the more encoders can be added later.

    Signed-off-by : Guo, Yejun <yejun.guo@intel.com>
    Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DH] libavcodec/libx264.c
  • Can I add silent audio based on another video, to a video created from a PNG loop

    25 mars 2019, par GDP

    We have videos that we transcode to h.264, but COPY the original audio track (they all vary). We are now trying to prepend a 10 second disclaimer before the original video begins. Apparently the audio tracks of the two videos must be the same, so I’m trying to add a silent audio track to the generated video based on the audio track of the video it will be concatenated with.

    From other questions, I’ve learned to add -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100, but this results in garbled audio when the concatenation occurs. So using ffprobe, I would like to get whatever audio properties are needed and use them in the prepending video.

    So the question is : How can I specify the specific audio track settings I want/need when creating the 10 second video ?

    FFMpeg to create 10 second disclaimer

    ffmpeg.exe -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -loop 1 -i disclaimer.png -filter:v "fade=out:st=8:d=2" -c:v libx264 -t 10 -pix_fmt yuv420p -r 29.97 disclaimer.mp4

    FFProbe

    ffprobe -show_format -show_streams OriginalVideo.mp4
    ffprobe version N-73975-gda8b70b Copyright (c) 2007-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
     libavutil      54. 28.100 / 54. 28.100
     libavcodec     56. 52.100 / 56. 52.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 27.100 /  5. 27.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'OriginalVideo.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       title           : 343520959333629
       encoder         : Lavf56.40.101
     Duration: 00:00:24.56, start: 0.160998, bitrate: 245 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x400 [SAR 1615:1616 DAR 323:202], 194 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (HE-AACv2) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 47 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    [STREAM]
    index=0
    codec_name=h264
    codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    profile=High
    codec_type=video
    codec_time_base=1/50
    codec_tag_string=avc1
    codec_tag=0x31637661
    width=640
    height=400
    coded_width=640
    coded_height=400
    has_b_frames=2
    sample_aspect_ratio=1615:1616
    display_aspect_ratio=323:202
    pix_fmt=yuv420p
    level=31
    color_range=N/A
    color_space=unknown
    color_transfer=unknown
    color_primaries=unknown
    chroma_location=left
    timecode=N/A
    refs=5
    is_avc=1
    nal_length_size=4
    id=N/A
    r_frame_rate=25/1
    avg_frame_rate=25/1
    time_base=1/90000
    start_pts=0
    start_time=0.000000
    duration_ts=2181600
    duration=24.240000
    bit_rate=194642
    max_bit_rate=N/A
    bits_per_raw_sample=8
    nb_frames=606
    nb_read_frames=N/A
    nb_read_packets=N/A
    DISPOSITION:default=1
    DISPOSITION:dub=0
    DISPOSITION:original=0
    DISPOSITION:comment=0
    DISPOSITION:lyrics=0
    DISPOSITION:karaoke=0
    DISPOSITION:forced=0
    DISPOSITION:hearing_impaired=0
    DISPOSITION:visual_impaired=0
    DISPOSITION:clean_effects=0
    DISPOSITION:attached_pic=0
    TAG:language=und
    TAG:handler_name=VideoHandler
    [/STREAM]
    [STREAM]
    index=1
    codec_name=aac
    codec_long_name=AAC (Advanced Audio Coding)
    profile=HE-AACv2
    codec_type=audio
    codec_time_base=1/44100
    codec_tag_string=mp4a
    codec_tag=0x6134706d
    sample_fmt=fltp
    sample_rate=44100
    channels=2
    channel_layout=stereo
    bits_per_sample=0
    id=N/A
    r_frame_rate=0/0
    avg_frame_rate=0/0
    time_base=1/44100
    start_pts=-7100
    start_time=-0.160998
    duration_ts=1083268
    duration=24.563900
    bit_rate=47738
    max_bit_rate=48053
    bits_per_raw_sample=N/A
    nb_frames=526
    nb_read_frames=N/A
    nb_read_packets=N/A
    DISPOSITION:default=1
    DISPOSITION:dub=0
    DISPOSITION:original=0
    DISPOSITION:comment=0
    DISPOSITION:lyrics=0
    DISPOSITION:karaoke=0
    DISPOSITION:forced=0
    DISPOSITION:hearing_impaired=0
    DISPOSITION:visual_impaired=0
    DISPOSITION:clean_effects=0
    DISPOSITION:attached_pic=0
    TAG:language=und
    TAG:handler_name=SoundHandler
    [/STREAM]
    [FORMAT]
    filename=OriginalVideo.mp4
    nb_streams=2
    nb_programs=0
    format_name=mov,mp4,m4a,3gp,3g2,mj2
    format_long_name=QuickTime / MOV
    start_time=-0.160998
    duration=24.564000
    size=753253
    bit_rate=245319
    probe_score=100
    TAG:major_brand=isom
    TAG:minor_version=512
    TAG:compatible_brands=isomiso2avc1mp41
    TAG:title=343520959333629
    TAG:encoder=Lavf56.40.101
    [/FORMAT]
  • ffmpeg : map audio and subtitle stream of (different) specific language only

    24 juillet 2019, par RocketNuts

    I have a bunch of video files with multiple audio and subtitle streams (in different languages). The streams contain metadata specifying which stream is which langauge. I want to copy all files but maintaining only the spanish audio streams, and the english subtitle streams (and the video stream of course).

    Unfortunately, not all videos contain the same language streams at the same index, so instead of using something like -map 0:a:2 I am trying to select the streams based on metadata.

    However, if I try the following : (based on answers found in similar questions like this and this)

    ffmpeg -i input.mkv -map 0:v -map 0:a:m:language:spa -map 0:s:m:language:eng -c copy output.mkv

    It still copies the first audio and first subtitle stream, no matter which stream is which language. In other words, this behaves just like -map 0:v -map 0:a:0 -map 0:s:0 which isn’t what I need.

    Is there a different map argument I can use to make sure it picks only the spanish audio stream and only the english subtitle stream, regardless of their index in the input file ?