
Recherche avancée
Autres articles (88)
-
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)
Sur d’autres sites (10626)
-
Play MJPEG stream to v4l2loopback device
28 juillet 2020, par ahofferI have a RaspberryPi with a V1 camera.


I want to use it as my camera for Zoom, Teams, and other virtual meetings.


I have the RaspberryPi streaming motion JPEG over http using the application named "Motion".


I created a v4l2 dummy device on my linux laptop as a virtual camera.


However, I can't get the mjpeg stream to play to the v4l2 dummy device with the simple command :


ffmpeg -i "http://milan.local:8081" -map 0:v -f v4l2 /dev/video4


The result is :


Input #0, mpjpeg, from 'http://milan.local:8081':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
 Stream #0:0 -> #0:0 (mjpeg (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[v4l2 @ 0x55a04567bbe0] Unknown V4L2 pixel format equivalent for yuvj420p
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0 --




What options am I missing from my
ffmpeg
command ?

-
FFmpeg encode an applied filter frame
10 août 2017, par tqnI’m coding an app that crop video to square. I use native lib from ffmpeg like libavfilter, libavformat, ... After apply a filter, my video is cropped to correct size, but when encode and write to output, it seem like it cropped and zoom out everything. Here are the first frame that I extracted to jpeg to debug.
Original Frame
Cropped Frame
Encoded cropped Frame
I tried both crop function like
av_buffersink_get_frame(buffersink_ctx, pFrameSquare)
andav_picture_crop((AVPicture *) pFrameSquare, (AVPicture *) pFrame, pic_format, 0, 0)
but the output are the same. So what happened ? -
FFMPEG zoompan image is cut off
24 juillet 2018, par kklmarvelmediaHi I’m using zoompan to resize an image overlay on a video using ffmpeg, but my image got cut off by the boundary after setting its size, like the following :
ffmpeg -y -i 6.mp4 -loop 1 -i watermark.png -filter_complex "[1:v]zoompan=z=2:d=50:x=0:y=0:s='280x105'[1v];[0:v][1v]overlay=x=0:y=0" -t 8 test.mp4
If I remove the size, it becomes really big covering all screen, like following :
ffmpeg -y -i 6.mp4 -loop 1 -i watermark.png -filter_complex "[1:v]zoompan=z=2:d=50:x=0:y=0[1v];[0:v][1v]overlay=x=0:y=0" -t 8 test.mp4
How do we zoom an overlay image while scaling its size ?