
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (88)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
La gestion des forums
3 novembre 2011, parSi les forums sont activés sur le site, les administrateurs ont la possibilité de les gérer depuis l’interface d’administration ou depuis l’article même dans le bloc de modification de l’article qui se trouve dans la navigation de la page.
Accès à l’interface de modération des messages
Lorsqu’il est identifié sur le site, l’administrateur peut procéder de deux manières pour gérer les forums.
S’il souhaite modifier (modérer, déclarer comme SPAM un message) les forums d’un article particulier, il a à sa (...)
Sur d’autres sites (11710)
-
Can't play MP4 after download
14 août 2018, par joeI am using a downloader program in Firefox to download videos playing in Firefox. Most of the time final MP4 is playable. But sometimes I get MP4 file that looks good(shows file size) but shows no length of video in file explorer.
I get this error log.
Could not get information from media 'ESPN 2 (HD) Live Stream Channel' from file 'C:\Download\dwHelper\ESPN 2 (HD) Live Stream Channel.mp4'. The file might be corrupted.
{
"file": "C:\\Download\\dwHelper\\ESPN 2 (HD) Live Stream Channel.mp4",
"stat": {
"dev": 3831878042,
"mode": 33206,
"nlink": 1,
"uid": 0,
"gid": 0,
"rdev": 0,
"ino": 9007199254752056,
"size": 610722524,
"atimeMs": 1534241605017.09,
"mtimeMs": 1534241604156.685,
"ctimeMs": 1534241604426.08,
"birthtimeMs": 1534237675494.6475,
"atime": "2018-08-14T10:13:25.017Z",
"mtime": "2018-08-14T10:13:24.157Z",
"ctime": "2018-08-14T10:13:24.426Z",
"birthtime": "2018-08-14T09:07:55.495Z"
}
}
Exit code: 1
ffprobe version n4.0-1-gdc49a24-vdhcoapp Copyright (c) 2007-2018 the FFmpeg developersbuilt with gcc 5.3.1 (GCC) 20160211
configuration : —cross-prefix=x86_64-w64-mingw32- —sysroot=/usr/x86_64-w64-mingw32/ —extra-ldflags=-static-libgcc —target-os=mingw32 —arch=x86_64 —prefix=/home/mig/vdhcoapp/converter/src-build/win/64/converter-build —extra-version=vdhcoapp —extra-cflags=-I/home/mig/vdhcoapp/converter/src-build/win/64/deps/include —extra-ldflags=’-static-libgcc -L/home/mig/vdhcoapp/converter/src-build/win/64/deps/lib -L/home/mig/vdhcoapp/converter/src-build/win/64/zlib’ —extra-libs=-lpthread —pkg-config=/usr/bin/x86_64-w64-mingw32-pkg-config —enable-shared —enable-gpl —enable-pthreads —disable-w32threads —enable-libmp3lame —enable-libopenjpeg —enable-libopus —enable-libtheora —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libx265 —enable-libxvid —enable-libx264 —enable-avresample —disable-doc
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000024c3900] moov atom not found
C :\Download\dwHelper\ESPN 2 (HD) Live Stream Channel.mp4 : Invalid data found when processing input
It looks like moov atom is missing thus can’t aggregate PART file into final playable MP4.
I understand that during download, PART file is created. Then later PART is aggregated into final MP4.
So question is how can I make this MP4 to play ?
or is it impossible to play cus moov atom was not properly downloaded ?Any thoughts ?
Thanks -
trying to play audio from youtube with ffmpeg on discord.py rewrite
13 septembre 2021, par Bobby Cookim trying to use a discord bot that plays music, but im getting errors when i run this code and python crashes, and i cant quite figure out whats wrong, except for that its around the
@client.command(pass_context=True) async def play(self, ctx, *, url): print(url) server = ctx.message.guild voice_channel = server.voice_client

block. the i apologize for wasting all your time, im really bad at this, and i didnt even write most of this.

import random
import youtube_dl
from discord.ext import commands
from discord.ext import tasks

client = commands.Bot(command_prefix = 'f!')

@client.command()
async def join(ctx):
 channel = ctx.message.author.voice.channel
 await channel.connect()

@client.command()
async def leave(ctx):
 await ctx.voice_client.disconnect()

youtube_dl.utils.bug_reports_message = lambda: ''


ytdl_format_options = {
 'format': 'bestaudio/best',
 'outtmpl': '%(extractor)s-%(id)s-%(title)s.%(ext)s',
 'restrictfilenames': True,
 'noplaylist': True,
 'nocheckcertificate': True,
 'ignoreerrors': False,
 'logtostderr': False,
 'quiet': True,
 'no_warnings': True,
 'default_search': 'auto',
 'source_address': '0.0.0.0' # bind to ipv4 since ipv6 addresses cause issues sometimes
}

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

ytdl = youtube_dl.YoutubeDL(ytdl_format_options)

class YTDLSource(discord.PCMVolumeTransformer):
 def __init__(self, source, *, data, volume=0.5):
 super().__init__(source, volume)

 self.data = data

 self.title = data.get('title')
 self.url = data.get('url')

 @classmethod
 async def from_url(cls, url, *, loop=None, stream=False):
 loop = loop or asyncio.get_event_loop()
 data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url, download=not stream))

 if 'entries' in data:
 # take first item from a playlist
 data = data['entries'][0]

 filename = data['url'] if stream else ytdl.prepare_filename(data)
 return cls(discord.FFmpegPCMAudio(filename, **ffmpeg_options), data=data)

 async with ctx.typing():
 player = await YTDLSource.from_url(url, loop=self.bot.loop)
 ctx.voice_channel.play(player, after=lambda e: print('Player error: %s' % e) if e else None)
 await ctx.send('Now playing: {}'.format(player.title))

@client.command(pass_context=True)
 async def play(self, ctx, *, url):
 print(url)
 server = ctx.message.guild
 voice_channel = server.voice_client



-
Android cannot play a video, but PC can [duplicate]
6 juin 2018, par CoXierThis question already has an answer here :
I use
ffmpeg
to convert gif to mp4 on Android. And part of configuration is :--disable-encoders \
--disable-decoders \
--enable-small \
--enable-encoder=libx264 \
--enable-encoder=flv \
--enable-encoder=opus \
--enable-encoder=gif \
--enable-decoder=h264 \
--enable-decoder=flv \
--enable-decoder=opus \
--enable-decoder=gif \However I can not play the output mp4 on Android. But pc can play it.
ffmpeg -i output.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.12.100
Duration: 00:00:09.73, start: 0.000000, bitrate: 330 kb/s
Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p, 280x174, 328 kb/s, 11 fps, 11 tbr, 11264 tbn, 22 tbc (default)
Metadata:
handler_name : VideoHandlerIs there anything wrong ?