Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (65)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (8927)

  • fate : update fate tests after master:291ad12ea2d1 : ffprobe : show probe_score in the...

    1er septembre 2013, par Michael Niedermayer
    fate : update fate tests after master:291ad12ea2d1 : ffprobe : show probe_score in the format section
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] tests/ref/fate/ffprobe_compact
    • [DH] tests/ref/fate/ffprobe_csv
    • [DH] tests/ref/fate/ffprobe_default
    • [DH] tests/ref/fate/ffprobe_flat
    • [DH] tests/ref/fate/ffprobe_ini
    • [DH] tests/ref/fate/ffprobe_json
    • [DH] tests/ref/fate/ffprobe_xml
  • Using ffmpeg with libfdk-aac, encoding HE-AAC v1 and mono actually, but in decoding ffmpeg show HE-AAC v2 and stereo [closed]

    13 novembre 2024, par olojzyg

    ffmpeg encode command :

    &#xA;

    &#xA;

    ffmpeg -i aac_128000_f32le_22050_1.wav -c:a libfdk_aac -profile:a&#xA;aac_he -b:a 64k -channels 1 test.aac

    &#xA;

    &#xA;

    output :

    &#xA;

    [aist#0:0/pcm_s16le @ 000001d38ecfe340] Guessed Channel Layout: mono&#xA;  Input #0, wav, from &#x27;aac_128000_f32le_22050_1.wav&#x27;:   Duration: 00:00:06.48, bitrate: 359 kb/s&#xA;  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, mono, s16, 352 kb/s&#xA;  Stream mapping:&#xA;  Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (libfdk_aac)) &#xA;  Press [q] to stop, [?] for help Output #0, adts, to &#x27;test.aac&#x27;:&#xA;  Metadata:&#xA;        encoder         : Lavf61.7.100   &#xA;        Stream #0:0: Audio: aac (HE-AAC), 22050 Hz, mono, s16, 64 kb/s&#xA;          Metadata:&#xA;            encoder         : Lavc61.19.100 libfdk_aac &#xA;[out#0/adts @ 000001d38ecf8680] video:0KiB audio:53KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.000000%&#xA; size=      53KiB time=00:00:06.47 bitrate=  67.0kbits/s speed= 296x&#xA;

    &#xA;

    but decode this test.aac, I think HE-AAC and mono is corrent, but it show HE-AAC v2 and stereo, why ?&#xA;decode command :

    &#xA;

    &#xA;

    ffmpeg -i test.aac -f null -

    &#xA;

    &#xA;

    decode output :

    &#xA;

    [aac @ 0000020ffcab3d40] Estimating duration from bitrate, this may be inaccurate&#xA; Input #0, aac, from &#x27;test.aac&#x27;:   Duration: 00:00:06.78, bitrate: 63 kb/s&#xA; Stream #0:0: Audio: aac (HE-AACv2), 22050 Hz, stereo, fltp, 63 kb/s&#xA; Stream mapping:&#xA; Stream #0:0 -> #0:0 (aac (native) -> pcm_s16le (native))&#xA; Press [q] to stop, [?] for help Output&#xA;#0, null, to &#x27;pipe:&#x27;:&#xA;   Metadata:&#xA;    encoder         : Lavf61.7.100&#xA;   Stream #0:0: Audio: pcm_s16le, 22050 Hz, stereo, s16, 705 kb/s&#xA;      Metadata:&#xA;        encoder         : Lavc61.19.100 pcm_s16le&#xA;[out#0/null @ 0000020ffcac8bc0] video:0KiB audio:584KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown&#xA;size=N/A time=00:00:06.78 bitrate=N/A speed=1.6e&#x2B;03x&#xA;

    &#xA;

    what happened ? test.aac is also displayed as 2 channels in Audition. But 1 channel is displayed in MediaInfo, and ADTS header is corrent :

    &#xA;

    &#xA;

    channel_configuration : 1 (0x1) - (3 bits)

    &#xA;

    &#xA;

  • Show portrait video to landscape on Videojs player as HLS ffmpeg Laravel

    11 décembre 2020, par TwistCode

    I am currently using the ffmpeg library through laravel sdk. For the landscape videos I have no problem with the scaling filters application, but with the portrait videos I need the video to look like the thumbnail below :

    &#xA;

    enter image description here

    &#xA;

    But when I play the video, the player is distorted.

    &#xA;

    enter image description here

    &#xA;

    Note : It should be noted that when I work with horizontal scales, the player looks good, but the video is distorted.

    &#xA;

    enter image description here

    &#xA;

    enter image description here

    &#xA;

    this is my PHP Laravel code implementation

    &#xA;

                FFMpeg::FromDisk(&#x27;local&#x27;)->open($this->media)&#xA;            ->exportForHLS()&#xA;            ->setSegmentLength(6) // optional&#xA;            /*&#xA;            ->addFormat($lowBitrate, function ($media) {&#xA;                $media->addFilter(function ($filters, $in, $out) {&#xA;                    $filters->custom($in, &#x27;scale=854x480,setsar=1,setdar=16:9&#x27;, $out); // $in, $parameters, $out&#xA;&#xA;                });&#xA;            })*/&#xA;            // Portrait test&#xA;            ->addFormat($lowBitrate, function ($media) { &#xA;                $media->addFilter(function ($filters, $in, $out) {&#xA;                    // $filters->custom($in, "scale=&#x27;w=min(720,trunc((480*33/40*dar)/2&#x2B;0.5)*2):h=min(480,trunc((704*40/33/dar)/2&#x2B;0.5)*2)&#x27;,pad=&#x27;w=720:h=480:x=(ow-iw)/2:y=(oh-ih)/2&#x27;,setsar=&#x27;r=40/33&#x27;", $out); // $in, $parameters, $out&#xA;                    $filters->custom($in, "scale=239:-1", $out); // $in, $parameters, $out&#xA;                });&#xA;            })&#xA;            /*&#xA;            ->addFormat($midBitrate, function ($media) {&#xA;                $media->scale(1280, 720);&#xA;            })&#xA;            ->addFormat($highBitrate, function ($media) {&#xA;                $media->scale(1920, 1080);&#xA;            })*/&#xA;            ->save("public/hls/$video->id/$video->hash_name.m3u8");&#xA;

    &#xA;

    This is the command that runs at the server level for portrait videos.

    &#xA;

    &#xA;

    [2020-12-10 17:48:17] local.INFO : ffmpeg running command&#xA;'/usr/bin/ffmpeg' '-y' '-threads' '12' '-i'&#xA;'/home/vagrant/homesteadprojects/maquillate/storage/app/videos_directory/pexels-cottonbro-6054875.mp4'&#xA;'-filter_complex' '[0]scale=640 :-2[v0]' '-map' '[v0]' '-vcodec'&#xA;'libx264' '-b:v' '1200k' '-g' '48' '-hls_playlist_type' 'vod'&#xA;'-hls_time' '6' '-hls_segment_filename'&#xA;'/home/vagrant/homesteadprojects/maquillate/storage/app/public/hls/35/NXp9waz4AO5Q14Lu6T3JbjSRY496RrtiPGIz6IOJ_0_1200_%05d.ts'&#xA;'-acodec' 'aac' '-b:a' '128k'&#xA;'/home/vagrant/homesteadprojects/maquillate/storage/app/public/hls/35/NXp9waz4AO5Q14Lu6T3JbjSRY496RrtiPGIz6IOJ_0_1200.m3u8'

    &#xA;

    &#xA;

    I don't really know if my problem is at the server or frontend level, but I would greatly appreciate any contribution.

    &#xA;