Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (81)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (4532)

  • ffmpeg : remove dead call to av_parser_change()

    21 mars 2018, par James Almer
    ffmpeg : remove dead call to av_parser_change()
    

    It's been a noop for years, and it's been argued that in-band headers
    should not be forcedly removed without the user's explicit request.

    Also, as the FIXME line stated, this is a job for a bitstream filter
    like extract_extradata, remove_extradata, dump_extradata, and
    filter_units.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] fftools/ffmpeg.c
    • [DH] fftools/ffmpeg.h
  • M4a (mp4) audio file encoded with pydub+ffmpeg doesn't play on Android

    6 juillet 2020, par Evelyn

    I have a python script to split up some wav files and export to m4a using pydub. I'm able to get these files to play on several devices, but not on an Android device (using Google Pixel 3). When I try encoding with straight ffmpeg in terminal, that works fine on the Android device.

    &#xA;

    What is the difference in these two files, and since pydub is using ffmpeg, what do I need to change to make it do exactly the same as the ffmpeg command ?

    &#xA;

    Not working

    &#xA;

    from pydub import AudioSegment&#xA;>>> audio = AudioSegment.from_wav("input.wav")&#xA;>>> slice = audio[1000:3000]&#xA;>>> slice.export("pydub_export.m4a", format="mp4", parameters=["-ac", "1", "-c:a", "libfdk_aac", "-profile:a", "aac_he", "-vbr", "2"])&#xA;

    &#xA;

    mediainfo output :

    &#xA;

    General&#xA;Complete name                            : pydub_export.m4a&#xA;Format                                   : MPEG-4&#xA;Format profile                           : Base Media&#xA;Codec ID                                 : isom (isom/iso2/mp41)&#xA;File size                                : 11.7 KiB&#xA;Duration                                 : 2 s 115 ms&#xA;Overall bit rate mode                    : Constant&#xA;Overall bit rate                         : 45.1 kb/s&#xA;Writing application                      : Lavf58.29.100&#xA;&#xA;Audio&#xA;ID                                       : 1&#xA;Format                                   : AAC LC SBR&#xA;Format/Info                              : Advanced Audio Codec Low Complexity with Spectral Band Replication&#xA;Commercial name                          : HE-AAC&#xA;Format settings                          : NBC&#xA;Codec ID                                 : mp4a-40-5&#xA;Duration                                 : 2 s 115 ms&#xA;Duration_LastFrame                       : -22 ms&#xA;Bit rate mode                            : Constant&#xA;Bit rate                                 : 41.4 kb/s&#xA;Channel(s)                               : 1 channel&#xA;Channel layout                           : C&#xA;Sampling rate                            : 44.1 kHz&#xA;Frame rate                               : 21.533 FPS (2048 SPF)&#xA;Compression mode                         : Lossy&#xA;Stream size                              : 10.7 KiB (92%)&#xA;Default                                  : Yes&#xA;Alternate group                          : 1&#xA;

    &#xA;

    Working

    &#xA;

    $ffmpeg -i input.wav -acodec copy -ss 1 -to 3 input_slice.wav&#xA;$ffmpeg -i input_slice.wav -ac 1 -c:a libfdk_aac -profile:a aac_he -vbr 2 ffmpeg_export.m4a&#xA;

    &#xA;

    mediainfo output :

    &#xA;

    General&#xA;Complete name                            : ffmpeg_export.m4a&#xA;Format                                   : MPEG-4&#xA;Format profile                           : Apple audio with iTunes info&#xA;Codec ID                                 : M4A  (isom/iso2)&#xA;File size                                : 11.2 KiB&#xA;Duration                                 : 2 s 112 ms&#xA;Overall bit rate mode                    : Constant&#xA;Overall bit rate                         : 43.6 kb/s&#xA;Writing application                      : Lavf58.29.100&#xA;&#xA;Audio&#xA;ID                                       : 1&#xA;Format                                   : AAC LC SBR&#xA;Format/Info                              : Advanced Audio Codec Low Complexity with Spectral Band Replication&#xA;Commercial name                          : HE-AAC&#xA;Format settings                          : NBC&#xA;Codec ID                                 : mp4a-40-5&#xA;Duration                                 : 2 s 112 ms&#xA;Duration_LastFrame                       : -25 ms&#xA;Bit rate mode                            : Constant&#xA;Bit rate                                 : 39.9 kb/s&#xA;Channel(s)                               : 1 channel&#xA;Channel layout                           : C&#xA;Sampling rate                            : 44.1 kHz&#xA;Frame rate                               : 21.533 FPS (2048 SPF)&#xA;Compression mode                         : Lossy&#xA;Stream size                              : 10.3 KiB (91%)&#xA;Default                                  : Yes&#xA;Alternate group                          : 1&#xA;

    &#xA;

    I already tried moving metadata to the front with -movflags faststart on the broken file and it didn't make a difference.

    &#xA;

  • How can I have ffmpeg receive both video and audio over RTP ?

    23 mai 2018, par KallDrexx

    I am trying to instruct FFMPEG to receive h264 video and aac audio via RTP using out of band session initialization.

    To do that I have the following local SDP :

    v=0
    o=sb
    s=-
    t=0 0
    c=IN IP4 127.0.0.1
    m=video 12100 RTP/AVP 96
    a=rtpmap:96 H264/90000
    m=audio 12101 RTP/AVP 97
    a=rtpmap:97 MPEG4-GENERIC/44100/2

    When I load ffmpeg with :

    ffmpeg -loglevel debug -protocol_whitelist "file,rtp,udp" -i .\test.sdp -strict -2 test.flv

    I get the following error :

    [udp @ 0000022d7fdafe80] bind failed: Error number -10048 occurred
    [AVIOContext @ 0000022d7fd84900] Statistics: 154 bytes read, 0 seeks
    .\test.sdp: Invalid data found when processing input

    Confused by that error code I loaded it up on a Linux VM and the bind error I got was Address already in use.

    I tried changing both of those port numbers all around and kept getting that error. Finally I removed one of the media streams from the SDP so it ONLY had video or ONLY had audio and no binding error occurred.

    How can I get ffmpeg to bind to multiple RTP ports for RTP ingestion ?