
Recherche avancée
Autres articles (20)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
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 (...)
Sur d’autres sites (4530)
-
Anomalie #2749 (Fermé) : Problème de cookie
21 mars 2013, par guytarr °il y a bien http://forum.spip.net/fr_248457.html mais rien trouvé dans forum ou sur les listes de "récent".
-
Anomalie #4272 : Vignettes considérée comme orphelins lors de la suppression des documents inutilisés
11 février 2019, par Fabrice VéronneauDiscussions sur le forum à ce sujet
https://forum.spip.net/fr_271022.html
https://forum.spip.net/fr_270796.html?debut_forums=%40270837#forum270837 -
Copying avcodec parameters
4 juin 2020, par AyxanI am trying to use libav to convert an MP4 file to an MP3 file. Basically trying to achieve what
ffmpeg -i filename.mp4 filename.mp3
does. I've found this official example. But when I run it with an input MP4 and an output MP3 I get an error :




Invalid audio stream. Exactly one MP3 audio stream is required.





I am not at all familiar with this library but I think I have narrowed the problem down to this line :



ret = avcodec_parameters_copy(out_stream->codecpar, in_codecpar);




It seems to copy all streams for a video file but we only need one for the MP3 file ? I am not sure. There doesn't seem to be a function to copy only the parameters relevant to audio. I checked the sources,
avcodec_parameters_copy
does a simplememcpy
.


Questions :



- 

- Is this the actual problem ?
- How do I solve it ?
- Am I on the right track to achieve the goal of extracting audio from a video file ? I've seen this question (and other similar questions like this and this) on here but none seem to have a complete code example. The C API documentation for this library is also a little lacking.