Recherche avancée

Médias (91)

Autres articles (29)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4292)

  • Piwik Mobile 2 for Android – Release Candidate

    6 novembre 2013, par thomas — Community

    Exciting news ! We are proud to announce the availability of the first release candidate of Piwik Mobile 2 for Android. Check out the videos here or learn more in the FAQ.

    Piwik Mobile Users : we need your feedback !

    We have been testing Piwik Mobile 2 extensively at present. Now is your time to help us to track down any bugs, or even suggest usability improvements before the upcoming release in a few weeks. We are really interested in your feedback !

    Download

    Piwik Mobile 2 RC 1 for Android 4+

    Known issues

    All known issues are Piwik related and most of them will be fixed in the Piwik 2.0 release :

    • Some visitors in Visitor Log might be skipped #4044 (fixed)
    • If you are using a report date like “Last 7″ or “Last 30″, the number of visits won’t be displayed in the “All Websites Dashboard” #4068
    • Sometimes an HTML entity is displayed in the visitor screen #3970 (fixed)
    • Evolution graph fails to load and returns stack trace for Actions.getPageUrls #3943 (fixed)
    • Date Range is not correct recognized under circumstances #3074 (fixed)
  • GNU Radio + leandvb demodulation of DVB-S signals

    25 juillet 2016, par ShatteredPheonix

    I am new to signal processing and RF, however I am trying to receive Ham TV signals from the ISS in gnu radio and then demodulate them using leandvb so that I can playback the video through a standard player like VLC.

    So please excuse my incorrect terminology where used :

    I have the following GNU Radio Setup :
    Current GNU Radio Companion Setup

    A few things about the file I am using is that it was recorded at 1msps with a symbol rate of 1 which was done via USRP.

    After playing the flow graph this seem to be the result :
    Current Signal

    The above image, to me looks like a fairly clean signal - in addition to this I can’t seem to clear it up anymore.

    However, when I put it through a DVB-S demodulater called leandvb it can’t seem to get any TS packets out.

    instead it reports :

    rawiq            : 1647M/549M   2048 writable  ,   2048 unread ( 0
    2048 2048 )
    autonotched      : 2197M/549M   3072 writable !,   1024 unread ( 0 0 1024 0 )
    PSK symbols      : 955M/477M   4057 writable  ,   4870 unread ( 373 4870 )
    freq             :   0M/  0M      2 writable  ,      0 unread ( 0 )
    bytes            :   0M/  0M   9792 writable  ,      0 unread ( 0 )
    RS-enc packets   :   0M/  0M      4 writable  ,      0 unread ( 0 )
    rand TS packets  :   0M/  0M      4 writable  ,      0 unread ( 0 )
    TS packets       :   0M/  0M      4 writable  ,      0 unread ( 0 0 )
    SS               :   0M/  0M      1 writable  ,      1 unread ( 1 )
    packet counter   :   0M/  0M    400 writable  ,      0 unread ( 0 )
    Total buffer memory: 422 KiB

    it seems to have problems reading some symbols and raw data but I don’t know why and I have tried almost everything I can think of to get it work.

    and when I try to play the resulting ts file through mplayer / ffmpeg / ffplay / vlc I get various errors :

    • File does not contain Stream
    • Invalid data while preprocessing
    • Cannot prefill buffer

    Can anyone help me and tell me where I am going wrong ? As I am completely clueless and have been trying to solve this problem for about 2 weeks now ?

  • Discord bot cannot play youtube video for more than 60sec

    18 octobre 2020, par Antoine Weber

    A few weeks back I started a discord bot as a side project for fun.
Since yesterday i've been trying to allow my bot to search youtube videos and play them in voice channels (mostly for songs).

    


    The bot correctly searches youtube with the query and finds the youtube video, starts playing it, but for some reason, after 60 sec (no matter of the video, always the same time), the bot suddenly provides no more audio, and then gets stuck somewhere (not a single error message, but the bots just stops responding).

    


    Here are the code snippets :

    


    # first two words are activation keywords for the bot, then its the youtube query
query = ' '.join(message.message.content.split()[2:])
youtube = build("youtube", "v3", developerKey=yt_token)
search_response = youtube.search().list(q=query, part="id,snippet", maxResults=5).execute()
video_id = search_response['items'][0]['id']['videoId']
video_url = "https://www.youtube.com/watch?v=" + video_id

with youtube_dl.YoutubeDL(ydl_opts) as ydl:
     ydl.download([video_url])
await play_audio(message, 'song.mp3')


    


    (I delete the song.mp3 after playing)

    


    my ydl options are

    


    ydl_opts = {
    "postprocessors":[{
        "key": "FFmpegExtractAudio", # download audio only
        "preferredcodec": "mp3", # other acceptable types "wav" etc.
        "preferredquality": "192" # 192kbps audio
    }],
    "format": "bestaudio/best",
    "outtmpl": "song.mp3"
}


    


    and also my play_audio function is

    


    async def play_audio(message, audio_name):
        channel = message.message.author.voice.channel
        vc = await channel.connect()
        time.sleep(0.5)
        vc.play(discord.FFmpegPCMAudio(audio_name))
        while vc.is_playing():
            time.sleep(1)
        vc.stop()
        await vc.disconnect()


    


    I know the time.sleep() call is blocking but I don't really core for now.

    


    Any one had this issue ? For short videos (less than 60sec), everything works fine. Maybe an ffmpeg option ?