
Recherche avancée
Autres articles (73)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (10118)
-
usb capture device to "cast" stream
6 juin 2021, par cubesareneatim using a raspberry pi with a usb capture device (dmesg -w below)


[ 3825.105250] cx231xx 1-1.4:1.1: New device Geniatech Inc. Video Capture @ 480 Mbps (1f4d:0102) with 6 interfaces
[ 3825.105571] cx231xx 1-1.4:1.1: Identified as Geniatech OTG102 (card=17)
[ 3825.106698] i2c i2c-12: Added multiplexed i2c bus 14
[ 3825.106948] i2c i2c-12: Added multiplexed i2c bus 15
[ 3825.233031] cx25840 11-0044: cx23102 A/V decoder found @ 0x88 (cx231xx #0-0)
[ 3827.270228] cx25840 11-0044: loaded v4l-cx231xx-avcore-01.fw firmware (16382 bytes)
[ 3827.307022] cx231xx 1-1.4:1.1: v4l2 driver version 0.0.3
[ 3827.411911] cx231xx 1-1.4:1.1: Registered video device video0 [v4l2]
[ 3827.412183] cx231xx 1-1.4:1.1: Registered VBI device vbi0
[ 3827.418150] cx231xx 1-1.4:1.1: audio EndPoint Addr 0x83, Alternate settings: 3
[ 3827.418179] cx231xx 1-1.4:1.1: video EndPoint Addr 0x84, Alternate settings: 5
[ 3827.418203] cx231xx 1-1.4:1.1: VBI EndPoint Addr 0x85, Alternate settings: 2
[ 3827.418224] cx231xx 1-1.4:1.1: sliced CC EndPoint Addr 0x86, Alternate settings: 2



i want to stream the audio to "cast" dose this protocol have a more specific name ? its the one that Spotify and YouTube can send audio video to over local network ; little screen with a wifi signal in the bottom left corner.


i am thinking of going into ffmpeg or vlc to stream from usb to some cast program, dose anyone have any suggestions on where to start any key words so im not blindly googling ?
sorry this is so open ended, ill mark it solved with the best answer in like 5 days or when i finish this project ( turntable -> usb audio capture card on pi -> steam to cast protocol -> wifi speakers )


-
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());

 }

 }

};



-
doc/encoders : partially rewrite and reformat libx264 docs
23 juillet 2013, par Timothy Gudoc/encoders : partially rewrite and reformat libx264 docs
Format is based on the thread :
"[PATCH] doc/encoders : Add libopus encoder doc" (06-28-2013)
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/165368/Also merge the two option sections (Mapping and Private options).
Patch partially edited by Stefano Sabatini.
Signed-off-by : Stefano Sabatini <stefasab@gmail.com>