Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (40)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (9477)

  • Revision d14c7265f1 : Bugfix in model coef prob experiment Fixes an issue with model based update tha

    26 mars 2013, par Deb Mukherjee

    Changed Paths : Modify /vp9/decoder/vp9_decodframe.c Bugfix in model coef prob experiment Fixes an issue with model based update that got into the original patch that was merged. Change-Id : Ie42d3d0aff2e48cd187d96664dbd3e9d6d3ac22f

  • Run ffmpeg command based on data on a file

    1er octobre 2019, par Jake Pearson —

    I have a text file which is generated as the output of a command.

    The text file has name of a file followed by all the matching audio tracks in one line, then the next line has the next video followed by matching tracks.

    Because some of the videos have less tracks and some have more, is there a way I can do if and else command for to do the mergeing based on number of tracks matched to the name ?

    This is the command I use to merge.

    Merge (Keeps Original files and makes a new one using them as the output)

    ffmpeg -i video.mxf_V1.MXF.m2v -i video.mxf_A1.MXF -i video.mxf_A2.MXF -c copy out.mxf

    followed by :

    ffmpeg -i out.mxf -map 0:0 -map 0:1 -map 0:1 -c copy finished.mxf

    Below is the example of how the file names are and how its written in the text file

    "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_V1.MXF.m2v" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A1.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A2.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A3.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A4.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A5.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A6.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A7.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A8.MXF"

    There’s about 25,000 lines of these.

    Another thing I wanted is to be able to name the final file the same as the video file.

  • How to make a bot to search song automatically on YouTube after input some words of the song ?

    30 juin 2021, par SOHAM DAS BISWAS.

    I had made a discord bot using python which plays YouTube songs. It takes the link to play a song I want to make it short. I want to give some words of the song and it will search automatically the song on YouTube and play it for me.

    


    My Code :-

    


    import discord,requests, sys, webbrowser, bs4
import youtube_dl
import os
from dotenv import load_dotenv
import ffmpeg
from discord.ext import *
from discord.ext import commands
from discord.ext.commands import Bot
from discord.voice_client import VoiceClient
import asyncio
@client.command(pass_context=True)                      #====================================Join
async def join(ctx):
    channel = ctx.author.voice.channel
    await channel.connect()
@client.command()                                         #===================================Play
async def play(ctx, url:str):
    song_there = os.path.isfile("song.mp3")
    try:
        if song_there:
            os.remove("song.mp3")
            player.clear()
    except PermissionError:
        await ctx.send("Wait for the current playing music end or use the 'stop' command...")
        return
    await ctx.send("Getting everything ready, playing audio soon, depends on your internet speed...")
    print("Someone wants to play music let me get that ready for them...")
    voice = discord.utils.get(client.voice_clients, guild=ctx.guild)
    ydl_opts = {
        'format': 'bestaudio/best',
            'postprocessors': [{
            'key': 'FFmpegExtractAudio',
            'preferredcodec': 'mp3',
            'preferredquality': '192',
        }],
    }
    with youtube_dl.YoutubeDL(ydl_opts) as ydl:
        ydl.download([url])
    for file in os.listdir("./"):
        if file.endswith(".mp3"):
            os.rename(file, 'song.mp3')
    voice.play(discord.FFmpegPCMAudio("song.mp3"))
    
    voice.volume = 100


    


    Please help me to solve this.