
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (79)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (5691)
-
ffmpeg video unable to play properly in most video players
7 septembre 2022, par LarsI'm trying to set up a node.js app that allows me to download files from a web interface.
I'm using
yt-dl
to get the video and audio stream andffmpeg
to pipe those streams into an mp4. This works and returns a mp4 file.

Now the only issue I have is that when I play the file through most video players, the video player is unable to seek, or skip through the song. I found somewhere deep down on a forum that means that that means the mp4 headers are not working but that is all I could find.
Here is my code, almost unchanged from this response on another thread.


Can anyone provide a solution for this issue.


ytdl.getInfo(link, options).then(info => {
 audioStream = ytdl.downloadFromInfo(info, { ...options, quality: 'highestaudio' });
 videoStream = ytdl.downloadFromInfo(info, { ...options, quality: 'highestvideo' });
 // create the ffmpeg process for muxing
 ffmpegProcess = cp.spawn(ffmpegPath, [
 // supress non-crucial messages
 '-loglevel', '8', '-hide_banner',
 // input audio and video by pipe
 '-i', 'pipe:3', '-i', 'pipe:4',
 // map audio and video correspondingly
 '-map', '0:a', '-map', '1:v',
 // no need to change the codec
 '-c', 'copy',
 // output mp4 and pipe
 '-f', 'matroska', 'pipe:5'
 ], {
 // no popup window for Windows users
 windowsHide: true,
 stdio: [
 // silence stdin/out, forward stderr,
 'inherit', 'inherit', 'inherit',
 // and pipe audio, video, output
 'pipe', 'pipe', 'pipe'
 ]
 });
 audioStream.pipe(ffmpegProcess.stdio[3]);
 videoStream.pipe(ffmpegProcess.stdio[4]);
 ffmpegProcess.stdio[5].pipe(result);
 });



-
Cutting and fading ts segment with ffmpeg ?
6 juillet 2017, par Matt WI’m trying to cut a ts segment and apply a fade from white at the initial point of the cut segment. This is used in a situation where I need to "crop" some material from the beginning of a video and apply a fade for a smoother entry. In my test, I am cutting an 8 second segment at the 5.5s mark to yield a 2.5 second segment that will fade from white over the first second.
The cut command by itself works fine :
ffmpeg -i test.ts -ss 5.5 -c:v libx264 -profile:v baseline -c:a aac -map 0 -mpegts_copyts 1 -preset ultrafast -f ssegment -initial_offset 5.5 -segment_format mpegts ~/Desktop/cut%d.ts
I’ve successfully used this fade filter syntax before :
-filter:v fade=t=in:st=0:d=1:color=0xffffff
But I can’t seem to make the whole thing work :
ffmpeg -i test.ts -filter:v fade=t=in:st=5.5:d=1:color=0xffffff -ss 5.5 -c:v libx264 -profile:v baseline -c:a aac -map 0 -mpegts_copyts 1 -preset ultrafast -f ssegment -initial_offset 5.5 -segment_format mpegts ~/Desktop/cut%d.ts
I’m getting the following error :
x264 [error] : baseline profile doesn’t support 4:4:4
[libx264 @ 0x7fd9db002400] Error setting profile baseline.
[libx264 @ 0x7fd9db002400] Possible profiles : baseline main high high10
high422 high444Error initializing output stream 0:1 — Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
[aac @ 0x7fd9db001200] Qavg : nan
Conversion failed !
My knowledge of ffmpeg just isn’t deep enough to figure out why this is happening. Any thoughts ?
Thanks,
Matt -
Where I made a mistake - FFmpeg (Linux) basic problem
23 mars 2019, par FejorI just started learning FFmpeg. I have code (like below), but it’s doing nothing.
fmpeg -i videoplayback.mp4 -filter_complex "[1:v]trim=start=0:end=1,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[intro1];
[1:v]trim=start=1:end=123.39,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[main1];
[1:v]trim=start=123.39:end=124.39,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[end1];
[intro1]format=pix_fmts=yuva420p, fade=t=in:st=0:d=1:alpha=1[intro1];
[end1]format=pix_fmts=yuva420p, fade=t=in:st=0:d=1:alpha=1[end1];
[intro1][main1][end1][output];
[a:1][audio]; -vcodec libx264 -map "[output]" -map"[audio]" "output.mp4"