Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (6)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (3064)

  • Input/output error while using ffmpeg with pulse

    2 septembre 2017, par user116522

    i want to record my audio output. Yesterday, i used the following command

    ffmpeg -f pulse -ac 2 -i 1 -c:a libfdk_aac -b:a 192k test4.m4a

    and it was working. But now, i receive the output :

    ffmpeg version N-83415-g012dd8c Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.8 (SUSE Linux)
     configuration: --enable-gpl --enable-libx264 --enable-libx265 --enable-nonfree --enable-libfdk-aac --enable-libpulse
     libavutil      55. 46.100 / 55. 46.100
     libavcodec     57. 75.100 / 57. 75.100
     libavformat    57. 66.101 / 57. 66.101
     libavdevice    57.  2.100 / 57.  2.100
     libavfilter     6. 73.100 /  6. 73.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    1: Input/output error

    The command

    pactl list sources

    says :

    Source #0
           State: SUSPENDED
           Name: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
           Description: Monitor of HDA NVidia Digital Stereo (HDMI)
           Driver: module-alsa-card.c
           Sample Specification: s16le 2ch 44100Hz
           Channel Map: front-left,front-right
           Owner Module: 6
           Mute: no
           Volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                   balance 0,00
           Base Volume: 65536 / 100% / 0,00 dB
           Monitor of Sink: alsa_output.pci-0000_01_00.1.hdmi-stereo
           Latency: 0 usec, configured 0 usec
           Flags: DECIBEL_VOLUME LATENCY
           Properties:
                   device.description = "Monitor of HDA NVidia Digital Stereo (HDMI)"
                   device.class = "monitor"
                   alsa.card = "1"
                   alsa.card_name = "HDA NVidia"
                   alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
                   alsa.driver_name = "snd_hda_intel"
                   device.bus_path = "pci-0000:01:00.1"
                   sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
                   device.bus = "pci"
                   device.vendor.id = "10de"
                   device.vendor.name = "NVIDIA Corporation"
                   device.product.id = "0fb9"
                   device.string = "1"
                   module-udev-detect.discovered = "1"
                   device.icon_name = "audio-card-pci"
           Formats:
                   pcm
  • Converting a spesific audio sream and copy the rest

    15 mai 2022, par Arete

    Is it possible to convert one of the audio tracks in a video file to a different format while copying/remuxing the other audio tracks in the file with FFmpeg ?

    


    More specifically, is it possible to do this without explicitly specify all the audio tracks you want to keep ?

    


    I have tried using the -map function,

    


    ffmpeg -i INPUT -c:v copy -c:a libfdk_aac -map 1:a:2 OUTPUT.mkv


    


    but this only encodes the first audio track and excludes the rest. I know I can probably explicitly tell FFmpeg to mux all the rest of the audio tracks, but this is really tedious. It means I will have to count every audio track and write e considerably longer command.

    


    Is there not a way to tell FFmpeg "convert audio track X and copy the rest" ?

    


    Here is the MediaInfo of the file. Note that there are over 10 audio tracks but I have excluded them in this example to keep it simple.

    


    Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 2 h 30 min
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 349 cd/m2
Maximum Frame-Average Light Level        : 86 cd/m2

Audio #1
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : DTS XLL
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Muxing mode                              : Stream extension
Codec ID                                 : 134
Duration                                 : 2 h 30 min
Bit rate mode                            : Variable
Channel(s)                               : 6 channels
Channel layout                           : C L R Ls Rs LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 SPF)
Bit depth                                : 24 bits
Compression mode                         : Lossless

Audio #2
ID                                       : 4353 (0x1101)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : 129
Duration                                 : 2 h 30 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : -9 ms
Stream size                              : 687 MiB (1%)
Service kind                             : Complete Main

Audio #3
ID                                       : 4354 (0x1102)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : 129
Duration                                 : 2 h 30 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : -9 ms
Stream size                              : 481 MiB (1%)
Service kind                             : Complete Main


    


  • M2tS ffmpeg command

    27 août 2020, par pixbye

    I try to use a ffmpeg command to convert via shell an TS stream to m2ts stream

    


    I use :

    


    ffmpeg -i "D:\assets\data1-1.ts" -vcodec copy -r 29.97 -acodec ac3 out_data1.m2ts
pause


    


    But the result mediainfo result is :

    


    General
ID                                       : 1 (0x1)
Complete name                            : D:\analzye\ffmpeg\out\out_data1.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 413 MiB
Duration                                 : 10 min 3 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 5 751 kb/s

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Format settings, GOP                     : M=1, N=15
Codec ID                                 : 27
Duration                                 : 10 min 3 s
Bit rate                                 : 5 322 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Stream size                              : 383 MiB (93%)

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : 129
Duration                                 : 10 min 3 s
Bit rate mode                            : Constant
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : 32 ms
Stream size                              : 13.8 MiB (3%)
Service kind                             : Complete Main

Menu
ID                                       : 256 (0x100)
Menu ID                                  : 1 (0x1)
Duration                                 : 10 min 3 s
List                                     : 4113 (0x1011) (AVC) / 4352 (0x1100) (AC-3)
Service name                             : Service01
Service provider                         : FFmpeg
Service type                             : digital television


    


    So, no FPS info in Video. How to avoid the menu stream and get the FPS to the video stream ?
I tried to find it here on stackoverflow and google but git no success. Is it needed to encode video new to get the framerate well ? I thought it is a muxing issue.