
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (66)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (6923)
-
openRTSP TCP 100% Cpu
25 avril 2014, par user1199722First thanks for the great work for live media group.
I am currently facing a problem with OpenRTSP utilizing cpu 100%.
I am using the following commands to stream from remote ipcamera through internet. It works fine with local cameras.
But when I try to stream from Internet IP camera (720p), At random times openRTSP start uses 100% cpu and stops output of streaming. The process is not exiting it stay with 100% cpu.I have observed that stream stops with a series of "c9c99c999......."
I am using TCP streaming of rtsp.
Please find the command that i am using.openRTSP -d 60 -v -t -c -b 800000 | /bin/ffmpeg -r 15 -i - -codec copy -hls_list_size 65535 -hls_time 5
Please provide your suggestions regarding the problem
Waiting for your valuable pointers. -
Merging video in a specific order using ffmpeg
22 septembre 2020, par TerryI use the following to merge video in numeric order.


for f in *; do mv "$f" "${f: -17}"; done &&. find *.ts|. sed 's:\:\ :g'| sed 's/^/file /' > fraglist.txt && ffmpeg -f concat -safe 0 -i fraglist.txt -c copy output.ts; rm fraglist.txt


This works great for files named like the following...

000001

000002

000003

000004

000005

000006

000007

000008

000009

000010

But If I need something like the following merged the order is based on how many digits there are in the file name...


1708.ts
9803.ts
13798.ts
17815.ts
21804.ts
25819.ts

29832.ts

What command could I use to get the second group of files merged in that order ? Thank you for your help !


-
Unexpected result from Python re.search for command line output
23 mai 2020, par Fernando OrtegaI'm using
subprocess.Popen
to run an ffmpeg command (in Windows) and then extract the part of the output that has the frame count with a regex expression usingre.search
. Sometimes, not always, I get the wrong result from search even if the printed command output string clearly shows what I expect.


When I use
re.findall
I get 2 results, the "wrong" one and the expected one, but in the output string of the command I still only see one option. I'd like to understand why this is happening.


Here's the code I'm running :



import re
import subprocess

# path to video with 300 frames
cmd = r'ffmpeg -i C:\...\300frames_HUD.avi -map 0:v:0 -c copy -f null -'
p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
output_info = p.communicate()[0]

regex = r'(frame=\s*)([0-9]+)'
search_result = re.search(regex, output_info)
findall_result = re.findall(regex, output_info)
print "SEARCH"
print '0', search_result.group(0)
print '1', search_result.group(1)
print '2', search_result.group(2)

print "FIND ALL"
print findall_result




Here are the results I get :



SEARCH
0 frame= 293
1 frame= 
2 293
FIND ALL
[('frame= ', '293'), ('frame= ', '300')]




And here is the printed
output_info
, the ffmpeg command output I'm searching on :


ffmpeg version git-2020-03-15-c467328 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9.2.1 (GCC) 20200122
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
 libavutil 56. 42.100 / 56. 42.100
 libavcodec 58. 75.100 / 58. 75.100
 libavformat 58. 41.100 / 58. 41.100
 libavdevice 58. 9.103 / 58. 9.103
 libavfilter 7. 77.100 / 7. 77.100
 libswscale 5. 6.101 / 5. 6.101
 libswresample 3. 6.100 / 3. 6.100
 libpostproc 55. 6.100 / 55. 6.100
Input #0, avi, from 'C:\...\300frames_HUD.avi':
 Duration: 00:00:10.00, start: 0.000000, bitrate: 373255 kb/s
 Stream #0:0: Video: rawvideo, bgr24, 960x540, 374496 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
 Metadata:
 title : V
Output #0, null, to 'pipe:':
 Metadata:
 encoder : Lavf58.41.100
 Stream #0:0: Video: rawvideo, bgr24, 960x540, q=2-31, 374496 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
 Metadata:
 title : V
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 300 fps=0.0 q=-1.0 Lsize=N/A time=00:00:10.00 bitrate=N/A speed=19.4x 
video:455625kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown




I'm essentially looking for the 300 number in
frame= 300
.
I can reproduce this easily when I execute it inside my IDE (pycharm) twice in a row quickly.