
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Autres articles (98)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (15935)
-
ffmpeg : simple RTMP streaming
2 avril 2013, par sajadI am trying to launch up a rtmp transcoder server using ffmpeg ; that receives udp MPEG-TS streams as input, transcodes it ; and generates an rtmp output to a URL, that can be accessed by users to receive and play the rtmp stream. All these are expected to be performed in a LAN and the output be accessed by all users.
1) First I don't know where the URL should point to. Is it enought to specify the IP of the system and some optional port ? Is it neccessary that a program should be listening on that port ?
2) How I can play the stream on the URL ?
I use a linux ubuntu machine whith IP=10.1.1.229 and I want to transcode multicast stream on this URL :
udp://@224.10.1.1:2001
.here is the command used to transcode input stream and generate rtmp url "rtmp ://10.1.1.229:2020".
ffmpeg -y -f mpegts -i "udp://@224.10.1.1:2001" -re -vcodec libx264 -maxrate 700k -r 25 -s 640x360 -deinterlace -acodec libfaac -ab 64k -ac 1 -ar 44100 -f flv "rtmp://10.1.1.229:2020"
and here is the command by which I am trying to play rtmp stream :
ffplay rtmp://10.1.1.229:2020
Any guidance would be helpfull. Thank you.
-
ffmpeg output 0 second with wrong coordinates and hidden text
18 juillet 2023, par Abdullah MohamedI'm trying to add some Text and Images to the video


Code


-i 'input.MOV' -i 'image.jpg' -filter_complex "[0]crop=1181.25:2100.0:1089.375:0.0[v];
 color=black[c];
 [v]colorchannelmixer=0.39:0.769:0.189:0:0:0.349:0.686:0.168:0:0:0.272:0.534:0.131:0:0:0:0:0[v];
 [c][v]scale2ref[t][v];
 [t]setsar=1,
 colorkey=black,
 split=2[t1][t2];
 [t1]drawtext=
 text=Abdullah Muhammad T1
 :fontsize=40.0
 :box=1
 :boxborderw=20.0
 :boxcolor=#2196f3
 :fontcolor=#f44336,
 rotate=10.0*PI/180:
 
 c=black@0[rotate];
 [v][rotate]overlay=x=400.0:y=300.0:shortest=1[v],
 
 
 [t2]drawtext=
 text=Abdullah Muhammad T2
 :fontsize=40.0
 :box=1
 :boxborderw=20.0
 :boxcolor=#ffeb3b
 :fontcolor=#000000,
 rotate=10.0*PI/180:
 
 c=black@0[rotate];
 [v][rotate]overlay=x=0.0:y=0.0:shortest=1[v],
 
 
 [1:v]scale=w=360.0:h=360.0,
 rotate=-90.0*PI/180:
 ow=rotw(iw-50):oh=roth(ih-50):
 c=black@0[rotate];
 [v][rotate]overlay=x=0.0:y=0.0:shortest=1[v],
 
 
 [1:v]scale=w=360.0:h=360.0,
 rotate=30.0*PI/180:
 ow=rotw(iw-50):oh=roth(ih-50):
 c=black@0[rotate];
 [v][rotate]overlay=x=200.0:y=600.0:shortest=1
 
 
 " -c:a copy -preset ultrafast -y 'output.mp4'



My Issues


- 

- First image should be at 0,0 coordinates but it's not.
- There should be 2 Texts but 1 of them is hidden and the other is not fully shown.
- the video is 13 seconds and the output is only 0 second.








Expected




Texts should be shown and images should be in the right position and video output should be 13 seconds.






Another issue




If I trimmed the video the output will still be the same duration




-i 'input_video.MOV' -ss 0:00:00.000000 -t 0:00:16.216000 -i 'input_image.jpg' -filter_complex "[0]crop=1181.25:2100.0:1089.375:0.0[v];
 color=black[c];
 [v]colorchannelmixer=0.39:0.769:0.189:0:0:0.349:0.686:0.168:0:0:0.272:0.534:0.131:0:0:0:0:0[v];
 [c][v]scale2ref[t][v];
 [t]setsar=1,
 colorkey=black,
 split=2[t1][t2];
 [t1]drawtext=
 text=Abdullah Muhammad T1
 :fontsize=40.0
 :box=1
 :boxborderw=20.0
 :boxcolor=#2196f3
 :fontcolor=#f44336,
 rotate=10.0*PI/180:
 
 c=black@0[rotate];
 [v][rotate]overlay=x=400.0:y=300.0:shortest=1[v],
 
 
 [t2]drawtext=
 text=Abdullah Muhammad T2
 :fontsize=40.0
 :box=1
 :boxborderw=20.0
 :boxcolor=#ffeb3b
 :fontcolor=#000000,
 rotate=10.0*PI/180:
 
 c=black@0[rotate];
 [v][rotate]overlay=x=0.0:y=0.0:shortest=1[v],
 
 
 [1:v]scale=w=360.0:h=360.0,
 rotate=-90.0*PI/180:
 ow=rotw(iw-50):oh=roth(ih-50):
 c=black@0[rotate];
 [v][rotate]overlay=x=0.0:y=0.0:shortest=1[v],
 
 
 [1:v]scale=w=360.0:h=360.0,
 rotate=30.0*PI/180:
 ow=rotw(iw-50):oh=roth(ih-50):
 c=black@0[rotate];
 [v][rotate]overlay=x=200.0:y=600.0:shortest=1
 
 
 " -c:a copy -preset ultrafast -y 'output.mp4'



-
avcodec/x86 : add avx512icl function for v210dec
14 décembre 2022, par James Darnley