Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (19)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (5234)

  • usb capture device to "cast" stream

    6 juin 2021, par cubesareneat

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

        }

    }

};


    


  • Fix some store forwarding stalls

    7 février 2013, par Jason Garrett-Glaser

    Fix some store forwarding stalls