Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (98)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • 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.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (8868)

  • ffmpeg, how to add new audio (not mixing) in video

    15 février 2016, par Vetalll

    I used a command like :

    ffmpeg -i video.avi -i audio.mp3 -vcodec codec -acodec codec output_video.avi -newaudio

    in latest version for adding new audio track to video (not mix). But i updated the ffmpeg to newest version

    ffmpeg version git-2012-06-16-809d71d

    And now in this version the parameter "-newaudio" doesn’t work.

    Tell me please how i can add new audio to my video(not mix) using ffmpeg.

    p.s. sorry my English

  • FFmpeg and types of samples

    23 juillet 2015, par Kyborg2011

    Decoded audio using FFmpeg (function avcodec_decode_audio3) and try to reproduce it through Audiotrack in Android. When playing I hear some growling. No music. On the forums advised that the problem with the samples. Question : how to solve this problem, if it is associated with a mismatch of types of samples ? Code decoding :

           while (av_read_frame(pFormatCtx, &packet)>= 0) {
               if (aCodecCtx->codec_type == AVMEDIA_TYPE_AUDIO) {
                           int data_size = AVCODEC_MAX_AUDIO_FRAME_SIZE * 2;
                           int size=packet.size;
    int decoded = 0;
                           while(size > 0) {
                                   int len = avcodec_decode_audio3(aCodecCtx, (uint16_t *) pAudioBuffer, &data_size, &packet);


                                   jbyte *bytes = (*env)->GetByteArrayElements(env, array, NULL);
                                   memcpy(bytes + decoded, (uint16_t *) pAudioBuffer, len);
                                   (*env)->ReleaseByteArrayElements(env, array, bytes, 0);

                                   (*env)->CallStaticVoidMethod(env, cls, mid, array);


                                   size -= len;
                                   decoded += len;
                                   }
               }

        }

    Java code :

       protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.main);

            int bufSize = AudioTrack.getMinBufferSize(44100,                                AudioFormat.CHANNEL_CONFIGURATION_MONO,
                           AudioFormat.ENCODING_PCM_16BIT);
           track = new AudioTrack(AudioManager.STREAM_MUSIC, 44100, AudioFormat.CHANNEL_CONFIGURATION_MONO,
                       AudioFormat.ENCODING_PCM_16BIT, bufSize, AudioTrack.MODE_STREAM);
           track.play();

               bytes = new byte[bufSize];
               int res = main(2, "/sdcard/muzika_iz_reklami_bmw_5_series_-_bmw_5_series.mp3", bytes);


               System.out.println(res);
       }
       private static void play(byte[] play) {

           track.write(play, 0, play.length);
       }

    How to solve this problem ?
    P.S. The file itself is checked - the standard player plays. Format : mp3.

  • ffmpeg video-concatenation - audio-/videotrack Synchronisation

    29 avril 2013, par user1739223

    I'm want to concatenate different video-files of random format. First I convert them to flv, adapt the framerate of each video to lowest of the involved videos. Next step is to decode them and remove the header (but not the header of the first video in the sequence, then I concatenate them with cat and finally I encode the resultsequence.

    But the video- and audio-track are going more and more out of sync from sequence-part to sequence-part.

    Would be glad for any idea.