Recherche avancée

Médias (91)

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9218)

  • ffmpeg : Invalid argument, [NULL @ 0x22e2240] Unable to find a suitable output format for 'ffmpeg'

    14 février 2016, par user3788285

    I am trying to convert video from images wit the music in background

    command is working fine in the terminal but while using into php it’s giving error :

    this is the command i am trying :

    /usr/local/bin/ffmpeg ffmpeg -framerate 1/5 -i image%01d.png -i song.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k  -r 30 -pix_fmt yuv420p -t 10 output.mp4 2>&1

    array(21) {

     [0]=>
     string(83) "ffmpeg version git-2016-02-13-588e2e3 Copyright (c) 2000-2016 the FFmpeg developers"

     [1]=>
     string(56) "  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)"

     [2]=>
     string(369) "  configuration: --enable-shared --extra-libs=-ldl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-ffplay --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC"

     [3]=>
     string(40) "  libavutil      55. 17.100 / 55. 17.100"

     [4]=>
     string(40) "  libavcodec     57. 24.102 / 57. 24.102"

     [5]=>
     string(40) "  libavformat    57. 25.100 / 57. 25.100"

     [6]=>
     string(40) "  libavdevice    57.  0.101 / 57.  0.101"

     [7]=>
     string(40) "  libavfilter     6. 31.100 /  6. 31.100"

     [8]=>
     string(40) "  libswscale      4.  0.100 /  4.  0.100"

     [9]=>
     string(40) "  libswresample   2.  0.101 /  2.  0.101"

     [10]=>
     string(40) "  libpostproc    54.  0.100 / 54.  0.100"

     [11]=>
     string(39) "Input #0, image2, from 'image%01d.png':"

     [12]=>
     string(54) "  Duration: 00:00:10.00, start: 0.000000, bitrate: N/A"

     [13]=>
     string(101) "    Stream #0:0: Video: png, gray(pc), 1080x494 [SAR 72:72 DAR 540:247], 0.20 tbr, 0.20 tbn, 0.20 tbc"

     [14]=>
     string(48) "[mp3 @ 0x22dfb00] Skipping 0 bytes of junk at 0."

     [15]=>
     string(74) "[mp3 @ 0x22dfb00] Estimating duration from bitrate, this may be inaccurate"

     [16]=>
     string(31) "Input #1, mp3, from 'song.mp3':"

     [17]=>
     string(59) "  Duration: 00:01:45.80, start: 0.000000, bitrate: 127 kb/s"

     [18]=>
     string(61) "    Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s"

     [19]=>
     string(71) "[NULL @ 0x22e2240] Unable to find a suitable output format for 'ffmpeg'"

     [20]=>
     string(24) "ffmpeg: Invalid argument"

    }
    int(1)
  • ffmpeg was not found. How do i fix this ?

    18 novembre 2024, par Ice Cr3aM

    So im trying to make a simple discord music bot, which is halted right now due to this problem. The issue is that everytime i try to play a music through youtube_dl library, it pops up with the prompt : "ffmpeg was not found".

    


    This is the main.py

    


    
import discord
import os
import asyncio
import youtube_dl
import ffmpeg

token = 'NzY5NTUzNDcwNjAwMTE4Mjgz.G3Dzce.XYKNAyLfBPg0ug5XPKssV-9EvsFjBlCMeM43ag'

client = discord.Client()

block_words = ['foo', 'bar', 'baz', 'quux', 'http://', 'https://']

voice_clients = {}
yt_dl_opts = {'format': 'bestaudio/best'}
ytdl = youtube_dl.YoutubeDL(yt_dl_opts)

ffmpeg_options = {'options': '-vn'}


@client.event
async def on_ready():
    print(f'Bot has logged in as {client.user}')

@client.event
async def on_message(msg):
    if msg.author != client.user:
        if msg.content.lower().startswith('?hi'):
            await msg.channel.send(f'Hi, {msg.author.display_name}')

@client.event
async def on_message(msg):
    if msg.author != client.user:
        for text in block_words:
            if "OTR" not in str(msg.author.roles) and text in str(msg.content.lower()):
                await msg.delete()
                return
        print("Not Deleting...")

@client.event
async def on_message(msg):
    if msg.content.startswith('?play'):
        try:
            url = msg.content.split()[1]

            voice_client = await msg.author.voice.channel.connect()
            voice_clients[voice_client.guild.id] = voice_client

            loop = asyncio.get_event_loop()
            data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url, download=False))

            song = data['url']
            player = discord.FFmpegPCMAudio(song, **ffmpeg_options)
        except Exception as err:
            print(err)
client.run(token)



    


  • Java IO Streaming Large Files Video/Data/Sound [on hold]

    2 mars 2015, par James Relic

    I have a series of questions listed below regarding java.io streaming and sockets.

    1. What is a video streaming server ? How does it differ from a standard web server.

    2. Remember Napster/Morpheus etc ? They’re P2P programs, did they allow users to stream data to each other ? Is there a difference between streaming and downloading (on the clients end) ?

    3. How would you go about writing a generic program in java that streams anything to the client , word docs, mp3 files, videos files ? Would you use serverlets for this purpose ?

    4. If all you are doing is sending files video/sound/docs/text etc from one computer to another would you need to use specialist APIs like FFMPEG-Java, Red5 ?

    5. if you are sending video or sound as a file supposedly you don’t need to worry about encoding or decoding ?

    6. Do I need to worry about RTSP if im streaming videos as a file ? Rather then wanting them to play live on the client end ?

    I understand my questions sound very untechnical and basic, but I’m a little confused on this whole streaming topic and want to know the best way to stream large files of all types using the Java EE/Spring platform.