Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (102)

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

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

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

  • Convert form 30 to 60fps by increasing speed, not duplicating frames, using FFmpeg

    12 août 2018, par Matt Pellegrini

    I have a video that is incorrectly labelled at 30fps, it is actually 60fps and so looks like it’s being played at half speed. The audio is fine, that is, the soundtrack finishes half way through the video clip. I’d like to know how, if possible to fix this, that is double the video speed, making it 60fps and meaning that the audio and video are synced.

    The file is H.264 and the audio MPEG-4 AAC.

    File details as given by ffmpeg, as requested :

    ffmpeg version 0.8.9-6:0.8.9-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers
    built on Nov  9 2013 19:09:46 with gcc 4.8.1
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './Tignes60fps.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2014-01-13 02:23:09
       Duration: 00:08:33.21, start: 0.000000, bitrate: 5690 kb/s
       Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 5609 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
       creation_time   : 2014-01-13 02:23:09
       Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 156 kb/s
    Metadata:
         creation_time   : 2014-01-13 02:23:09
    At least one output file must be specified
  • music bot stopping music entirely instead of skipping one song discord.py

    26 septembre 2018, par Y4h L

    When i use my skip command, my program stops playing music, instead of skipping a song.
    Here’s the code :

    queues = {}
    players = {}
    opts = {
               'default_search': 'auto',
               'quiet': True,
           }
    voice_states = {}

    class voice:
       def __init__(self, client):
           self.client = client

       @commands.command(pass_context=True)
       async def skip(self, ctx):
           id = ctx.message.server.id
           players[id].stop()

       @commands.command(
           pass_context=True
       )
       async def play(self, ctx, url):
           server = ctx.message.server
           channel = ctx.message.author.voice.voice_channel
           try:
               await self.client.join_voice_channel(channel)
           except:
               print(" ")
           if server.id not in players or players[server.id].is_done():
               server = ctx.message.server
               voice_client = self.client.voice_client_in(server)
               player = await voice_client.create_ytdl_player(url, after=lambda: queue(server.id), ytdl_options=opts)
               players[server.id] = player
               await self.client.say('Now Playing ' )
               player.start()
           else:
               server = ctx.message.server
               voice_client = self.client.voice_client_in(server)
               player = await voice_client.create_ytdl_player(url, after=lambda: queue(server.id),  ytdl_options=opts)

               if server.id in queues:
                   queues[server.id].append(player)
               else:
                   queues[server.id] = [player]
               await self.client.say('Now Playing ' )
               await self.client.say('Video queued.')

       def queue(self, id):
           if queues[id] != []:
               player = queues[id].pop(0)
               players[id] = player
               player.start()

    def setup(client):
       client.add_cog(voice(client))

    i receive no error codes,
    just no queue.
    Fixes to my code or own solutions are appreciated.
    Sorry, for long code, but you need all the context

  • Trying to use openH264 as an alternative to libX264 in FFMPEG C project

    18 octobre 2019, par tishu

    I have an application that transcodes a video frame by frame using FFMPEG and x264 encoder. I am looking to release this application but the licensing of x264 made me switch to using openh264 instead.

    I managed to compile everything smoothly (openh264 then FFMPEG with enable-openh264). I am now trying to correct the encoder setup in my C code as what worked for libx264 doesn’t work anymore. Unfortunately I found very limited C/C++ examples of FFMPEG/openh264, i would appreciate any link/hint.

    I am using the following code (dec_ctx is the AVCodecContext of the video I am decoding)

               enc_ctx->height = dec_ctx->height;
               enc_ctx->width = dec_ctx->width;
               enc_ctx->sample_aspect_ratio = dec_ctx->sample_aspect_ratio;
               /* take first format from list of supported formats */
               enc_ctx->pix_fmt = encoder->pix_fmts[0];
               /* video time_base can be set to whatever is handy and supported by encoder */
               enc_ctx->time_base = dec_ctx->time_base;

               enc_ctx->gop_size      = 120; /* emit one intra frame every twelve frames at most */
               enc_ctx->max_b_frames = 16;
               enc_ctx->scenechange_threshold = 0;
               enc_ctx->rc_buffer_size = 0;
               enc_ctx->me_method = ME_ZERO;

               enc_ctx->ticks_per_frame = dec_ctx->ticks_per_frame * ifmt_ctx->streams[i]->time_base.den * ifmt_ctx->streams[i]->r_frame_rate.num/ifmt_ctx->streams[i]->r_frame_rate.den;
               // Set Ultrafast profile. internal name for this preset is baseline
               av_opt_set(enc_ctx->priv_data, "preset", "placebo", AV_OPT_SEARCH_CHILDREN);

    I get the following errors in the output with the [OpenH264] tag :

    [OpenH264] this = 0x0000000019C126C0, Warning:bEnableFrameSkip = 0,bitrate can't be controlled for RC_QUALITY_MODE,RC_BITRATE_MODE and RC_TIMESTAMP_MODE without enabling skip frame.
    Output #0, mp4, to 'C:\Dev\temp\geoVid.mp4':
    Stream #0:0: Video: h264 (libopenh264), yuv420p, 720x480, q=2-31, 200 kb/s, 90k tbn, 180k tbc
    Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 96 kb/s
    [OpenH264] this = 0x0000000019C126C0, Warning:Actual input framerate fAverageFrameRate = 0.000000 is quite different from framerate in setting 60.000000, please check setting or timestamp unit (ms), start_Ts = 0
    [OpenH264] this = 0x0000000019C126C0, Warning:Actual input framerate fAverageFrameRate = 0.000000 is quite different from framerate in setting 60.000000, please check setting or timestamp unit (ms), start_Ts = 0

    The output video file just plays black frames. Any hint or link to some doc would be appreciated. I have been trying to understand these errors but not too sure how to enable "skip frame" or why it is complaining about my input framerate (this is the same input as when I encode successfully with libx264)