Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (103)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Les sons

    15 mai 2013, par
  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (11306)

  • three ways to achieve an H264 file

    18 mars 2016, par Kindermann

    here I have three ways to get an H264 file, like all forensic scientists, I am very curious about the differences between them :

    1.

    ffmpeg -i video.mp4 video.h264

    2.

    ffmpeg -i video.mp4 -vcodec copy -an -f h264 video.h264

    3. Using the example "demuxing_decoding.c" provided on the ffmpeg official website :
    http://ffmpeg.org/doxygen/trunk/demuxing_decoding_8c-example.html

    Obviously, the first one does the transformation, and the second one does the demuxing. They render different H264 files which however have similar file sizes(in my case, it’s about say 24 MB). Suprisingly, the third one, which is also supposed to do the demuxing job, renders an H264 file with 8.4 GB ! Why ?

    What I wondered is really, how the interiors of these three methods work ?(The third one is already in source code, therefore it’s quite easy to have an insight) What about the first two commands ? What APIs are called when executing these two commands and how those APIs are called(namely, in what kind of sequences they are called) and things like that.
    One thing that is also important to me is, i have no idea how I can trace the execution routines of ffmpeg command lines. I want to see what’s going on behind ffmpeg commands in source code version. Is it possible ?

    I appreciate any comment.

  • avcodec/speexdec : Consider mode in frame size check

    26 décembre 2021, par Michael Niedermayer
    avcodec/speexdec : Consider mode in frame size check
    

    No speex samples with non default frame sizes are known (to me)
    the official speexenc seems to only generate the 3 default ones.
    Thus it may be that the fuzzer samples where the first non default
    values encountered by the decoder.
    Possibly the "<" should be " !="

    Fixes : out of array access
    Fixes : 42821/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SPEEX_fuzzer-5640695772217344

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/speexdec.c
  • AVCodecContext::channel_layout 0 for WAV files

    25 novembre 2020, par cmannett85

    I have been successfully loading compressed audio files using FFmpeg and querying their channel_layouts using some code I've written :

    &#xA;&#xA;

    AVFormatContext* fmtCxt = nullptr;&#xA;avformat_open_input( &amp;fmtCxt, "###/440_sine.wav", nullptr, nullptr );&#xA;avformat_find_stream_info( fmtCxt, nullptr );&#xA;av_find_best_stream( fmtCxt, AVMEDIA_TYPE_AUDIO, -1, -1, nullptr, 0 );&#xA;&#xA;AVCodecContext* codecCxt = fmtCxt->streams[ret]->codec;&#xA;AVCodec* codec = avcodec_find_decoder( codecCxt->codec_id );&#xA;avcodec_open2( codecCxt, codec, nullptr );&#xA;&#xA;std::cout &lt;&lt; "Channel Layout: " &lt;&lt; codecCxt->channel_layout &lt;&lt; std::endl;&#xA;av_dump_format( fmtCxt, 0, "###/440_sine.wav", 0 );&#xA;

    &#xA;&#xA;

    I've removed all error checking for brevity. However for Microsoft WAV files (mono or stereo) the AVCodecContext::channel_layout member is always 0 - despite ffprobe and av_dump_format(..) both returning valid information :

    &#xA;&#xA;

    Input #0, wav, from &#x27;###/440_sine.wav&#x27;:&#xA;Duration: 00:00:00.01, bitrate: 740 kb/s&#xA;Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, s16, 705 kb/s&#xA;

    &#xA;&#xA;

    Also codecCxt->channels returns the correct value. Using a flac file (with exactly the same audio data generated from the same application), gives a channel_layout of 0x4 (AV_CH_FRONT_CENTER).

    &#xA;