
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (15)
-
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 -
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 (...)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (5923)
-
Any way to merge audio and video files in python ?
23 août 2023, par TobyTheDevI have been working on a project and one of the feature is to merge an audio and a video file together. I have no idea on how to approach it.


I tried a python package called 'ffmpeg-python' which was recommended but couldn't figure it out how to use it. Also there is another 'ffmpeg' package but it looks suspicious and the repository is in Chinese or something.


Would like a solution.


-
Is there any way to stream video while encoding except using ffmpeg ?
25 novembre 2016, par Ruslan DoronichevI am developing a cloud service, that allow users to upload video files from torrents and watch them online. In order to view the media, while transcoding - I convert the source file into hls format. I don’t really like this approach, as every user has a storage limit and he has to use his space for storing both hls and source files, even if he is not going to watch the video while encoding. What would be the best solution in this case ?
-
How to handle differing .mp4 file types from different sources ?
10 octobre 2017, par Dave502619If I take a .mp4 recorded on my mobile (Samsung S5) and pass it through FFmpeg with the below command, the output file (
fileX.avi
) is a greyscale bitmap uncompressed video file.-
The offset values in
fileX.avi
(output from FFmpeg) to allow me to locate the video frame data are always 5680 bytes for the file header. -
And 62 bytes for the inter frame header.
-
The data is uncompressed RGB24 so i can easily calculate the size of a video frame from height x width x 3.
So my C# application can access the video frames in
fileX.avi
always at these above offsets.
(This works great).My FFmpeg Command is :
ffmpeg.exe -i source.mp4 -b 1150 -r 20.97 -g 120 -an -vf format=gray -f rawvideo -pixfmt gray -s 384x216 -vcodec rawvideo -y fileX.avi
However... I recently took an .mp4 file from a different source (produced by Power Director 14 instead of direct from my mobile phone) and used this as the input
source.mp4
. But now the structure offileX.avi
differs as the offset values of 5680 + 62 bytes from the start infileX.avi
do not land me at the start of the video data frames.There seems to be different file formats for .mp4 - and obviously if there are my crude offset approach will not work for them all. I suspected at the time I wrote the code my method was all too easy a solution !
So can anyone advise on the approach I should take now ? Should I check the original .mp4 or the output file (
fileX.avi
) to determine a "file type" to which I can determine the different offsets ?At the very least I need to be able to identify the "type" of .mp4 file that works so I can declare the type that will work with my software.
-