Recherche avancée

Médias (5)

Mot : - Tags -/open film making

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (11890)

  • 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.
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 success implementation '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());

        }

    }

};


    


  • Capture cctv camera with iphone application using IP

    22 septembre 2021, par Bittu

    I want to develop a cctv camera app and I don't know what steps I need to take.
i have the data below for connecting cctv camera :

    



      

    • Ip address
    • 


    • port ID
    • 


    • user name
    • 


    • password
    • 


    



    i checked live555 and RTMPStreamPublisher demo from here, but i don't know where I should start. i also read that i should use the ffmpeg framework.

    



    What I want is an app similar to kView on itunes. This app is able to stream a cctv camera feed with the above configuration detials

    



    Does anyone know what direction I need to go in ? Is there a demo or open-source app that accomplishes this ?

    


  • Capture cctv camera with iphone application using IP

    3 juin 2014, par Bittu

    I want to develop a cctv camera app and I don’t know what steps I need to take.
    i have the data below for connecting cctv camera :

    • Ip address
    • port ID
    • user name
    • password

    i checked live555 and RTMPStreamPublisher demo from here, but i don’t know where I should start. i also read that i should use the ffmpeg framework.

    What I want is an app similar to kView on itunes. This app is able to stream a cctv camera feed with the above configuration detials

    Does anyone know what direction I need to go in ? Is there a demo or open-source app that accomplishes this ?