Recherche avancée

Médias (91)

Autres articles (54)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

Sur d’autres sites (7695)

  • avformat/flvdec : Check double before cast in parse_keyframes_index()

    26 janvier 2021, par Michael Niedermayer
    avformat/flvdec : Check double before cast in parse_keyframes_index()
    

    Fixes : -2.21166e+304 is outside the range of representable values of type 'long'
    Fixes : 29169/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5725452796821504

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/flvdec.c
  • A cast to int has gone wrong. android

    24 février 2021, par Tanveerbyn

    im having an issue while video mixing with audio. everytime when I try to make it.&#xA;That always give me an error which is

    &#xA;

    &#xA;

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

    &#xA;

    &#xA;

    Im using googlecode mp4 parser : implementation  com.googlecode.mp4parser:isoparser:1.1.22 and also tried that but no success implementation &#x27;org.mp4parser:isoparser:1.9.41&#x27;

    &#xA;

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

    &#xA;

    here's my code

    &#xA;

     public Track CropAudio(String videopath, Track fullAudio) {&#xA;    try {&#xA;&#xA;        IsoFile isoFile = new IsoFile(videopath);&#xA;&#xA;        double lengthInSeconds = (double)&#xA;                isoFile.getMovieBox().getMovieHeaderBox().getDuration() /&#xA;                isoFile.getMovieBox().getMovieHeaderBox().getTimescale();&#xA;&#xA;&#xA;        Track audioTrack = (Track) fullAudio;&#xA;&#xA;&#xA;        double startTime1 = 0;&#xA;        double endTime1 = lengthInSeconds;&#xA;&#xA;&#xA;        long currentSample = 0;&#xA;        double currentTime = 0;&#xA;        double lastTime = -1;&#xA;        long startSample1 = -1;&#xA;        long endSample1 = -1;&#xA;&#xA;&#xA;        for (int i = 0; i &lt; audioTrack.getSampleDurations().length; i&#x2B;&#x2B;) {&#xA;            long delta = audioTrack.getSampleDurations()[i];&#xA;&#xA;&#xA;            if (currentTime > lastTime &amp;&amp; currentTime &lt;= startTime1) {&#xA;                // current sample is still before the new starttime&#xA;                startSample1 = currentSample;&#xA;            }&#xA;            if (currentTime > lastTime &amp;&amp; currentTime &lt;= endTime1) {&#xA;                // current sample is after the new start time and still before the new endtime&#xA;                endSample1 = currentSample;&#xA;            }&#xA;&#xA;            lastTime = currentTime;&#xA;            currentTime &#x2B;= (double) delta / (double) audioTrack.getTrackMetaData().getTimescale();&#xA;            currentSample&#x2B;&#x2B;;&#xA;        }&#xA;&#xA;        CroppedTrack cropperAacTrack = new CroppedTrack(fullAudio, startSample1, endSample1);&#xA;&#xA;        return cropperAacTrack;&#xA;&#xA;    } catch (IOException e) {&#xA;        e.printStackTrace();&#xA;    }&#xA;&#xA;    return fullAudio;&#xA;}&#xA;&#xA;&#xA;public Runnable runnable = new Runnable() {&#xA;    @Override&#xA;    public void run() {&#xA;&#xA;        try {&#xA;&#xA;&#xA;            Movie m = MovieCreator.build(video);&#xA;&#xA;&#xA;            List nuTracks = new ArrayList&lt;>();&#xA;&#xA;            for (Track t : m.getTracks()) {&#xA;                if (!"soun".equals(t.getHandler())) {&#xA;                    nuTracks.add(t);&#xA;                }&#xA;            }&#xA;&#xA;            Track nuAudio = new AACTrackImpl(new FileDataSourceImpl(audio));&#xA;            Track crop_track = CropAudio(video, nuAudio);&#xA;            nuTracks.add(crop_track);&#xA;            m.setTracks(nuTracks);&#xA;&#xA;&#xA;            Container mp4file = new DefaultMp4Builder().build(m);&#xA;            FileChannel fc = new FileOutputStream(new File(output)).getChannel();&#xA;            mp4file.writeContainer(fc);&#xA;            fc.close();&#xA;&#xA;            try {&#xA;                Variables.closeProgressDialog();&#xA;            } catch (Exception e) {&#xA;                Log.d(Variables.tag, e.toString());&#xA;            } finally {&#xA;                Go_To_preview_Activity();&#xA;            }&#xA;&#xA;        } catch (Exception e) {&#xA;            Variables.closeProgressDialog();&#xA;           // Toast.makeText(context, "Something went wrong"&#x2B; e.toString(), Toast.LENGTH_SHORT).show();&#xA;            //Go_To_preview_Activity();&#xA;            e.printStackTrace();&#xA;            Log.d(Variables.tag, e.toString());&#xA;&#xA;        }&#xA;&#xA;    }&#xA;&#xA;};&#xA;

    &#xA;

  • dnn : remove type cast which is not necessary

    22 janvier 2021, par Guo, Yejun
    dnn : remove type cast which is not necessary
    
    • [DH] libavfilter/dnn/dnn_backend_native.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_avgpool.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_conv2d.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_dense.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_depth2space.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_mathbinary.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_mathunary.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_maximum.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_pad.c
    • [DH] libavfilter/dnn/dnn_backend_openvino.c
    • [DH] libavfilter/dnn/dnn_backend_tf.c