Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (47)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

Sur d’autres sites (5629)

  • No module named 'skvideo.io.ffmpeg' in the project

    12 juillet 2024, par kyobo

    Even though I have installed the scikit-video and installed ffmpeg, I still meet this problem :
    
No module named 'skvideo.io.ffmpeg

    


    Output :

    


    (sd) huishi@huishi:~/workspace/projectsideo_python$ **pip install scikit-video**&#xA;Requirement already satisfied: scikit-video in /home/huishi/anaconda3/envs/sdb/python3.8/site-packages (1.1.11)&#xA;Requirement already satisfied: scipy in /home/huishi/anaconda3/envs/sdb/python3.8/site-packages (from scikit-video) (1.8.1)&#xA;Requirement already satisfied: pillow in /home/huishi/anaconda3/envs/sdb/python3.8/site-packages (from scikit-video) (9.2.0)&#xA;Requirement already satisfied: numpy in /home/huishi/anaconda3/envs/sdb/python3.8/site-packages (from scikit-video) (1.23.0)&#xA;(sd) huishi@huishi:~/workspace/projectsideo_python$ **sudo apt-get install ffmpeg**&#xA;正在读取软件包列表... 完成&#xA;正在分析软件包的依赖关系树       &#xA;正在读取状态信息... 完成       &#xA;ffmpeg 已经是最新版 (7:3.4.11-0ubuntu0.1)。&#xA;下列软件包是自动安装的并且现在不需要了:&#xA;  docker-scan-plugin gir1.2-goa-1.0 gir1.2-snapd-1&#xA;使用&#x27;sudo apt autoremove&#x27;来卸载它(它们)。&#xA;升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 20 个软件包未被升级。&#xA;(sd) huishi@huishi:~/workspace/projectsideo_python$ python RabbitMqUtils.py &#xA;The license has expired.&#xA;/home/huishi/workspace/projectsideo_python/train_resource/train_split.py:12: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.&#xA;  tr_configs = yaml.load(f)&#xA;INFO: Created TensorFlow Lite XNNPACK delegate for CPU.&#xA;/home/huishi/anaconda3/envs/sdb/python3.8/site-packages/skvideo/__init__.py:306: UserWarning: ffmpeg/ffprobe not found in path: /usr/local/bin&#xA;  warnings.warn("ffmpeg/ffprobe not found in path: " &#x2B; str(path), UserWarning)&#xA;Traceback (most recent call last):&#xA;  File "RabbitMqUtils.py", line 17, in <module>&#xA;    from video_postprocess import post_Process&#xA;  File "/home/huishi/workspace/projectsideo_pythonideo_postprocess/post_Process.py", line 12, in <module>&#xA;    import skvideo.io&#xA;  File "/home/huishi/anaconda3/envs/sdb/python3.8/site-packages/skvideo/io/__init__.py", line 8, in <module>&#xA;    from .ffmpeg import *&#xA;ModuleNotFoundError: **No module named &#x27;skvideo.io.ffmpeg&#x27;**&#xA;(sd) huishi@huishi:~/workspace/projectsideo_python$&#xA;</module></module></module>

    &#xA;

    I have tried to upgrade pip and skvideo but it doesn't work.

    &#xA;

    How can I solve this problem ?

    &#xA;

  • nginx rtmp-module can't execute ffmpeg

    6 juin 2023, par Nasir

    I am having an issue with nginx-rtmp-module exec ffmpeg command. i have followed the example on &#xA;www.github.com/arut/nginx-rtmp-module

    &#xA;&#xA;

    /home/junaid/bin/ffmpeg -f video4linux2 -i /dev/video1 -c:v libx264 -an -f flv rtmp://127.0.0.1:1935/myapp/mystream&#xA;

    &#xA;&#xA;

    the command is working fine in terminal

    &#xA;&#xA;

    Config file :

    &#xA;&#xA;

    rtmp {&#xA;server {&#xA;    listen 1935;&#xA;    ping 30s;&#xA;    notify_method get;&#xA;&#xA;    application myapp {&#xA;    live on;&#xA;    allow play all;&#xA;    exec_static /home/junaid/bin/ffmpeg -f video4linux2 -i /dev/video1 -c:v libx264 -an -f flv rtmp://127.0.0.1:1935/myapp/mystream;      &#xA; }&#xA;}&#xA;

    &#xA;&#xA;

    Error log :&#xA;http://www.codepad.org/enD4wlZ9

    &#xA;&#xA;

    I have tried :

    &#xA;&#xA;

      &#xA;
    • nginx running as root (have permission to execute ffmpeg)
    • &#xA;

    • using ip instead of localhost
    • &#xA;

    • using complete path to ffmpeg
    • &#xA;

    • executing bash file (having ffmpeg and echo commands : echo commands execute just fine) from nginx
    • &#xA;

    &#xA;&#xA;

    please help me resolve this issue

    &#xA;

  • How to use the QMediaPlayer module to connect to a rtsp stream ?

    19 juin 2023, par Daniela

    I'm creating an RTSP stream using FFmpeg :

    &#xA;

    ffmpeg -f gdigrab -framerate 30 -probesize 100M -i title="" -c:v libx264 -preset veryfast -maxrate 1000k -bufsize 1000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 128k -f rtsp -rtsp_transport udp rtsp://...129:8554/stream&#xA;

    &#xA;

    and trying to connect to it using the Qt module QMediaPlayer.

    &#xA;

    It stuck for many seconds when it read the line&#xA;player->setSource(QUrl("rtsp://....129:8554/stream"));

    &#xA;

    and then debug this message :

    &#xA;

    qt.multimedia.ffmpeg.mediadataholder: AVStream duration -9223372036854775808 is invalid. Taking it from the metadata&#xA;

    &#xA;

    Also, connect(player, &amp;QMediaPlayer::errorOccurred print :

    &#xA;

    Error: "Invalid argument"

    &#xA;

    class MediaPlayer : public QObject&#xA;{&#xA;    Q_OBJECT&#xA;public:&#xA;    MediaPlayer (QObject* parent = nullptr) : QObject(parent)&#xA;    {&#xA;        player = new QMediaPlayer;&#xA;        player->setSource(QUrl("rtsp://....129:8554/stream"));&#xA;        connect(player, &amp;QMediaPlayer::errorOccurred, this, [this](QMediaPlayer::Error error, const QString&amp; errorString)&#xA;        {&#xA;            qDebug() &lt;&lt; "Error:" &lt;&lt; errorString;&#xA;        });&#xA;&#xA;        videoWidget = new QVideoWidget;&#xA;        player->setVideoOutput(videoWidget);&#xA;&#xA;        videoWidget->show();&#xA;        player->play();&#xA;    }&#xA;&#xA;private:&#xA;    QMediaPlayer* player;&#xA;    QVideoWidget* videoWidget;&#xA;};&#xA;

    &#xA;

    Testing the exactly same streamUrl on vlc does work correctly.&#xA;I'm using Qt 6.6, and Win10. ffmpeg 6.0

    &#xA;

    How I could debug this ?

    &#xA;