
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
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 (...) -
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (9752)
-
Big question of Target size, or video bitrate must be specified when using two-pass
14 juillet 2022, par RojojunI tried to solve the error which is Target size, or video bitrate must be specified when using two-pass.


But I couldn't find how to solve it and how to find path of video exactly I attached my code below this post


Please give me some tips of solving the problem !


@Service
public class ThumbnailService {

 public HashMap exportThumbnail(File file) throws Exception {
 // file is from controller and form-data
 //String inputPath = "Users/hojunna/Download/my/";
 //String outputPath = "/usr/local/video/thumbnail/";

 String ffmpegBasePath = "/opt/homebrew/bin/";
 FFmpeg ffmpeg = new FFmpeg(ffmpegBasePath+"ffmpeg"); 
 FFprobe ffprobe = new FFprobe(ffmpegBasePath+"ffprobe"); 
 
 FFmpegBuilder builder = new FFmpegBuilder()
 .setInput("/Users/hojunna/Desktop/" + file) 
 //.overrideOutputFiles(true) 
 //.addExtraArgs("-ss", "00:00:01") 
 .addOutput("/Users/hojunna/Desktop/test.jpg") 
 .setFrames(1)
 .setVideoFilter("select='gte(n\\,10)',scale=200:-1")
 .done();

 FFmpegExecutor executor = new FFmpegExecutor(ffmpeg, ffprobe); 
 executor.createJob(builder).run(); 
 executor.createTwoPassJob(builder).run(); 

 HashMap resultMap = new HashMap();
 return resultMap;
 }
}



-
Wave64 (.w64) file format : question regarding chunk GUIDs
24 janvier 2023, par pduI am having trouble understanding the headers of the Wave64 (.w64) files generated by
ffmpeg
and especially the GUIDs.

The specification


I have found this document which describes the file format and the GUIDs. I have also found other websites (here and here) that (indirectly) point to the same document. So this document is the only thing I have.


According to this document the GUIDs are 128bits/16bytes long and should start with the FourCC of the Wave file format, but in lowercase instead of uppercase (see page 3). It also says that the 64bits fields are stored in little-endian (see item 3 of the list page 1), but it does not say anything about 128bits fields (but it should be the same).
For example the GUID for the RIFF chunk is :
66666972-912E-11CF-A5D6-28DB04C10000
.

The problem


When I open a .w64 file generated by
ffmpeg
with an hex editor, I get this :72 69 66 66 2E 91 CF 11 A5 D6 28 DB 04 C1 00 00
. At the beginning,76 69 66 66
stands forriff
in ASCII. We can see that0x66666972
from the spec was indeed stored in little-endian order (so far, so good). If we continue, we have2E 91
andCF 11
, which are still little-endian for0x912E
and0x11CF
. But now it gets weird : the following group of bytes are :A5 D6
and28 DB 04 C1 00 00
for0xA5D6
and0x28DB04C10000
in the spec. So it is in big-endian now ?

For reference, the relevant
ffmpeg
source files are wavenc.c, w64.h and w64.c.
I have also found this thread where someone implemented a .wav to .w64 converter (see the .7z attachment in the first post) and the GUIDs are stored in the same way asffmpeg
.

Conclusion


Seeing that two different implementations are doing the same thing, it probably means that I am missing something. Do you have any explanation ?


-
FFmpeg - Wave64 (.w64) file format : question regarding chunk GUIDs
26 janvier 2023, par pduI am having trouble understanding the headers of the Wave64 (.w64) files generated by
ffmpeg
and especially the GUIDs.

The specification


I have found this document which describes the file format and the GUIDs. I have also found other websites (here and here) that (indirectly) point to the same document. So this document is the only thing I have.


According to this document the GUIDs are 128bits/16bytes long and should start with the FourCC of the Wave file format, but in lowercase instead of uppercase (see page 3). It also says that the 64bits fields are stored in little-endian (see item 3 of the list page 1), but it does not say anything about 128bits fields (but it should be the same).
For example the GUID for the RIFF chunk is :
66666972-912E-11CF-A5D6-28DB04C10000
.

The problem


When I open a .w64 file generated by
ffmpeg
with an hex editor, I get this :72 69 66 66 2E 91 CF 11 A5 D6 28 DB 04 C1 00 00
. At the beginning,76 69 66 66
stands forriff
in ASCII. We can see that0x66666972
from the spec was indeed stored in little-endian order (so far, so good). If we continue, we have2E 91
andCF 11
, which are still little-endian for0x912E
and0x11CF
. But now it gets weird : the following group of bytes are :A5 D6
and28 DB 04 C1 00 00
for0xA5D6
and0x28DB04C10000
in the spec. So it is in big-endian now ?

For reference, the relevant
ffmpeg
source files are wavenc.c, w64.h and w64.c.
I have also found this thread where someone implemented a .wav to .w64 converter (see the .7z attachment in the first post) and the GUIDs are stored in the same way asffmpeg
.

Conclusion


Seeing that two different implementations are doing the same thing, it probably means that I am missing something. Do you have any explanation ?