
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (12)
-
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 (...)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
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 (3504)
-
How to convert raw H.264 stream from video call to mp4 file
13 février 2020, par DanielI have captured a SIP point to point video call using wireshark and I used the program ’videosnarf’ on Ubuntu 12.04 to extract the raw H.264 stream from the PCAP. I am having some problems with ffmpeg when trying to convert it to MP4. Below is the ffprobe output :
[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
codec_type=video
codec_time_base=1/2400000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=704
height=396
has_b_frames=0
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv420p
level=51
r_frame_rate=25/1
avg_frame_rate=25/1
time_base=1/1200000
start_time=N/A
duration=N/A
[/STREAM]Here is the command I used to generate the MP4 :
ffmpeg -f h264 -i H264-media-3.264 -vcodec copy output.mp4
When I transfer the file to my Windows PC, I can’t open the file in VLC. When opening in Windows Media Player (not sure the version but it’s on Windows 8) it plays but very quickly (almost as if it’s playing in fast forward. I also tried with :
ffmpeg -f h264 -i H264-media-3.264 -vcodec copy -r 25 output.mp4
I am able to play the raw H.264 stream using "MPC-HC" on Windows but I need it in MP4 format.
-
Streaming ALSA to rtsp stream using ffmpeg
12 février 2019, par DemosthenesI would like to stream audio captured using an ALSA microphone with ffmpeg. I can capture the video to a file, what I want is ffmpeg to start an rtsp server which can be accessed by (multiple) clients in my local network. But I can’t even make it work with one client so far.
What I tried so far :
ffmpeg -f alsa -ac 1 -ar 44100 -i hw:1,0 -t 10 test.wav
This is working perfectly. File is saved and can be played back. So input is alright.
ffmpeg -f alsa -ac 1 -ar 44100 -i hw:1,0 -f rtsp rtsp_transport tcp rtsp://localhost:8090/live.sdp
Trying this dry will result in an error it cannot connect to the server. Which is odd, I want to tell ffmpeg to start a server. So I’m starting one using
ffserver ffserver.conf
with a config file containing
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -
NoDaemon
<feed>
</feed>This starts a server, or so it would seem. Now, trying the ffmpeg command from above again, I get
[tcp @ 0x11d2490] Connection to tcp://localhost:8090?timeout=0 failed (Connection refused), trying next address
Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing inputStream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (native))
Last message repeated 1 timesSo I thought, maybe I should state an output codec, so :
ffmpeg -f alsa -ac 1 -ar 44100 -i hw:1,0 -codec:a libmp3lame -q:a 2 -f rtsp rtsp_transport tcp rtsp://localhost:8090/live.sdp
which gives pretty much the same error, just with a different codec :
[tcp @ 0x24d8630] Connection to tcp://localhost:8090?timeout=0 failed (Connection refused), trying next address
Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing inputStream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
Last message repeated 1 timesAny hints to what I am missing ?
-
Node.js : realtime conversion from jpeg images to video file
15 mai 2020, par MastErAldoI'm using node.js and through the socket.io library I receive chunks of data that are actually jpeg images. These images are frames of a realtime video captured from a remote webcam. I'm forced to stream the video as jpeg frames. I'm looking for a way to convert on the fly these jpeg images in a video file (mpeg 4 or mjpeg file). Does node have a library that can do this ? I already took a look at the Node-fluent-FFMPEG library but the only examples given were about conversions of jpeg files to a video and not a conversion on the fly from a stream of jpeg images. Or alternatively, does ffmpeg for windows support a stream of jpeg images as input ?