
Recherche avancée
Autres articles (104)
-
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (9239)
-
lavf : move avpriv function definition to internal.h
1er avril 2018, par Josh de Kock -
Revision c6908fd5f7 : Combine fdct8x8 and quantization process This commit reworks the forward transf
18 novembre 2014, par Jingning HanChanged Paths :
Modify /vp9/common/vp9_rtcd_defs.pl
Modify /vp9/encoder/vp9_dct.c
Modify /vp9/encoder/vp9_encodemb.c
Modify /vp9/encoder/x86/vp9_dct_sse2.c
Combine fdct8x8 and quantization processThis commit reworks the forward transform and quantization process
for 8x8 block coding. It combines the two operations in a single
function to save a store/load stage of the original transform
coefficients. Overall the speed -6 is slightly faster (around 1%
range). The compression performance of speed -6 is improved by
3.4%.Change-Id : Id6628daef123f3e4649248735ec2ad7423629387
-
A cast to int has gone wrong. android
24 février 2021, par Tanveerbynim having an issue while video mixing with audio. everytime when I try to make it.
That always give me an error which is




Java.lang.RuntimeException : A cast to int has gone wrong. Please contact the mp4parser discussion group.




Im using googlecode mp4 parser :
implementation com.googlecode.mp4parser:isoparser:1.1.22
and also tried that but no successimplementation 'org.mp4parser:isoparser:1.9.41'


Also on forum there's no proper answer on that question.


here's my code


public Track CropAudio(String videopath, Track fullAudio) {
 try {

 IsoFile isoFile = new IsoFile(videopath);

 double lengthInSeconds = (double)
 isoFile.getMovieBox().getMovieHeaderBox().getDuration() /
 isoFile.getMovieBox().getMovieHeaderBox().getTimescale();


 Track audioTrack = (Track) fullAudio;


 double startTime1 = 0;
 double endTime1 = lengthInSeconds;


 long currentSample = 0;
 double currentTime = 0;
 double lastTime = -1;
 long startSample1 = -1;
 long endSample1 = -1;


 for (int i = 0; i < audioTrack.getSampleDurations().length; i++) {
 long delta = audioTrack.getSampleDurations()[i];


 if (currentTime > lastTime && currentTime <= startTime1) {
 // current sample is still before the new starttime
 startSample1 = currentSample;
 }
 if (currentTime > lastTime && currentTime <= endTime1) {
 // current sample is after the new start time and still before the new endtime
 endSample1 = currentSample;
 }

 lastTime = currentTime;
 currentTime += (double) delta / (double) audioTrack.getTrackMetaData().getTimescale();
 currentSample++;
 }

 CroppedTrack cropperAacTrack = new CroppedTrack(fullAudio, startSample1, endSample1);

 return cropperAacTrack;

 } catch (IOException e) {
 e.printStackTrace();
 }

 return fullAudio;
}


public Runnable runnable = new Runnable() {
 @Override
 public void run() {

 try {


 Movie m = MovieCreator.build(video);


 List nuTracks = new ArrayList<>();

 for (Track t : m.getTracks()) {
 if (!"soun".equals(t.getHandler())) {
 nuTracks.add(t);
 }
 }

 Track nuAudio = new AACTrackImpl(new FileDataSourceImpl(audio));
 Track crop_track = CropAudio(video, nuAudio);
 nuTracks.add(crop_track);
 m.setTracks(nuTracks);


 Container mp4file = new DefaultMp4Builder().build(m);
 FileChannel fc = new FileOutputStream(new File(output)).getChannel();
 mp4file.writeContainer(fc);
 fc.close();

 try {
 Variables.closeProgressDialog();
 } catch (Exception e) {
 Log.d(Variables.tag, e.toString());
 } finally {
 Go_To_preview_Activity();
 }

 } catch (Exception e) {
 Variables.closeProgressDialog();
 // Toast.makeText(context, "Something went wrong"+ e.toString(), Toast.LENGTH_SHORT).show();
 //Go_To_preview_Activity();
 e.printStackTrace();
 Log.d(Variables.tag, e.toString());

 }

 }

};