Recherche avancée

Médias (91)

Autres articles (67)

  • 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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (9437)

  • How to capture and store a video in h.264 format using web browsers without Flash ?

    7 novembre 2016, par 2vision2

    How to capture a video and store it in h.264 format using web browsers without flash ?

    As per my analysis, HTML5 can be used to access the camera and microphone without any additional plug-ins as in this link. "http://www.html5rocks.com/en/tutorials/getusermedia/intro/"

    However, i don’t know the possibility of storing the video in h.264 format.

    I would prefer not to install any additional plugins. However if its not possible without any additional plugins, i would accept it. I can also use **Java Applets if needed.

    Is HTML 5 the only option or it possible with JScript itself ? I also hope that ffmpeg can help me too.

  • How to capture and store a video in h.264 format using web browsers ?

    24 juillet 2013, par 2vision2

    How to capture a video and store it in h.264 format using web browsers ?

    As per my analysis, HTML5 can be used to access the camera and microphone without any additional plug-ins as in this link. "http://www.html5rocks.com/en/tutorials/getusermedia/intro/"

    However, i don't know the possibility of storing the video in h.264 format.

    I would prefer not to install any additional plugin**s. However if its not possible without any additional plugins, i would accept it. I can also use **Java Applets if needed.

    Is HTML 5 the only option or it possible with JScript itself ? I also hope that ffmpeg can help me too.

  • Play audio from ffmpegframegrabber

    5 juillet 2013, par Shataya

    For an augmented reality app which should play videos, adjusted to the detected marker.
    I can't use the android video view as it is not possible to rotate it.
    Therefor I have imported the javacv and ffmpeg libraries.
    So far I can successfully render my video with opengl es but I have problems with the audio playback.

    I extract the frames with FFmpegFrameGrabber :

    grabber = new MyFFmpegFrameGrabber(Environment.getExternalStorageDirectory()+"/arvideo_"+fileName+".mp4");
    Frame frame = grabber.grabFrame();
    ....
    if(frame.samples != null) {    
      // I have my audio samples and then?    
    }

    I tried to playback the audio with the AudioTrack class.

    int bufferSize = AudioTrack.getMinBufferSize(grabber.getSampleRate(),AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT);
    track = new AudioTrack(AudioManager.STREAM_MUSIC, grabber.getSampleRate(), AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT, bufferSize, AudioTrack.MODE_STREAM);
    track.play();

    // call track.write(....) ???

    I get only a static noise. I have read that the sample format is AV_SAMPLE_FMT_FLTP but android needs AV_SAMPLE_FMT_S16. That's why I tried to convert the samples with com.googlecode.javacv.cpp.swresample class. I think that I'm doing something wrong because I still have only noise.

    swrcontext = com.googlecode.javacv.cpp.swresample.swr_alloc();
    com.googlecode.javacv.cpp.swresample.swr_alloc_set_opts(swrcontext,AV_CH_LAYOUT_STEREO, avutil.AV_SAMPLE_FMT_FLTP, getSampleRate(), AV_CH_LAYOUT_STEREO, avutil.AV_SAMPLE_FMT_S16, getSampleRate(), 0, null);
    com.googlecode.javacv.cpp.swresample.swr_init(swrcontext);
    // ....
    PointerPointer inData =  samples_frame.data();
    PointerPointer outData = samples_frame.data();            
    com.googlecode.javacv.cpp.swresample.swr_convert(swrcontext, outData, samples_frame.nb_samples(), inData,  samples_frame.nb_samples());
    samples_frame = new AVFrame(outData);

    I really have no idea anymore... I hope anybody can help me. Thanks.