Recherche avancée

Médias (91)

Autres articles (39)

  • 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

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP 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 (...)

Sur d’autres sites (7989)

  • avutil/frame : Update AVFrame docs library references

    18 juillet 2015, par Michael Niedermayer
    avutil/frame : Update AVFrame docs library references
    

    These where apparently forgotten when AVFrames where moved into libavutil

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavutil/frame.h
  • doc/filters.texi : Include dnn_processing in docs of sr and derain filter

    25 août 2021, par Shubhanshu Saxena
    doc/filters.texi : Include dnn_processing in docs of sr and derain filter
    

    Signed-off-by : Shubhanshu Saxena <shubhanshu.e01@gmail.com>

    • [DH] doc/filters.texi
  • 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;