Recherche avancée

Médias (0)

Mot : - Tags -/masques

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (94)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

Sur d’autres sites (9236)

  • Android JavaCV FFmpegFrameRecorder Exception Could not open video codec

    11 décembre 2014, par bakua

    I’m working on some encoding in Android and I use JavaCV FFmpegFrameRecorder for that. Thing is that sometims need to restart that process. I have a restart button and on tap I release everything and create it again.

    I do it like that :

    mVideoRecorder.stop();
    mVideoRecorder.release();

    And then I :

    mVideoRecorder = new FFmpegFrameRecorder(videoPath, outputResolution.getWidth(), outputResolution.getHeight(), 1);
    mVideoRecorder.setFormat(recorderParameters.getVideoOutputFormat());
    mVideoRecorder.setSampleRate(recorderParameters.getAudioSamplingRate());
    mVideoRecorder.setFrameRate(recorderParameters.getVideoFrameRate());
    mVideoRecorder.setVideoCodec(recorderParameters.getVideoCodec());
    mVideoRecorder.setVideoQuality(recorderParameters.getVideoQuality());
    mVideoRecorder.setAudioQuality(recorderParameters.getVideoQuality());
    mVideoRecorder.setAudioCodec(recorderParameters.getAudioCodec());
    mVideoRecorder.setVideoBitrate(1000000);
    mVideoRecorder.setAudioBitrate(64000);
    mVideoRecorder.start();

    But sometimes on the start() line I get this exception :

    com.googlecode.javacv.FrameRecorder$Exception: avcodec_open2() error -22: Could not open video codec.
    at com.googlecode.javacv.FFmpegFrameRecorder.start(FFmpegFrameRecorder.java:472)

    I am not able to exactly tell circumstances in which this happens but in most cases it is when I restart two times quickly (double tap the restart button). I am able to catch the exception, but it is useless because it forces app to exit.

    My guess is that it calls start while previous mVideoRecorder is still releasing internally - and therefore has mp4 codec locked for itself or something. But that is just my guess.

    Do you guys have any opinions please ?
    Thank you

  • Tweaking FFMPEG Stream For Games For Open Source Projech

    12 novembre 2022, par Devin Dixon

    Right now I am using FFMPEG to record and broadcast video games on a open source projected call Glitch : https://www.glitch.fun/

    


    The problem is the streams are a little but choppy and pixelated. Here is an example video recording :

    


    https://www.glitch.fun/streams/7e5b7557-d028-4d39-bc59-af3836f7e30d/watchrecording/c147ffda-d26d-4c5f-8be1-a8832ba03dfa

    


    The FFMPEG command I am currently for getting the stream from a source and sending it to a recording file and to destinations is as follows :

    


    ffmpeg [some_input_source] -vf scale=1920x1080 -pix_fmt yuv420p -r 60 -b:v 4000k -maxrate 4000k -bufsize 4500k -vcodec libx264 -preset veryfast -keyint_min 24  -level 3.0 -s 1920:h=1080 -g  40 -x264opts no-scenecut -strict experimental -f [output_location]


    


    What can I tweak in here to improve the quality of streaming for games ?

    


  • Clarification on using FFmpeg in an open source app with —enable-gpl and —enable-nonfree [closed]

    24 avril 2020, par Alex Hoffman

    Can someone please clarify the legality of bundling and using the full version of FFmpeg (with included libx264 and libx265 and other gpl codecs) in an open source app.

    



    I don't want to modify anything, all I want to do is to bundle compiled FFmpeg binaries downloaded from their website with my open source app which would use them for media files editing.

    



    I want to bundle the full version of FFmpeg since without --enable-gpl and --enable-nonfree, not being able to process h264, FFmpeg becomes effectivelly useless. So I want to know if I have to bundle the binaries compiled without --enable-gpl and --enable-nonfree or can I bundle the full version with shared linking (libs separated from the executable) ?