
Recherche avancée
Autres articles (38)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne 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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-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 documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (7334)
-
Get stdout from an idle background application in Windows
24 septembre 2016, par JoeI have an ffmpeg.exe process that appears to be hung - it hasn’t done anything for several days. It was started by exec() in PHP, so is running in the background and has no window.
I would like to know what caused it to stop/hang.
Is there anyway to get what it has written to stdout ?
-
QML multimedia cannot play m3u8 that is generated with ffmpeg
5 juin 2023, par LeXela-EDWith the following command, I am trying to stream an IP camera over web :


ffmpeg -re -i "rtsp://<user>:<password>@<ip>:<port>" -c:v copy -c:a copy -hls_segment_type mpegts -hls_list_size 5 -hls_wrap 5 -hls_time 2 -hls_flags split_by_time -segment_time_delta 1.00 -reset_timestamps 1 -hls_allow_cache 0 -movflags faststart live.m3u8```
</port></ip></password></user>


This command, produces live.m3u8 and five ts files : live0.ts, live1.ts, live2.ts, live3.ts, and live4. And conversion goes smoothly. At some random point, the content of live.m3u8 is as follows :


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:92
#EXTINF:2.000000,
live2.ts
#EXTINF:2.000000,
live3.ts
#EXTINF:2.035800,
live4.ts
#EXTINF:2.000000,
live0.ts
#EXTINF:1.963278,
live1.ts



However, when I tried to play live.m3u8 with the following QML code, it only played a very first segments of it :


import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtMultimedia 5.15

Window
{
 width: 640
 height: 480
 visible: true

 Item
 {
 anchors.fill: parent

 MediaPlayer
 {
 id: mediaplayer
 source: "path-to-live/live.m3u8"
 videoOutput: videoOutput
 }

 VideoOutput
 {
 id: videoOutput
 anchors.fill: parent
 }

 MouseArea
 {
 anchors.fill: parent
 onPressed: mediaplayer.play();
 }
 }
}




The interesting thing is : I manually deleted live.m3u8, and obviously, ffmpeg generated another one after ! Then I clicked on the QML program window, and surprisingly, it played the stream nonstop as it was expected at the first run !


What is the problem here ? What I am missing ? Should I change the ffmpeg command or do something with my qml code ? Any idea or help ?


Thank you in advance.


-
Why does ffplay read both video and keyboard input from stdin ?
27 janvier 2016, par cxrodgersI’m trying to compress a video feed from a webcam while simultaneously displaying it, using ffmpeg and ffplay. I do actually have this working, but I want to disable the ffplay window from interpreting keyboard presses.
It took me a while to figure this out but here’s what I’m using :
ffmpeg -f video4linux2 -i /dev/video0 -vcodec mpeg4 -f rawvideo - \
| tee output.mkv \
| ffplay -fflags nobuffer -(Actually I am doing all of this from a Python script using the subprocess module. Here I have represented it as a straightforward terminal command because the result is the same.)
So this actually works and does everything I want. The only thing is that if the ffplay window is active, it interprets keypresses (like "F" for fullscreen). Instead I want it to completely ignore all keypresses.
My questions :
- How is this even possible ? I thought I was redirecting video input to stdin, and then telling ffplay to read video from stdin. How can keypresses be multiplexed on the same pipe ?
- How can I disable this behavior ? I tried "-nostdin" but it doesn’t work with my version.
# ffplay -nostdin output.mkv
ffplay version N-77455-g4707497 Copyright
(c) 2003-2015 the FFmpeg developers built with gcc 4.8 (Ubuntu
4.8.4-2ubuntu1 14.04)...
Failed to set value ’output.mkv’ for option ’nostdin’ : Option not
found