
Recherche avancée
Autres articles (69)
-
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 (...)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (9441)
-
Can't load MPEG file with MSE
11 juillet 2019, par LéandreHere is my problem : I want to reproduce this example of MSE use, but when I change the mp4 file, it doesn’t work. I have this error :
Failed to execute 'endOfStream' on 'MediaSource': The MediaSource's readyState is not 'open'. at SourceBuffer.<anonymous></anonymous>
I saw here that I needed to fragment my mp4 file, wich I did. Here is my mp4 file header :
[ftyp] size=8+28
major_brand = mp42
minor_version = 0
compatible_brand = isom
compatible_brand = iso2
compatible_brand = avc1
compatible_brand = mp41
compatible_brand = mp42
[moov] size=8+3841
[mvhd] size=12+96And this is the mp4 file header of the file demo : (this file works)
[ftyp] size=8+20
major_brand = mp42
minor_version = 1
compatible_brand = mp42
compatible_brand = avc1
compatible_brand = iso5
[moov] size=8+1871
[mvhd] size=12+96
timescale = 1000
duration = 60095Even when I change the minor value with
MP4Box -brand mp42:1 fragmented-video.mp4
, it doesn’t work.I also tried to separate video data and audio data ( view in FFMPEG H.264 encoding for HTML5 (and ultimately MPEG-DASH) ), but it didn’t solve the problem.
(I tried on Chromium)
If you have any ideas to solve this, it will be great !
Thanks
-
How to load data to be used for whisper
26 juin 2023, par P.BjurMy eventual goal is to take an audio stream from twilio and give it to whisper. This is not going great so I am trying to convert the audio into the format that whisper expects and then save that to a file so that I can give it a listen and make sure everything has gone well. When I take the data from twilio and try to save it using the function below, I get the error below. Is there something obvious that I am doing wrong ?


.run()
 ^^^^^
 File "/opt/homebrew/lib/python3.11/site-packages/ffmpeg/_run.py", line 313, in run
 process = run_async(
 ^^^^^^^^^^
 File "/opt/homebrew/lib/python3.11/site-packages/ffmpeg/_run.py", line 284, in run_async
 return subprocess.Popen(
 ^^^^^^^^^^^^^^^^^
 File "/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 1026, in __init__
 self._execute_child(args, executable, preexec_fn, close_fds,
 File "/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 1883, in _execute_child
 self.pid = _fork_exec(
 ^^^^^^^^^^^
ValueError: embedded null byte



def add_audio(audio_data: bytes):
 global buffer
 audio, err = ffmpeg \
 .input("pipe:", format='mulaw', acodec='pcm_mulaw', ar= 8000, ac=1) \
 .output("-", format="s16le", acodec="pcm_s16le", ar=16000, ac=1) \
 .run(cmd="ffmpeg", capture_stdout=True, capture_stderr=True, input=audio_data)


 # convert audio to numpy array
 audio = np.frombuffer(audio, np.int16).flatten().astype(np.float32) / 32768.0

 # add audio to buffer
 buffer = np.concatenate((buffer, audio))

 ffmpeg \
 .input(buffer, format='f32le', acodec='pcm_f32le', ac=1, ar=16000) \
 .output('test.wav') \
 .run() 



-
How I can load testing my web application if I host it in Azure and Google Cloud
29 décembre 2018, par Anirudha GuptaI am trying to stream the video on Youtube using FFmpeg. Earlier I have a preset which is used to stream at lower resolution.
Now I want to send the video as it is. I am trying to use this code
./ffmpeg -re -i "C:\Users\Anirudha\Desktop\abc.mp4" -codec copy -f flv "rtmp://a.rtmp.youtube.com/live2/mykey1"
I got this code from here https://www.wowza.com/docs/how-to-configure-security-using-wowza-streaming-engine-manager
This code is working fine for Wowza but it’s shown running on youtube (in the command line) in Actual it’s not doing anything on the youtube website.
Is there any way to send the file to youtube the file as it is, What I am looking for is I don’t want to do anything on file. Let the resolution same as it is.