
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 (84)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (7163)
-
How to play entire youtube playlist on discord.py bot with youtube-dl
25 novembre 2020, par borkI'm trying to make a discord music bot. I'm using youtube-dl to retrieve the info and ffmpeg to play the audio out. My bot can successfully queue and play regular videos but when it comes to playing the entire playlist, it doesn't work.


This is my code for playing playlists :


if 'entries' in info:
 for i in info['entries']:
 URL = i['formats'][0]['url'] 
 player = FFmpegPCMAudio(URL, **FFMPEG_OPTIONS)
 queue.append(player)
 source = queue.pop(0)
 voice.play(player, after = lambda e: play_next(ctx, source)) 
 await ctx.send('playing song')



This downloads all the videos in the playlist but only plays the first one then shows this error :

discord.errors.ClientException: Already playing audio.


-
ffmpeg - Audio Issues with TS File
5 décembre 2020, par MeaningOfLifeI am new to the world of ffmpeg, so I apologize in advance if this is a stupid question or request.


I'm in the process of trying to convert a .ts file to a h264/mp4. I was able to successfully convert the video, however whenever I go to play the output file, the audio is weird. Most of the audio is only coming through the left channel. I noticed that the audio has multiple channels - 6 to be exact. And there are two audio streams as well. I'm assuming that this has something to do with it, but I am not sure what exactly to put in the command line to fix it.


I was hoping there would be a way to copy the video stream from the mp4 I had already made with ffmpeg, and then replace the audio from that mp4 with the audio from the source ts file - preferably mixed down into regular stereo audio. It is quite a big file, so I would like to not have to convert the video stream again if I don't have to.


Here is the media information from the source video.


General
ID : 1 (0x1)
Complete name : D:\88th Annual Christmas in Rockefeller Center.ts
Format : MPEG-TS
File size : 9.80 GiB
Duration : 2 h 7 min
Overall bit rate mode : Variable
Overall bit rate : 11.0 Mb/s
Law rating : None

Video
ID : 101 (0x65)
Menu ID : 1 (0x1)
Format : MPEG Video
Format version : Version 2
Format profile : Main@High
Format settings : BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : Variable
Format settings, picture structure : Frame
Codec ID : 2
Duration : 2 h 7 min
Bit rate mode : Variable
Bit rate : 9 851 kb/s
Maximum bit rate : 80.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Active Format Description : Full frame 16:9 image
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.159
Time code of first frame : 00:00:00;00
Time code source : Group of pictures header
Stream size : 8.80 GiB (90%)

Audio #1
ID : 102 (0x66)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 2 h 7 min
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : 32 ms
Stream size : 351 MiB (3%)
Language : English
Service kind : Complete Main

Audio #2
ID : 7543 (0x1D77)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 2 h 7 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : 11 ms
Stream size : 176 MiB (2%)
Language : Spanish
Service kind : Complete Main

Text #1
ID : 101 (0x65)-CC1
Menu ID : 1 (0x1)
Format : EIA-608
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 2 h 7 min
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)
CaptionServiceName : CC1

Text #2
ID : 101 (0x65)-1
Menu ID : 1 (0x1)
Format : EIA-708
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 2 h 7 min
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)



-
Extracting frames from video while recording using ffmpeg
1er décembre 2020, par niloloI am using ffmpeg to record a video using a Raspberry Pi with its camera module.
I would like to run a image classifier on a regular interval for which I need to extract a frame from the stream.


This is the command I currently use for recording :


$ ffmpeg -f video4linux2 -input_format h264 -video_size 1280x720 -framerate 30 -i /dev/video0 -vcodec copy -an test.h264



In other threads this command is recommended :


ffmpeg -i file.mpg -r 1/1 $filename%03d.bmp



I don't think this is intended to be used with files that are still appended to and I get the error "Cannot use -sseof, duration of test.h264 not known".


Is there any way that ffmpeg allows this ?