
Recherche avancée
Autres articles (37)
-
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 (...) -
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...) -
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 (9712)
-
ffmpeg simple 5fps webcam capturing but results in poor performance
16 septembre 2022, par irousI'm using Windows 10, intel core i5, 8GB ram. and download ffmpeg from official site : https://www.gyan.dev/ffmpeg/builds/


I'm trying to capture 5fps video from webcam but the output fps is only 3.4 and speed is 0.668x. (I also tried with libx264 but the speed is same 0.5).

This is my command :

ffmpeg ^
 -f dshow -r 5 -s 640x480 -i video="Sony Visual Communication Camera" ^
 -f rawvideo output.raw



screenshot of console output :



The cpu usage for above ffmpeg command is about 0.1% and also ram/disk usage is relatively low.

If I change the fps to 30 (-r 30
), the output is : fps 7.9, speed 0.261x and CPU usage is still very low 0.1%.

But I can easily record 30fps video with the same format yuyv422 in Directshow GraphEdit :



So my question is why does ffmpeg show such poor performance even with 5fps video capturing ? If it can only produce 3.4 fps in the first case why it can output up to 7.9 fps in the latter case (when I set desired fps to 30) ? Did I mis-config ffmpeg ?

Any help is appreciated.

-
ffmpeg : Video duration confused for some players on Android
2 juin 2021, par Radi ChoI am using ffmpeg to scale down and compress videos to be used in Android app.
The original files are played with no problem and have no metadata issues. When I re-encode them however, the Android player is able to play them, but displays wrong durations. My app is in production and it is using official player implementations, so I wonder if there is a way to fix the corruption using ffmpeg or adding some metadata to the generated files. Hopefully that's possible, but if not - any other possible fixes will be highly appreciated :)


My ffmpeg command is complex, including scaling and encoding but I can confirm this issue is reproducible on my end with the simplest
ffmpeg -i video.mp4 -c:v libx264 videogen.mp4
command.

I'm leaving links to the two files if that's helpful for reference.


- 

- video.mp4
- videogen.mp4






Any ideas what could be causing this and how to fix it ?


Player issues showcase :

video.mp4 (original)


videogen.mp4 (re-encoded)



-
FFmpeg : NetStream.Play.StreamNotFound on RMTP stream
22 juillet 2014, par user2957378I want to take snapshots periodically of a RTMP live video stream.
I can see the rtmp video stream using VLC. This is the rtmp url :rtmp://antena3fms35livefs.fplive.net/antena3fms35live-live/stream-antena3_1
I’m using the following command to capture the snapshots, according to the official FFmpeg site here :
ffmpeg -i rtmp://antena3fms35livefs.fplive.net/antena3fms35live-live/stream-antena3_1 -f image2 -vf fps=fps=1 out%d.png
The command produces the following output :
ffmpeg version N-64667-gd595361 Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 14 2014 22:09:48 with gcc 4.8.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzl
libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amr
enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --ena
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 47.100 / 55. 47.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 10.100 / 4. 10.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
HandShake: client signature does not match!
Closing connection: NetStream.Play.StreamNotFound
rtmp://antena3fms35livefs.fplive.net/antena3fms35live-live/stream-antena3_1: Unknown error occurredI’ve tried it with another rmtp streams, but I’m still getting the exact same error.
What could be the problem ?
Thank you !