
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (62)
-
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 ) (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (11398)
-
Audio in ffmpeg
1er octobre 2020, par Konduri Sai AdityaI need to add audio as an input to below command, How can I achieve it


ffmpeg -i test.png -i test.mp4 -y -filter_complex "[1:v]scale=1422:800[scale1],[scale1]rotate=0:c=black@0:ow=rotw(0):oh=roth(0)[rotate0],[0:v][rotate0]overlay=258.04:107.71[mediaoverlayout0],color=black@0:451x137[c1],[c1]setsar=1,drawtext=fontfile='/Windows/fonts/Peddana-Regular.ttf':text='ADITYA':fontsize=121.19999999999999:fontcolor=#1e8bc3:line_spacing=16.91,rotate=0:ow=rotw(0):oh=roth(0):c=black@0[rottext1],[mediaoverlayout0][rottext1]overlay=x=544.63:y=263.076:shortest=1" -pix_fmt yuv420p op.mp4



-
conversion from YUV to RGB color
13 avril 2024, par PrashantI'm trying to convert FFMPEG's Intensity color map from yuv format to rgb. It should give you colors as shown in the color bar in the image. You can generate a spectrogram using command :


ffmpeg -i words.wav -lavfi showspectrumpic=s=224x224:mode=separate:color=intensity spectrogram.png





Here is the code :


import numpy as np

def rgb_from_yuv(Y, U, V):

 Y -= 16
 U -= 128
 V -= 128
 R = 1.164 * Y + 1.596 * V
 G = 1.164 * Y - 0.392 * U - 0.813 * V
 B = 1.164 * Y + 2.017 * U
 
 # Clip and normalize RGB values
 R = np.clip(R, 0, 255)
 G = np.clip(G, 0, 255)
 B = np.clip(B, 0, 255)
 
 return '#{:02X}{:02X}{:02X}'.format(int(R), int(G), int(B))

def yuv_to_rgb(Y, U,V):
 # Convert YUV to RGB
 R = Y + (V - 128) * 1.40200
 G = Y + (U - 128) * -0.34414 + (V - 128) * -0.71414
 B = Y + (U - 128) * 1.77200

 # Clip and normalize RGB values
 R = np.clip(R, 0, 255)
 G = np.clip(G, 0, 255)
 B = np.clip(B, 0, 255)
 
 print(R,G,B)
 
 return '#{:02X}{:02X}{:02X}'.format(int(R), int(G), int(B))

# FFMPEG's intensity color map
colors = [
 [ 0, 0, 0, 0 ],
 [ 0.13, .03587126228984074, .1573300977624594, -.02548747583751842 ],
 [ 0.30, .18572281794568020, .1772436246393981, .17475554840414750 ],
 [ 0.60, .28184980583656130, -.1593064119945782, .47132074554608920 ],
 [ 0.73, .65830621175547810, -.3716070802232764, .24352759331252930 ],
 [ 0.78, .76318535758242900, -.4307467689263783, .16866496622310430 ],
 [ 0.91, .95336363636363640, -.2045454545454546, .03313636363636363 ],
 [ 1, 1, 0, 0 ]]
 
cmaps = []
for i, c in enumerate(colors):
 Y = c[1]
 U = c[2]
 V = c[3]

 hex = yuv_to_rgb(Y,U,V)

 cmaps.append((c[0], hex)) 
print(cmaps)



Both the functions are not providing desired output.


-
How to rpt stream between two different Laptop [closed]
19 février 2024, par FarukI want make some test for rtp. I connected Ubuntu Laptop and Windows Laptop with ethernet cable. I want to stream from one computer and run it with VLC from the other.


I did two test for this :


First test(on Ubuntu)


- 

- I streamed with this command :
ffmpeg -re -i ~/Videos/test.mp3 -acodec pcm_s16be -ar 44100 -ac 2 -payload_type 10 -f rtp rtp://127.0.0.1:8080
- I started VLC on Ubuntu and I enter
rtp://127.0.0.1:8080
toOpen Network Stream






This worked.


Second Test


- 

- I connected two Laptops via ethernet cable. Main laptop is Ubuntu and the other one windows.
- Windows laptop IP address is :
10.42.0.167
(I tested internet and windows laptop can connect to internet) - I streamed with this command :
ffmpeg -re -i ~/Videos/test.mp3 -acodec pcm_s16be -ar 44100 -ac 2 -payload_type 10 -f rtp rtp://10.42.0.167:8080
- I checked data on Ubuntu with Wireshark and data is going. I did this test on Windows laptop and data is coming.
- I started VLC on Windows laptop and I enter
rtp://10.42.0.167:8080
to Open Network Stream but VLC can nor play stream audio.












What is the reason why the stream can not play on VLC that a Windows laptop even though data is received ?


How can I achieve this ?


Thanks.


- I streamed with this command :