Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (43)

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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

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

Sur d’autres sites (5674)

  • FFMPEG never stops processing

    23 décembre 2011, par aamiri

    I have a perl script that issues a command to run ffmpeg. this is the ffmpeg command issued by the script :

    ffmpeg -y -i /path/to/video/input.mp4 -y -an -pass 1 -passlogfile x264-2pass-2763-log -threads 2 -vcodec libx264 -b 512k -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -me_method hex -subq 7 -trellis 1 -refs 5 -bf 3 -flags2 +bpyramid+wpred+mixed_refs+dct8x8 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -s 608x406 -analyzeduration 2000M -vf [in] pad=720:406:56:0:black [out] /path/to/output/video/output.mp4

    the file i am running it on, 'input.mp4' was an m4v that converted to mp4 by changing the extension to mp4. It plays as both mp4 and m4v. I noticed an issue in my script, where on m4v files it takes a long time to process. I thought converting it mp4 would help but it didn't. This ffmpeg command is to resize the video to fit in a custom made media player. I am currently running the script that issues that command, and it's stuck on the ffmpeg command. right now output.mp4 has exceded the filesize of input.mp4 and the file is still processing. This seems odd because for this particular video it should be shrinking the content. I fear that if i don't manually kill the ffmpeg command, output.mp4 is going to keep growing. What am i doing wrong here ?

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

  • VLC empty edit issue

    12 août 2013, par user2675209

    We have recorded a live stream. The time stamps are seconds from epoch. We have used FFMPEG for muxing and provided the same time stamps as in live stream.
    I have two observations :

    1. If initial timestamp is 0. The file plays properly using VLC.
    2. But we require to preserve the timestamps while muliplexing.

    In this case when initial time stamp is non-zero, VLC shows 2 tracks for 1 elst box , It waits for the first track to get over, which is actually an empty edit list with media time=-1.

    Can you suggest any change while multiplexing using FFMPEG to play the file normally.
    PS : ffplay plays the file properly.

    Thanking in anticipation