
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (75)
-
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (9758)
-
My heroku music bot works fine if i launch it through my pc yet when i run it through heroku it doesn't work
6 mars 2020, par Flii TVI have ffmpeg, youtube-dl installed, i have every requirement installed, it downloads the song renames it but then nothing happens !
@client.command()
async def play(ctx, *url: str):
song_there = os.path.isfile("song.mp3")
try:
if song_there:
os.remove("song.mp3")
print("Removed old song file")
except PermissionError:
print("Trying to delete song file, but it's being played")
await ctx.send("ERROR: Music playing")
return
await ctx.send("Getting everything ready now")
voice = get(client.voice_clients, guild=ctx.guild)
ydl_opts = {
'format': 'bestaudio/best',
'quiet': True,
'outtmpl':"./song.mp3",
'postprocessors': [{
'key': 'FFmpegExtractAudio',
'preferredcodec': 'mp3',
'preferredquality': '192',
}],
}
song_search = " ".join(url)
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
print("Downloading audio now\n")
ydl.download([f"ytsearch1:{song_search}"])
for file in os.listdir("./"):
if file.endswith(".mp3"):
name = file
print(f"Renamed File: {file}\n")
os.rename(file, "song.mp3")
voice.play(discord.FFmpegPCMAudio("song.mp3"), after=lambda e: print(f"{name} has finished playing"))
voice.source = discord.PCMVolumeTransformer(voice.source)
voice.source.volume = 0.10
nname = name.rsplit("-", 2)
await ctx.send(f"Currently playing: {nname}")
print("playing\n") -
ffmpeg encoding .mp4 fails in safari when hosted from s3. handbrake encoded video works first time
11 juin 2018, par Simon RogersThe mp4 videos I’ve encoded with ffmpeg work perfectly in Safari if stored locally, but break if hosted from s3. I have tried countless encoding settings to no avail.
However having just run a mov quickly through Handbrake and ticking ’optimise for web’ and encoding baseline @ 4.0, this has worked perfectly first time.
I don’t understand what could be going wrong with my ffmpeg encoding.
Things I have noticed about files from two separate encoders which work :
They both have
yuv420p(tv, bt709)
whereas ffmpeg is just sayingyuv420p
– this is the only thing I can identify from ffprobe that is consistently different.I have done a fresh install of ffmpeg to no avail :
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libvorbis --with-libvpx --with-opus --with-x265
This error appears in all the files I have encoded with ffmpeg :
Unsupported codec with id 0 for input stream 1
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
mp4box gives the following for the ffmpeg video, which doesn’t work :
Tempuras-iMac:tests tempura$ mp4box -info /Users/tempura/tests/mov-output-10-1400.mp4
* Movie Info *
Timescale 1000 - 1 track
Computed Duration 00:00:10.967 - Indicated Duration 00:00:10.967
Fragmented File: no
File suitable for progressive download (moov before mdat)
File Brand isom - version 512
Compatible brands: isom iso2 avc1 mp41
Created: UNKNOWN DATE Modified: UNKNOWN DATE
File has no MPEG4 IOD/OD
iTunes Info:
Encoder Software: Lavf58.12.100
1 UDTA types: meta (1)
Track # 1 Info - TrackID 1 - TimeScale 15360
Media Duration 00:00:10.966 - Indicated Duration 00:00:10.966
Track has 1 edit lists: track duration is 00:00:10.967
Media Info: Language "English (eng)" - Type "vide:avc1" - 329 samples
Visual Track layout: x=0 y=0 width=1800 height=1200
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
AVC/H264 Video - Visual Size 1800 x 1200
AVC Info: 1 SPS - 1 PPS - Profile Baseline @ Level 4
NAL Unit length bits: 32
Pixel Aspect Ratio 1:1 - Indicated track size 1800 x 1200
Chroma format YUV 4:2:0 - Luma bit depth 8 - chroma bit depth 8
SPS#1 hash: 2BD106A8DFD73B92825D87D4D312B22F9CEC1986
PPS#1 hash: 656AE5F3BE854F3C8B889E72310662390F18EDBD
Self-synchronized
RFC6381 Codec Parameters: avc1.42C028
Average GOP length: 329 samplesAnd gives the following for two videos that do work.
First :
Tempuras-iMac:tests tempura$ mp4box -info /Users/tempura/tests/mov-output-05-1400.mp4
[iso file] Unknown box type tmcd
[iso file] Read Box type (0x00000000) has size 0 but is not at root/file level, skipping
* Movie Info *
Timescale 1000 - 2 tracks
Computed Duration 00:00:10.967 - Indicated Duration 00:00:10.967
Fragmented File: no
File suitable for progressive download (moov before mdat)
File Brand isom - version 512
Compatible brands: isom iso2 avc1 mp41
Created: UNKNOWN DATE Modified: UNKNOWN DATE
File has no MPEG4 IOD/OD
iTunes Info:
Encoder Software: Lavf58.12.100
1 UDTA types: meta (1)
Track # 1 Info - TrackID 1 - TimeScale 15360
Media Duration 00:00:10.966 - Indicated Duration 00:00:10.966
Track has 1 edit lists: track duration is 00:00:10.967
Media Info: Language "English (eng)" - Type "vide:avc1" - 329 samples
Visual Track layout: x=0 y=0 width=1800 height=1200
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
AVC/H264 Video - Visual Size 1800 x 1200
AVC Info: 1 SPS - 1 PPS - Profile Baseline @ Level 4
NAL Unit length bits: 32
Pixel Aspect Ratio 1:1 - Indicated track size 1800 x 1200
Chroma format YUV 4:2:0 - Luma bit depth 8 - chroma bit depth 8
SPS#1 hash: 39D86732FD5F78B18F2E83C651FAE38EA0E30A6D
PPS#1 hash: 656AE5F3BE854F3C8B889E72310662390F18EDBD
Self-synchronized
RFC6381 Codec Parameters: avc1.42C028
Average GOP length: 329 samples
Track # 2 Info - TrackID 2 - TimeScale 15360
Media Duration 00:00:10.966 - Indicated Duration 00:00:10.966
Track has 1 edit lists: track duration is 00:00:10.967
Track is disabled
Media Info: Language "Undetermined (und)" - Type "tmcd:tmcd" - 1 samples
Unknown media type
RFC6381 Codec Parameters: tmcd
All samples are syncSecond :
Tempuras-iMac:tests tempura$ mp4box -info /Users/tempura/Documents/yes_2106.mp4
* Movie Info *
Timescale 30000 - 1 track
Computed Duration 00:00:10.966 - Indicated Duration 00:00:10.966
Fragmented File: no
File suitable for progressive download (moov before mdat)
File Brand isom - version 1
Compatible brands: isom avc1 mp42
Created: GMT Fri Jun 1 11:24:54 2018
Modified: GMT Fri Jun 1 11:24:54 2018
File has root IOD (9 bytes)
Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
Visual PL: ISO Reserved Profile (0x15)
Audio PL: No audio capability required (0xff)
No streams included in root OD
Track # 1 Info - TrackID 1 - TimeScale 30
Media Duration 00:00:10.966 - Indicated Duration 00:00:10.966
Media Info: Language "Undetermined (und)" - Type "vide:avc1" - 329 samples
Visual Track layout: x=0 y=0 width=1800 height=1200
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
AVC/H264 Video - Visual Size 1800 x 1200
AVC Info: 1 SPS - 1 PPS - Profile Baseline @ Level 4.2
NAL Unit length bits: 32
Pixel Aspect Ratio 1:1 - Indicated track size 1800 x 1200
Chroma format YUV 4:2:0 - Luma bit depth 8 - chroma bit depth 8
SPS#1 hash: ED5CFE0A3F65F36ADCFA347C1273A29784E8AEAC
PPS#1 hash: 7ECF7597FDDAC5F8C82B54BFB40A1F9A8D8807FA
Self-synchronized
RFC6381 Codec Parameters: avc1.42C02A
Average GOP length: 329 samples -
Correctly trash instanceOptions (and _iO) before calling onfinish(), but maintain local copy of onfinish() so it still works. Fix play({onfinish:this.play}) bug where _iO was being incorrectly remembered.
7 février 2011, par Scott Schillerm script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js Correctly trash instanceOptions (and _iO) before calling onfinish(), but maintain local copy of onfinish() so it still works. Fix play(onfinish:this.play) bug (...)