Recherche avancée

Médias (91)

Autres articles (79)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (7110)

  • Send a decoded audio frame to audio devices with FFmpeg APIs

    1er août 2019, par Tank2006

    My environment is Ubuntu 18.04(x64) and Clang(C++) compiler.

    I want to play a decoded audio via PalseAudio with FFmpeg(3.4).

    AVOutputFormat *pulse_fmt = av_guess_format("pulse", nullptr, nullptr);
    AVFormatContext *pulse_ctx = avformat_alloc_context();
    AVStream* pulse_stream;
    ret = avformat_alloc_output_context2(&pulse_ctx, pulse_fmt, nullptr, nullptr);
    pulse_ctx->oformat = pulse_fmt;
    pulse_stream = avformat_new_stream(pulse_ctx, nullptr);
    ret = avformat_write_header(pulse_ctx, nullptr);

    I was able to receive the decoded data of the mp3 file as AVFrame. However, it can’t send becuase a function for passing(av_interleaved_write_frame) has to use AVPacket not AVFrame.

    avformat_open_input(&file, path, NULL, NULL);
    res = av_read_frame(file, packet);
    res = avcodec_send_packet(cc_conv, packet);

    AVPacket *pk = av_packet_alloc();
    av_init_packet(pk);

    res = avcodec_receive_packet(cc_conv, pk);  // returns EINVAL becase this function is for encoding.
    //res = avcodec_receive_frame(cc_conv, input_frame); // SUCCSSEDED

    res = av_interleaved_write_frame(c, pk);

    I think that it’s possible to re-encode the received frame and get AVPacket object. But, it would be better to send directly considering efficiency.

    What is the best way to send decoded audio data with FFmpeg avdevice library ?

  • FFMPEG no audio / broken audio after concat

    18 octobre 2018, par Noniq

    First, I’m converting from mp3 to mp4, using a jpg file as background :

    ffmpeg -loop 1 -i bg.jpg -i song.mp3 -c:a copy -c:v libx264 -shortest output.mp4

    Then, I’m trying to concatenate multiple mp4 files to a video :

    ffmpeg -f concat -safe 0 -i list.txt -c copy mix.mp4

    list.txt contains a list of video files :

    file 'output1.mp4'
    file 'output2.mp4'

    Problem : After concat, the audio stream isn’t working properly. The audio of the first video is correct, but for the second video it’s either silent (Groove Music player, Chrome) or when uploaded to YouTube, it skips like every third of a second.
    Only in VLC media player it’s working properly.

    Every file used to be an mp3 file and is converted to mp4 using the same encoding options - thus I expected it to work with demuxing - but apparently, something went wrong.

  • How to fix "audio=virtual-audio-capturer : I/O error" ?

    24 mai 2021, par LiYiChong

    I'm using this command "ffmpeg -f dshow -i audio="virtual-audio-capturer" 1.mp3".
But in this case, occurs error as follow
"audio=virtual-audio-capturer : I/O error".
So, I checked if there is virtual-audio-capturer" using this command "ffmpeg -list_devices true -f dshow -i dummy".
As a result, there was "virtual-audio-capturer".
why does it occurs this error and what is the solution ?