
Recherche avancée
Autres articles (70)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (6498)
-
How to save an audiostream with ffmpeg
13 juillet 2020, par Nico EymaelI want to save an audiostream from beatport.com with ffmpeg.


- 

- The audiostream is : https://www.beatport.com/track/maximal-happiness/13855065
- Outputfile : audiotrack1.aac
- I know that the music is streamed in aac format. I want my output file to be also aac. I've looked up in which format it is being streamed.








So in cmd I write :


ffmpeg -i https://www.beatport.com/track/maximal-happiness/13855065.aac -vn -c:a copy audiotrack1.aac


My cmd answers me :


https://www.beatport.com/track/maximal-happiness/13855065: Invalid data found when processing input




-
How to save stream with ffmpeg to chunks, But in temporary name and change the name after to const
10 janvier, par EliyaI use ffmpeg to record IP camera and I save every 10 minutes to mp4 file.
This is my code :


ffmpeg -rtsp_transport tcp -i "rtsp://$user_name:$password@$IP:$port/cam/realmonitor?channel=1&subtype=1" -c copy -map 0 -reset_timestamps 1 -f segment -segment_time 600 -strftime 1 "%Y-%m-%d__%H:%M:%S.mp4"



Is there a way to save the file in temporary name until 10 minutes is done ?
I mean when the recording of 10 minutes didn't end the suffix will be bla.temp and when the recording of the 10 minutes is over, ffmpeg will change the suffix to .mp4 ?
is that possible ?


-
Save frame as image during video stream using ffmpeg, in C
30 avril 2017, par George T.I’m using the Parrot SDK3 to retrieve the video stream from a Bebop2 drone. From it I need to "extract" a frame and save it as an image.
The whole code can be found here, but I shall try to include the (what I understand as) important parts here.
Where the video is sent to mplayer. I assume from this that the video format is h624.
if (videoOut != NULL)
{
if (codec.type == ARCONTROLLER_STREAM_CODEC_TYPE_H264)
{
if (DISPLAY_WITH_MPLAYER)
{
fwrite(codec.parameters.h264parameters.spsBuffer, codec.parameters.h264parameters.spsSize, 1, videoOut);
fwrite(codec.parameters.h264parameters.ppsBuffer, codec.parameters.h264parameters.ppsSize, 1, videoOut);
fflush (videoOut);
}
}
}Where the frame is received and written to videoOut, to be displayed
eARCONTROLLER_ERROR didReceiveFrameCallback (ARCONTROLLER_Frame_t *frame, void *customData)
{
if (videoOut != NULL)
{
if (frame != NULL)
{
if (DISPLAY_WITH_MPLAYER)
{
fwrite(frame->data, frame->used, 1, videoOut);
fflush (videoOut);
}
}
}
return ARCONTROLLER_OK;
}The idea I had in mind is to
fwrite(frame->data, frame->used, 1, videoOut);
to a different file but that just creates a corrupted file, probably because of encoding. In what way can I get this frame and store it to a separate image ? The preferable image filetype .png, .jpg or .gifAny help will be greatly appreciated ! Thanks in advance !