Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (31)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

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

Sur d’autres sites (6522)

  • Unable to link against FFmpeg libaries

    2 mars 2023, par Cody

    I tried to build this, but always got link-time error.

    



    #include <libavutil></libavutil>log.h>    &#xA;int main(int argc, char *argv[])&#xA;{&#xA;    ::av_log_set_flags(AV_LOG_SKIP_REPEATED);&#xA;    return 0;&#xA;}&#xA;

    &#xA;&#xA;

    My distro is Debian GNU/Linux 8 (jessie). The FFmpeg was built by myself, and the configure command was...

    &#xA;&#xA;

    $ ./configure --prefix=/usr/local --disable-static --enable-shared \&#xA;> --extra-ldflags=&#x27;-Wl,-rpath=/usr/local/lib&#x27;&#xA;

    &#xA;&#xA;

    The link-error is as follows.

    &#xA;&#xA;

    $ g&#x2B;&#x2B; foo.cpp -D__STDC_CONSTANT_MACROS -Wall \&#xA;> -Wl,-rpath=/usr/local/lib \&#xA;> $(pkg-config --cflags --libs libavutil)&#xA;/tmp/ccKzgEFb.o: In function `main&#x27;:&#xA;foo.cpp:(.text&#x2B;0x17): undefined reference to `av_log_set_flags(int)&#x27;&#xA;collect2: error: ld returned 1 exit status&#xA;

    &#xA;&#xA;

    where the output of pkg-config is...

    &#xA;&#xA;

    $ pkg-config --cflags --libs libavutil&#xA;-I/usr/local/include -L/usr/local/lib -lavutil&#xA;

    &#xA;&#xA;

    The objdump shows that the shared object libavutil.so does have av_log_set_flogs inside.

    &#xA;&#xA;

    $ objdump --dynamic-syms /usr/local/lib/libavutil.so | grep &#x27;av_log_set_flags&#x27;&#xA;000260f0 g    DF .text  0000000a  LIBAVUTIL_54 av_log_set_flags&#xA;

    &#xA;&#xA;

    Please note that the g&#x2B;&#x2B; command used to build the above application had a linker option -Wl,-rpath=/usr/local/lib, though it still doesn't work. Also, I've tried to monitor with inotifywait if the other version provided by the distro were called. They were not, and the one being opened during execution of g&#x2B;&#x2B; was /usr/local/lib/libavutil.so.

    &#xA;&#xA;

    Summary :

    &#xA;&#xA;

      &#xA;
    1. /usr/local/lib/libavutil.so does have the symbol.

    2. &#xA;

    3. -rpath was used to force to link against the shared library.

    4. &#xA;

    5. Why link-time error ? T_T

    6. &#xA;

    &#xA;&#xA;

    Any suggestion or information would be highly appreciated ! Thanks !

    &#xA;&#xA;

    REEDIT : ffplay works fine and ldd shows it use /usr/local/lib/libavutil.so. So, the libraries seems not broken, and the problem becomes how to build my own codes to use the libraries.

    &#xA;

  • How can I stream then play YUV format with/without VLC/FFMPEG ?

    13 janvier 2023, par orfruit

    I'm able to play a local YUV file through VLC (as expected)

    &#xA;

    .\vlc.exe --demux rawvideo --rawvid-fps 25 --rawvid-width 480 --rawvid-height 360 --rawvid-chroma I420 out.yuv&#xA;

    &#xA;

    Also FFPLAY is playing well

    &#xA;

    .\ffplay.exe -f rawvideo -pixel_format yuv420p -video_size 480x360 out.yuv&#xA;

    &#xA;

    Conversion to YUV was done with FFMPEG

    &#xA;

    .\ffmpeg.exe -i "video.mp4" -c:v rawvideo -pixel_format yuv420p out.yuv&#xA;

    &#xA;

    However, I'm not able o stream it and play'it over local network.&#xA;I know, it sounds crazy :) but I plan to use VLC as a monitor/debugger for some YUV data.

    &#xA;

    The original MP4 file is streamed/played fine with VLC (test on the same computer)

    &#xA;

    .\vlc.exe "video.mp4" --sout="#std{access=http, mux=ts, dst=:55555/}"&#xA;.\vlc.exe http://192.168.0.174:55555/&#xA;

    &#xA;

    So the big question !&#xA;How can I stream the YUV format and VLC recognise an play it as well ?

    &#xA;

    All that I tried with VLC is not playable.

    &#xA;

    Thanks for any hints !

    &#xA;

  • ffmpeg - Unable to record screen and speaker audio at the same time

    11 janvier 2023, par dems98

    I'm trying to record my screen and speaker audio with ffmpeg but I'm facing various problems.

    &#xA;

    This is the command I'm using :

    &#xA;

    ffmpeg -video_size 1920x1080 -framerate 60 -f x11grab -i :0.0 -f pulse -ac 2 -i alsa_output.pci-0000_2d_00.4.analog-stereo.monitor output.mp4&#xA;

    &#xA;

    but the output video is really slow and out of sync with the audio.
    &#xA;Moreover, I'm getting these warnings :

    &#xA;

    [x11grab @ 0x563635302480] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)&#xA;[aac @ 0x563635319f40] Queue input is backward in time04.49 bitrate= 466.9kbits/s dup=268 drop=45 speed=1.84x    &#xA;[mp4 @ 0x5636353172c0] Non-monotonous DTS in output stream 0:1; previous: 217669, current: 210387; changing to 217670. This may result in incorrect timestamps in the output file.                                                                                        &#xA;

    &#xA;

    When recording the screen with alsa source (microphone), the output video has no problems.

    &#xA;

    How can I solve ?

    &#xA;