Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (14)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

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

  • Flutter ffmpeg kit : Invalid size error when trying to scale video

    27 juillet 2023, par veryepicdude

    I'm trying to resize a video to match instagram's video format requirements. I'm using the ffmpeg_kit_flutter_full_gpl: ^5.1.0 package to do so and this is the function I'm calling :

    


    Future<void> resizeVideo(String input, String output) async {&#xA;&#xA;  final command = &#x27;-i $input -c:v libx264 -aspect 16:9 -crf 18 -vf "scale=iw*min(1280/iw\,720/ih):ih*min(1280/iw\,720/ih),pad=1280:720:(1280-iw)/2:(720-ih)/2" -fpsmax 60 -preset ultrafast -c:a aac -b:a 128k -ac 1 -use_editlist false -ar 48000 -pix_fmt yuv420p -movflags &#x2B;faststart -t 59 -y $output&#x27;;&#xA;  final session = await FFmpegKit.execute(command);&#xA;  print("resize done with ${await session.getReturnCode()}");&#xA;}&#xA;</void>

    &#xA;

    However I get this error every time :

    &#xA;

     Stream #0:0[0x1](und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 60 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2023-07-27T15:30:28.000000Z&#xA;      handler_name    : Core Media Audio&#xA;      vendor_id       : [0][0][0][0]&#xA;  Stream #0:1[0x2](und): Video: hevc (hvc1 / 0x31637668), yuv420p(tv, smpte170m/bt709/bt709), 720x1280, 2085 kb/s, 30 fps, 30 tbr, 600 tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2023-07-27T15:30:28.000000Z&#xA;      handler_name    : Core Media Video&#xA;      vendor_id       : [0][0][0][0]&#xA;Stream mapping:&#xA;  Stream #0:1 -> #0:0 (hevc (native) -> h264 (libx264))&#xA;  Stream #0:0 -> #0:1 (aac (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[Parsed_scale_0 @ 0x2834a53f0] Invalid size &#x27;iw*min(1280/iw&#x27;&#xA;[AVFilterGraph @ 0x28278e3a0] Error initializing filter &#x27;scale&#x27;[AVFilterGraph @ 0x28278e3a0]  with args &#x27;iw*min(1280/iw&#x27;[AVFilterGraph @ 0x28278e3a0] &#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;Error while processing the decoded data for stream #0:1&#xA;[aac @ 0x105334290] Qavg: 461.613&#xA;[aac @ 0x105334290] 2 frames left in the queue on closing&#xA;

    &#xA;

    Removing the scale filter makes the function work fine, but it fails the instagram video requirements listed here.&#xA;Any help will be greatly appreciated.

    &#xA;

  • Fatal error reading PNG image file : Invalid IHDR data (gdk-pixbuf-error-quark, 0), when using ffmpeg and wxWidgets

    20 mai 2023, par Dhairya Gupta

    for my C++ project I am using CMake + conan for my project on ubuntu20.04. The config files is as follows

    &#xA;

    conanfile.py

    &#xA;

    from conan import ConanFile&#xA;from conan.tools.cmake import cmake_layout&#xA;&#xA;class TrajectronRecipe(ConanFile):&#xA;    name=&#x27;trajectron&#x27;&#xA;    version=&#x27;0.0.2&#x27;&#xA;&#xA;    license = &#x27;GPL3&#x27;&#xA;    topics = (&#x27;gui&#x27;, &#x27;video&#x27;, &#x27;interactive&#x27;)&#xA;&#xA;    settings = (&#x27;os&#x27;, &#x27;compiler&#x27;, &#x27;build_type&#x27;, &#x27;arch&#x27;)&#xA;    generators = (&#xA;        &#x27;CMakeDeps&#x27;, &#xA;        &#x27;CMakeToolchain&#x27;&#xA;    )&#xA;&#xA;    def requirements(self):&#xA;        self.requires(&#x27;cmake/3.26.3&#x27;) # build manager&#xA;        self.requires(&#x27;spdlog/1.11.0&#x27;)  # logger&#xA;        self.requires(&#x27;ffmpeg/5.1&#x27;)&#xA;    &#xA;    def build_requirements(self):&#xA;        if self.settings.os != &#x27;Windows&#x27;:&#xA;            self.tool_requires("cmake/3.26.3")&#xA;&#xA;    def layout(self):&#xA;        # print(f&#x27;[settings build] {str(self.settings.build_type)}&#x27;)&#xA;        self.folders.build = f&#x27;{str(self.settings.build_type)}&#x27;&#xA;        self.folders.generators = &#x27;&#x27;&#xA;        # cmake_layout(self)&#xA;

    &#xA;

    CMakeLists.txt

    &#xA;

    cmake_minimum_required(VERSION 3.26 FATAL_ERROR)&#xA;set(CXX_STANDARD_REQUIRED ON)&#xA;set(CXX_STANDARD 20)&#xA;set(CMAKE_CXX_COMPILER /usr/bin/g&#x2B;&#x2B;-10)&#xA;set(CMAKE_CXX_FLAGS "${wxWidgets_CXX_FLAGS}")&#xA;&#xA;project(&#xA;    Trajectron&#xA;    VERSION 0.0.2&#xA;    DESCRIPTION "GUI app to map out trajectories of objects in real time videos"&#xA;    LANGUAGES CXX&#xA;)&#xA;cmake_language(GET_MESSAGE_LOG_LEVEL VERBOSE)&#xA;&#xA;#### external packages&#xA;find_package(fmt REQUIRED)&#xA;find_package(spdlog REQUIRED)&#xA;find_package(wxWidgets REQUIRED gl core base OPTIONAL_COMPONENTS net)&#xA;include("${wxWidgets_USE_FILE}")&#xA;find_package(ffmpeg REQUIRED)&#xA;&#xA;#### target&#xA;add_executable(trajectron &#xA;  main.cpp&#xA;  src/app.cpp&#xA;  src/base_frame.cpp&#xA;  src/sys_file_dir_frame.cpp&#xA;  src/panels/video_stage.cpp&#xA;  src/panels/control.cpp&#xA;  src/panels/frame_list.cpp&#xA;  src/events/import_event.cpp&#xA;  src/video_processor.cpp&#xA;)&#xA;&#xA;target_include_directories(trajectron PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include)&#xA;target_link_libraries(trajectron PUBLIC spdlog::spdlog)&#xA;target_link_libraries(trajectron PUBLIC ffmpeg::ffmpeg)&#xA;&#xA;if(wxWidgets_FOUND)&#xA;    target_link_libraries(trajectron PRIVATE ${wxWidgets_LIBRARIES})&#xA;else(wxWidgets_FOUND)&#xA;    message("wxWidgets not found!")&#xA;endif(wxWidgets_FOUND)&#xA;

    &#xA;

    when i make the project as follows it build sucessfully with conan and ffmpeg

    &#xA;

    cmake -G "Unix Makefiles" -S . -B build -DCMAKE_TOOLCHAIN_FILE=dependencies/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Debug&#xA;cd build/&#xA;cmake --build&#xA;

    &#xA;

    when i run it ./build/trajectron the application launches successfully. But when i click a button to open a wxFilectrl frame, it crashes with the following output&#xA;(https://i.stack.imgur.com/YKtfL.png)

    &#xA;

    **This only happens when i have used ** find_package(ffmpeg REQUIRED) and target_link_libraries(trajectron PUBLIC ffmpeg::ffmpeg) otherwise it works properly.

    &#xA;

    if you want to see the code for more context : https://github.com/dhairyagupta2603/trajectron

    &#xA;

    I have tried running the executable for the project using sudo as well as updated the mime database&#xA;sudo update-mime-database /usr/share/mime. Note that I am using GTk v3 and have used wxWidgets as a separate install on system as it was not available as a conan package

    &#xA;

  • Scalable Video Stream Processing and Redirection in the Cloud - More Efficient Alternatives to RTMP ?

    18 juillet 2023, par dumbQuestions

    I'm currently working on a project that involves processing and redirecting video streams from multiple users in real time.

    &#xA;

    Here's how my current implementation works :

    &#xA;

      &#xA;
    • Users send their video streams to an RTMP server.

      &#xA;

    • &#xA;

    • I use OpenCV to connect to the source RTMP server and capture the video stream.&#xA;The video frames are processed using OpenCV.

      &#xA;

    • &#xA;

    • I then use FFmpeg to forward the processed video stream to another RTMP server.

      &#xA;

    • &#xA;

    &#xA;

    I want to deploy it with cloud providers, but I'm worried that RTMP servers might not be the best choice for scalability, especially with increasing users. I'm seeking recommendations for efficiently implementing such video stream processing and redirection with good scalability. Is my current implementation somewhat viable, is there a better solution ?

    &#xA;

    Ideally, I'm looking for solutions that can handle a large number of concurrent video streams and provide low latency

    &#xA;

    Is there a cloud-based alternative to the RTMP-based approach that can meet these requirements and offer better scalability and efficiency ? Any insights, experiences, or recommendations are greatly appreciated. Thank you !

    &#xA;