
Recherche avancée
Autres articles (39)
-
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 (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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 (5372)
-
Python - ffmpeg (commands to start, stop recording)
24 novembre 2017, par J. FoeI need a programme that would open cmd and have a command to start recording in cmd and to stop recording in cmd
import win32com.client
from datetime import datetime
import time
shell = win32com.client.Dispatch("WScript.Shell")
shell.run("cmd") #run's command panel
shell.AppActivate("cmd")
time.sleep(3) #wait's 3 seconds
shell.SendKeys('ffmpeg -y -f dshow -i video="Logitech HD Webcam C270"
kamera.mp4') #type's in cmd the following (start's recording)
time.sleep(3)
shell.SendKeys("{ENTER}") #enter is pressed in cmd
time.sleep(6)
shell.SendKeys('exit')
shell.SendKeys("{ENTER}") #here is a problem, the proggrame wont shutdown after 6 secI could use -t 00:00:03 in ffmpeg, but I need to close the programme by command
-
fftools/ffmpeg : stop accessing av_stream_get_parser() from the main thread
18 août 2022, par Anton Khirnovfftools/ffmpeg : stop accessing av_stream_get_parser() from the main thread
It races with the demuxing thread. Instead, send the information along
with the demuxed packets.Ideally, the code should stop using the stream-internal parsing
completely, but that requires considerably more effort.Fixes races, e.g. in :
fate-h264-brokensps-2580
fate-h264-extradata-reload
fate-iv8-demux
fate-m4v-cfr
fate-m4v
-
Ffmpeg hls segment stop segmenting after 5300 segments
9 avril 2019, par Hug DuinoI’m trying to make a http video streaming using hls, ffmpeg and raspivid and I need a replay time of 1 day but after 5300 segments ffmpeg stop segmenting and continue writing the video to the 5301 segment for the end of the day (5300/5301 is an average number, +- 50 segments)
I have plenty of storage space, my camera can record all the day. The only problem is ffmpeg who decide to stop segmenting after 5300 segmentsThank you and sorry for my poor english ^^
Here is my streaming script :
base="/var/www/html/"
set -x
rm -rf /var/www/html/ppc/saves/live live.h264
mkdir -p /var/www/html/ppc/saves/live
# fifos seem to work more reliably than pipes - and the fact that the
# fifo can be named helps ffmpeg guess the format correctly.
mkfifo live.h264
raspivid -a 1036 -w 1640 -h 1232 -fps 15 -t 37200000 -b 1500000 -o - | psips > live.h264 &
# Letting the buffer fill a little seems to help ffmpeg to id the stream
sleep 2
# Need ffmpeg around 1.0.5 or later. The stock Debian ffmpeg won't work.
# I'm not aware of options apart from building it from source. I have
# Raspbian packags built from Debian Multimedia sources. Available on
# request but I don't want to post them publicly because I haven't cross
# compiled all of Debian Multimedia and conflicts can occur.
ffmpeg -y -r 15 -i live.h264 -f alsa -i default:CARD=C525 -r:a 48000 -ac 1 -af adelay=32s -c:v copy -c:a aac -b:a 128k -map 0:0 -map 1:0 -r 30 \
-f segment \
-segment_time 7 \
-segment_format mpegts \
-segment_list /var/www/html/ppc/saves/live/live.m3u8 \
-segment_list_flags live \
-segment_list_type m3u8 \
-initial_offset -9 \
-strict 2 /var/www/html/ppc/saves/live/%08d.ts < /dev/null```