Recherche avancée

Médias (0)

Mot : - Tags -/gis

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

Autres articles (51)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (7051)

  • Cannot stop and (re-play) a rtsp stream with FFMediaElement

    5 mars 2024, par CactusJack

    I have a problem using stop and play on a rtsp stream using the FFMediaElement.

    


    I am initializing an instance of the MediaElement once by doing m_MediaPlayer = new MediaPlayer();
This instance should live the whole application lifetime.

    


    After this, I open the rtsp stream : await m_MediaPlayer.Open(new Uri(rtspAdress));
The media opens, and when I do m_MediaPlayer.Play(); the stream is displayed in the MediaElement.

    


    Now I want to stop the stream with m_MediaPlayer.Stop(); and play it again. After calling play again, the stream is not diplayed anymore. The log says :

    


    Direct Command 'Close' accepted. Perparing execution.
OnStreamReadInterrupt was requested an immediate read exit.
EVENT START : BufferingEnded
EVENT DONE : BufferingEnded
V BLK : 14.388 | CLK : 14.417 | DFT : 29 | IX : 4 | RNG : 48.897% | PQ : 0.0k | TQ : 0.0k
Direct Command 'Close' entered
MediaState changed : + Close
Media closed.
OnStreamReadInterrupt was requested an immediate read exit.
EVENT START : MediaStateChanged
EVENT START : MediaClosed
EVENT DONE : MediaStateChanged
Direct Command 'Close' completed. Result : True
EVENT DONE : MediaClosed
Dispose Entered. Waiting for Command Manager processor to stop.
Dispose is waiting for pending direct commands.
Dispose is closing media.
EVENT START : MediaClosed
Media closed.
EVENT DONE : MediaClosed
Dispose completed.

    


    So why is Stop disposing the media ?
When I create a new player before re-playing and open the stream again, it works. But this takes a moment, so I just wat to stop and start again. Is that possible ?

    


  • How can I install FFmpeg so that pkg-config can find it ?

    11 octobre 2024, par Project PowerPoint

    I want to use the ffmpeg libraries in my program. These are libavformat and libavcodec. To link them, I'm trying to use pkg-config.

    


    I cannot get pkg-config to find these libraries.

    


    When I run
 pkg-config --modversion libavcodec
I get
Can't find libavcodec.pc in any of C:/Strawberry/c/lib/pkgconfig

    


    Which should mean that I don't have ffmpeg installed.

    


    However, I did install ffmpeg.
I'm using Windows so I installed ffmpeg with the Chocolatey package manager. This seems to have only given me the ffmpeg program and not its libraries.

    


    On MacOS simply using homebrew to install ffmpeg installs all the right files.

    


    Is there a difference on Windows ? How can I get the dev package ?

    


    SOME MORE INFO :

    


    I'm compiling this using CMake-js as a node addon. This is my CMakeLists.txt file :

    


    cmake_minimum_required(VERSION 3.9)
project(FFMpeg)

find_package(PkgConfig REQUIRED)
pkg_check_modules(AVCODEC    REQUIRED    IMPORTED_TARGET libavcodec)
pkg_check_modules(AVFILTER   REQUIRED    IMPORTED_TARGET libavformat)
pkg_check_modules(AVDEVICE   REQUIRED    IMPORTED_TARGET libavdevice)
pkg_check_modules(AVUTIL     REQUIRED    IMPORTED_TARGET libavutil)
pkg_check_modules(SWRESAMPLE REQUIRED    IMPORTED_TARGET libswresample)
pkg_check_modules(SWSCALE    REQUIRED    IMPORTED_TARGET libswscale)

add_library(FFMpeg INTERFACE IMPORTED GLOBAL)

target_include_directories(
    FFmpeg INTERFACE
    ${AVCODEC_INCLUDE_DIRS}
    ${AVFILTER_INCLUDE_DIRS}
    ${AVDEVICE_INCLUDE_DIRS}
    ${AVUTIL_INCLUDE_DIRS}
    ${SWRESAMPLE_INCLUDE_DIRS}
    ${SWSCALE_INCLUDE_DIRS}
)

target_link_options(
    FFmpeg INTERFACE
    ${AVCODEC_LDFLAGS}
    ${AVFILTER_LDFLAGS}
    ${AVDEVICE_LDFLAGS}
    ${AVUTIL_LDFLAGS}
    ${SWRESAMPLE_LDFLAGS}
    ${SWSCALE_LDFLAGS}


    


    I also found this in the output, which might explain why pkg-config is looking in C:\Strawberry?

    


    -- Found PkgConfig: C:/Strawberry/perl/bin/pkg-config.bat (found version "0.26")
-- Checking for module 'libavcodec'
--   Can't find libavcodec.pc in any of C:/Strawberry/c/lib/pkgconfig


    


  • Online RTMP radio with Python + FFmpeg + Nginx : unable to have a continuous output stream

    2 décembre 2023, par Igor Longo

    Thinking about an application similar to an online radio, I'm trying to transmit a sequence of audio files chosen by the user, where he chooses which file will be played in the sequence, sufficiently in advance for the reproduction not to be muted. I'm using FFmpeg in a Python script and an RTMP server running Nginx.
The problem is that interrupting the transmission between one file and another appears to be breaking the transmission on output. Sometimes files are skipped and other times it simply crashes for the client.

    


    I have already tried transmitting the sequence of files in real time, using '-re', and I have also tried not using '-re', creating a custom queue manager in Python with the intention of trying to keep only 'n' files in the server buffer .
Below is an excerpt of the code :

    


    ffmpeg_command = [
'ffmpeg',
'-loglevel', 'warning',
# '-re', # read input at native frame rate
'-i', file_path,
'-c:a', 'aac',
'-ar', '44100',
'-bufsize', '1024k',
'-af', 'atempo=1.0',
'-b:a', '128k',
'-f', 'flv',
'-flvflags', 'no_duration_filesize',
rtmp_url # server url
]
subprocess.run(ffmpeg_command, check=True)

    


    Any tips on how I can resolve this ?