
Recherche avancée
Autres articles (80)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 ) (...)
Sur d’autres sites (13551)
-
Rescalling and Reposition images in FFMPEG in a video #2
9 février 2021, par najam ulhassanI am trying to achieve this result using Mobile-FFMPEG :



using following command :


E/COMMAND :


ffmpeg -y -loop 1 -t 10 -i /storage/emulated/0/InvitationTemp/image.png -s 991x903
-loop 1 -i /storage/emulated/0/InvitationTemp/image_0.png 
-loop 1 -i /storage/emulated/0/InvitationTemp/image_1.png 
-loop 1 -i /storage/emulated/0/InvitationTemp/image_2.png 
-loop 1 -i /storage/emulated/0/InvitationTemp/image_3.png 
-loop 1 -i /storage/emulated/0/InvitationTemp/image_4.png 
-filter_complex 
 
[1]scale=eval=frame:w='min(292/2,298/2)':h='min(292/2,298/2)',rotate=a=0*PI/180:c=black@0:oh='roth(0*PI/180)':ow='rotw(0*PI/180)':bilinear=1,fade=in:st=0:d=1:alpha=1[img1]; [2]scale=eval=frame:w='min(258/2,322/2)':h='min(258/2,322/2)',rotate=a=0*PI/180:c=black@0:oh='roth(0*PI/180)':ow='rotw(0*PI/180)':bilinear=1,fade=in:st=1:d=2:alpha=1[img2];
[3]scale=eval=frame:w='min(240/2,218/2)':h='min(240/2,218/2)',rotate=a=0*PI/180:c=black@0:oh='roth(0*PI/180)':ow='rotw(0*PI/180)':bilinear=1,fade=in:st=2:d=3:alpha=1[img3]; [4]scale=eval=frame:w='min(290/2,320/2)':h='min(290/2,320/2)',rotate=a=0*PI/180:c=black@0:oh='roth(0*PI/180)':ow='rotw(0*PI/180)':bilinear=1,fade=in:st=3:d=4:alpha=1[img4]; [5]scale=eval=frame:w='min(425/2,91/2)':h='min(425/2,91/2)',rotate=a=0*PI/180:c=black@0:oh='roth(0*PI/180)':ow='rotw(0*PI/180)':bilinear=1,fade=in:st=4:d=5:alpha=1[img5];
[0][img1]overlay=137:341:shortest=1:format=auto[bg1];
[bg1][img2]overlay=609:74:shortest=1:format=auto[bg2];
[bg2][img3]overlay=432:325:shortest=1:format=auto[bg3];
[bg3][img4]overlay=700:579:shortest=1:format=auto[bg4];
[bg4][img5]overlay=92:786:shortest=1:format=auto,format=yuv420p /storage/emulated/0/InvitationEventVideos/video_2021_Feb_09_09_39_38.mp4



But I am receiving this output... Failing to rescale and repositions propertly my png's.


https://www.youtube.com/watch?v=EIJEPIHTcio


-
python serve mp4 files securely [closed]
4 juin 2021, par mariam_gvikvarxarI am building video serving service on python (django framework). The main requirement is that users should not be able to see mp4 direct link.


I was thinking about generating .ts files with subprocess using ffmpeg


like this :


import subprocess

infile = 'video.ts'
outfile = 'video.mp4'

subprocess.run(['ffmpeg', '-i', infile, outfile])



but as I guess it will take a lot of resources (in a RAM) if multiple users try to watch videos


How would you solve this problem if you were me ?


thanks in advance


-
Two rtsp streams to youtube on a Pi3
19 mars 2020, par Sébastien BonaiméI want to stream two rtsp camera from my birdbox to youtube from my raspberry pi 3 with the entrance in Pip (picture in picture) on top left. I don’t need sound.
192.168.1.13 can do 30 fps with sound that I don’t need
192.168.1.31 is only 12 fps without soundI have some problems of lag between the two camera on the youtube stream which I think is due to the different fps. I compile ffmpeg with h264. Here is what I did
ffmpeg -re -f lavfi -i anullsrc -rtsp_transport udp -thread_queue_size 1000k -i rtsp://admin:123@192.168.1.13:554 -i rtsp://admin:@192.168.1.31:554 -filter_complex "[1]scale=iw/4:ih/4[pip]; [2][pip] overlay=0:0" -framerate 13 -bufsize 512k -b:v 1500k -threads 4 -q:v 3 -c:v h264_omx -c:a aac -f flv rtmp://a.rtmp.youtube.com/live2/XXX-XXXX-XXX
and here are the errors
[h264 @ 0x20ddd30] error while decoding MB 69 67, bytestream -6rate=1589.2kbits/s dup=0 drop=6 speed=0.997x
[h264 @ 0x20ddd30] concealing 100 DC, 100 AC, 100 MV errors in I frame
rtsp://admin:@192.168.1.31:554: corrupt decoded frame in stream 0te=1589.0kbits/s dup=0 drop=6 speed=0.997x
[rtsp @ 0x1f2cea0] max delay reached. need to consume packetbitrate=1589.2kbits/s dup=0 drop=6 speed=0.997x
[rtsp @ 0x1f2cea0] RTP: missed 35 packets
[h264 @ 0x2099580] error while decoding MB 60 30, bytestream -6rate=1589.3kbits/s dup=0 drop=6 speed=0.997x
[h264 @ 0x2099580] concealing 4549 DC, 4549 AC, 4549 MV errors in I frame
rtsp://admin:@192.168.1.31:554: corrupt decoded frame in stream 0
[rtsp @ 0x1f2cea0] max delay reached. need to consume packetbitrate=1588.9What can I do to improve the stream ? When a bird enter the box, there is also a quality problem when the image is changing and some lagging.
You can have a look here
https://www.youtube.com/watch?v=iisbinyvSFk&feature=youtu.beThank you