Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (9)

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

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (3841)

  • ffmpeg compilation problem : avcodec_find_decoder always returns null

    15 mars 2016, par Adion

    I recently tried to upgrade the ffmpeg libraries I use in my Mac OS X application by downloading and compiling ffmpeg from source.

    My code works correctly with pre-compiled libraries of the same version on windows.
    On Mac OS X, the library appears to work (it can open the file and find the streams and codecs used), but when it gets to avcodec_find_decoder, this function always returns null.

    The code has worked with an older version of the library (compiled a year ago on Mac OS X 10.5)

    I configured fmpeg using

    ./configure --extra-cflags="-arch i386" --extra-ldflags='-arch i386' --arch=x86_32 --target-os=darwin --enable-cross-compile --disable-indev=jack --enable-shared --disable-static

    I checked config.mak, and it appears to have the decoders for the file types I tried enabled (ogg, vorbis, avi, mkv, ...)
    I also checked that the correct header files have been used and that the newly compiled library is used.

    I have found only some older posts relating to this issue, but without any solution :

    http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/021399.html

    http://libav-users.943685.n4.nabble.com/avcodec-find-decoder-problem-td944800.html

    Edit : checking further, it appears av_codec_next(NULL) returns null as well, which means there isn’t a single codec available, or that first_avcodec in utils.c is not set (I actually haven’t found at all where this variable is set, I would have assumed av_register_all, but I can’t find it there)

  • ffmpeg output images filename with time position and problem with 'not(mod(t'

    26 novembre 2020, par Дмитрий Мышков

    I'd found a such ffmpeg output images filename with time position topic, but have problem with execute that one "ffmpeg -i source -vf fps=1,select='not(mod(t,5))' -vsync 0 -frame_pts 1 z%d.jpg" :

    


    ffmpeg -i ex.avi -vf fps=1,select='not(mod(t,5))' -vsync 0 -frame_pts 1 z%d.jpg

Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[Parsed_select_1 @ 0x7f96ee6024c0] [Eval @ 0x7ffee72d67d0] Missing ')' or too many args in 'mod(t'
[Parsed_select_1 @ 0x7f96ee6024c0] Error while parsing expression 'not(mod(t'
[AVFilterGraph @ 0x7f96ee439cc0] Error initializing filter 'select' with args 'not(mod(t'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!


    


    what do I not right ?

    


  • Problem with fluent-ffmpeg in node.js with firebase

    20 juillet 2019, par Just A Bad Programmer

    I am using fluent-ffmpeg to compress video to 1000k bit rate for the videos that is uploaded by the user to firebase.

     console.log("Compressed File Path: " + compressedVideoFilePath);
     const command = ffmpeg(tempFilePath).setFfmpegPath(ffmpegStatic.path)
                                                 .videoBitrate(1000)
                                                 //.audioChannels(1)
                                                 //.audioFrequency(16000)
                                                 //.format('flac')
                                                 .on('error', function(err) {
                                                   console.log('An error occurred: ' + err.message);
                                                 })
                                                 .on('end', function() {
                                                   console.log('Processing finished!');
                                                   console.log("File compressed");
                                                   return destBucket.upload(compressedVideoFilePath, {
                                                     destination: 'compressed-' + path.basename(filePath),
                                                     metadata: metadata
                                                   }).then(() => {
                                                     console.log('Output audio uploaded to', targetStorageFilePath);

                                                     // Once the audio has been uploaded delete the local file to free up disk space.
                                                     fs.unlinkSync(tempFilePath);
                                                     fs.unlinkSync(targetTempFilePath);

                                                     console.log('Temporary files removed.', targetTempFilePath);
                                                   });
                                                 })
                                                 .save(compressedVideoFilePath);
     console.log("Function Finished");

    But, the code inside ffmpeg does not run, the output of the console is just :

    Compressed File Path: /tmp/compressed-test-4d68b02f-a6ef-4ff3-a5c9-52687fd3f0c4.mp4
    Function Finished
    Function execution took 17871 ms, finished with status: 'ok'

    It just skips to the end without displaying any on end or on success messages. The compressed video files also did not appear/uploaded in the firebase.

    Can anyone help me find out the problem and help me fix it ? Is the code for ffmpeg not correct ? Thanks.