Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (86)

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

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (10686)

  • Next pts does not match previous pts plus duration when transcoding an AAC audio with ffmpeg

    17 septembre 2021, par b1sub

    In my understanding, the following statement must hold :

    


    next pts = previous pts + duration


    


    But, I got this list of PTSes from ffprobe that looks odd to me :

    


    <packet pts="63000" duration="2089">&#xA;<packet pts="65070" duration="2089">&#xA;<packet pts="67140" duration="2089">&#xA;<packet pts="69300" duration="2089">&#xA;<packet pts="71370" duration="2089">&#xA;<packet pts="73440" duration="2089">&#xA;<packet pts="75510" duration="2089">&#xA;<packet pts="77670" duration="2089">&#xA;</packet></packet></packet></packet></packet></packet></packet></packet>

    &#xA;

    The corresponding PTS gaps are as follows. You can see none of the below gaps matches 2089 :

    &#xA;

    63000 &lt;> 65070: 2070&#xA;65070 &lt;> 67140: 2070&#xA;67140 &lt;> 69300: 2160&#xA;69300 &lt;> 71370: 2070&#xA;71370 &lt;> 73440: 2070&#xA;73440 &lt;> 75510: 2070&#xA;75510 &lt;> 77670: 2160&#xA;

    &#xA;

    I have no deep understanding of AAC or transcoding, so I talked with some random guy on #ffmpeg. As per what he said, the gap should be a fixed value :

    &#xA;

    20:01 -!- Icedream [~icedream@hzn-b.serverkomplex.de] has quit [Quit: A lol made me boom.]&#xA;20:02 &lt; DeHackEd> I would expect them to increment at a constant rate, since AAC (which is probably what you&#x27;re using) uses fixed size&#xA;                  audio chunks. But that&#x27;s very inconsistent&#xA;20:03 &lt; DeHackEd> (&#x2B;/- 1 pts number would be acceptable)&#xA;

    &#xA;

    To tell you the truth, this is a problematic video, but not in a way you would expect. I'm getting intermittent audio clipping sound, if two or more audio packets are crammed into a single PES packet. What's special about this configuration is that, the player must guess PTSes for the trailing audio packets except the first one. Since the PTS gaps are not consistent, the player must have used wrong PTSes for the trailing ones, and this looks to me like the cause.

    &#xA;

    But, what could be the trigger ? Here are some contexts you can kindly refer to :

    &#xA;

      &#xA;
    • the original video has no surprising PTS gap. This is the result from my custom-made script to extract all unique gaps :
    • &#xA;

    &#xA;

    $ ./foo.sh ./original.flv&#xA;diff 296448 occurs at 296448 // just a first packet (=has no previous packet)&#xA;diff 24 occurs at 296472&#xA;diff 23 occurs at 296495&#xA;

    &#xA;

      &#xA;
    • this is the command I used for transcoding :
    • &#xA;

    &#xA;

    $FFMPEG -hide_banner -loglevel info -nostats \&#xA;    -i $input \&#xA;    -map "[out1]" -c:v libx264 -r 30 -force_key_frames "expr:gte(t, n_forced*$keyFrameInterval)" -preset veryfast -vprofile high -minrate 4.5M -maxrate 6M -bufsize 6M \&#xA;    -map 0:a -c:a aac -b:a:1 128K -af "aformat=sample_rates=44100|48000:channel_layouts=stereo" \&#xA;    -map 0:a -c:a aac -b:a:2 32K -af "aformat=sample_rates=44100|48000:channel_layouts=stereo" \&#xA;    -f mpegts -tune zerolatency pipe:1 > \&#xA;        >($FFMPEG -hide_banner -loglevel info -nostats \&#xA;            -i - \&#xA;            -map 0:v -c:v copy -map 0:1 -c:a copy -bsf:a aac_adtstoasc -tune zerolatency -f flv -max_muxing_queue_size 1024 ${output}_1080 \&#xA;            -map 0:v -s $(width 1280 720 $orientation)x$(height 1280 720 $orientation) -c:v libx264 -r 30 -force_key_frames "expr:gte(t, n_forced*$keyFrameInterval)" -preset veryfast -vprofile high -minrate 3M -maxrate 4M -bufsize 4M -map 0:1 -c:a copy -bsf:a aac_adtstoasc -f flv -tune zerolatency -max_muxing_queue_size 1024 ${output}_720 \&#xA;            ...&#xA;

    &#xA;

  • How to match precompiled static library's debugging symbols to source code with Xcode 5 ?

    21 septembre 2013, par Chris Ballinger

    I have to compile FFmpeg for iOS using an external build script, but when I am debugging I see assembler if I delve too deep into libavformat library functions :

    0x109a73:  cmpl   $0, 1192(%ebp)
    0x109a7a:  jns    0x109a86                  ; mov_write_header + 198 at movenc.c:3539
    0x109a7c:  movl   $1, 1192(%ebp)
    0x109a86:  movl   16(%ebp), %eax
    0x109a89:  cmpl   $0, 84(%eax)
    0x109a8d:  movl   %edx, %ecx
    0x109a8f:  jne    0x109ad9                  ; mov_write_header + 281 at movenc.c:3548
    0x109a91:  testb  $2, 48(%ecx)
    0x109a95:  jne    0x109ac1                  ; mov_write_header + 257 at movenc.c:3541

    There are clear debugging symbols left behind which would lead me to believe that there should be some way to tell Xcode the location of this source code to allow easier debugging.

    Is this even possible ?

    edit : I found a related question here No symbols/source for external library in Xcode 4

    So when I run xcrun dwarfdump libavformat.a | grep "\.c" I get a bunch of results like this :

    AT_decl_file( "libavformat/movenc.c" )

    So I tried putting the relevant source files in folders relative to both the .a file and my .xcodeproj file, but neither of those methods worked. Full source code is available here : https://github.com/openwatch/livestreamer-ios

    edit2 : I found another question about how to set the source mapping for lldb but I'm not quite sure what to do... LLDB equivalent of gdb "directory" command for specifying source search path ?

    It seems like I might need to do

    (lldb) settings set target.source-map libavformat/movenc.c /path/to/libavformat/movenc.c

    for every file I need ?

  • Input link in1:v0 parameters (size XXX, SAR XXX) do not match the corresponding output link in0:v0 parameters (XXX, SAR 1:1) [duplicate]

    1er mars 2020, par theapache64

    I’ve two files, a mp4 and a mp3 file. I want to add a 3 seconds intro screen with title Welcome and black background to the head of the video with the mp3 as background. So here’s what I wrote.

    ffmpeg \
       -i input.mp4 \
       -i bgm.mp3 \
       -f lavfi -i color=c=black:s="1280"x"544":d=3.0 \
       -filter_complex \
           "[2:v]
     drawtext=
       fontsize=30
       :fontcolor=white
       :x=(w-text_w)/2
       :y=(h-text_h)/2
       :text='WELCOME',
       geq=0:128:128
    [introVideo];

    [1:a]
       atrim=0.0:3.0
    [introAudio];

    [introVideo][introAudio][0:v][0:a]concat=n=2:v=1:a=1" -preset superfast output.mp4

    but am getting below error when I try to execute the command

    [Parsed_concat_3 @ 0x55c02756fa00] Input link in1:v0 parameters (size 1280x544, SAR 1299:1280) do not match the corresponding output link in0:v0 parameters (1280x544, SAR 1:1)
    [Parsed_concat_3 @ 0x55c02756fa00] Failed to configure output pad on Parsed_concat_3
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #0:1
    Conversion failed!

    Any help will be highly appreciated.

    PS : I am a beginner in video processing and ffmpeg.