
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 (64)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
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" ; -
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 ) (...)
Sur d’autres sites (4816)
-
FFMPEG video merging. Only first video shows
13 mars 2019, par James AshworthI’m trying to put 7 second intro video before another one, but I keep having trouble with it. I don’t need to do anything else then add intros to videos.
This is what I’m currently getting.
(for %i in (*.mp4) do @echo file '%i') > mylist.txt
ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4
C:\Users\Business>cd desktop
C:\Users\Business\Desktop>cd testfile
C:\Users\Business\Desktop\Testfile>(for %i in (*.mp4) do @echo file '%i') > mylist.txt
C:\Users\Business\Desktop\Testfile>
C:\Users\Business\Desktop\Testfile>(for %i in (*.mp4) do @echo file '%i') > mylist.txt
C:\Users\Business\Desktop\Testfile>ffmpeg -f concat -i mylist.txt -c copy output.mp4
ffmpeg version N-93308-g1144d5c96d Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20190212
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 47.103 / 58. 47.103
libavformat 58. 26.101 / 58. 26.101
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 48.100 / 7. 48.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000261c7072c00] Auto-inserting h264_mp4toannexb bitstream filter
Input #0, concat, from 'mylist.txt':
Duration: N/A, start: -0.042667, bitrate: 2453 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 2325 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
handler_name : SoundHandler
Output #0, mp4, to 'output.mp4':
Metadata:
encoder : Lavf58.26.101
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, q=2-31, 2325 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=110209 fps=3246 q=-1.0 Lsize= 1103461kB time=01:01:17.41 bitrate=2458.1kbits/s speed= 108x
video:1042171kB audio:57353kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.358030%
C:\Users\Business\Desktop\Testfile>It shows the 7 second video as the whole video. Someway i got it to change after 7 seconds, but then the rest of the video was really buddy.
-
Video Streaming shows not working in Micorsoft Edge
22 novembre 2018, par Ragesh SI am newbi in using Video streaming in ASP.Net MVC project. I have a video library webpplication, most of the videos are
.mp4
format. Please see my code below.Code
public HttpResponseMessage Get(string filename)
{
var filePath = new FileStreameHelpers().GetFilePath(filename);
if (!File.Exists(filePath))
return new HttpResponseMessage(HttpStatusCode.NotFound);
var response = Request.CreateResponse();
response.Headers.AcceptRanges.Add("bytes");
var streamer = new FileStreameHelpers();
streamer.FileInfo = new FileInfo(filePath);
response.Content = new PushStreamContent(streamer.WriteToStream, new FileStreameHelpers().GetMimeType(Path.GetExtension(filePath)));
RangeHeaderValue rangeHeader = Request.Headers.Range;
if (rangeHeader != null)
{
long totalLength = streamer.FileInfo.Length;
var range = rangeHeader.Ranges.First();
streamer.Start = range.From ?? 0;
streamer.End = range.To ?? totalLength - 1;
response.Content.Headers.ContentLength = streamer.End - streamer.Start + 1;
response.Content.Headers.ContentRange = new ContentRangeHeaderValue(streamer.Start, streamer.End,
totalLength);
response.StatusCode = HttpStatusCode.PartialContent;
}
else
{
response.StatusCode = HttpStatusCode.OK;
}
return response;
}
public async Task WriteToStream(Stream outputStream, HttpContent content, TransportContext context)
{
try
{
var buffer = new byte[6553600];
using (var video = FileInfo.OpenRead())
{
if (End == -1)
{
End = video.Length;
}
var position = Start;
var bytesLeft = End - Start + 1;
video.Position = Start;
while (position <= End)
{
var bytesRead = video.Read(buffer, 0, (int)Math.Min(bytesLeft, buffer.Length));
await outputStream.WriteAsync(buffer, 0, bytesRead);
position += bytesRead;
bytesLeft = End - position + 1;
}
}
}
catch (Exception ex)
{
// fail silently
Utilities.SaveException("FileStreameHelpers - WriteToStream", ex);
}
finally
{
outputStream.Close();
}
}it works fine in Firefox and Chrome but it shows error in Microsoft Edge browser like below.
HTML
<video width="320" height="240" controls="controls">
<source src="/api/Media/Get?filename=SampleVideo_1280x720_1mb.mp4" type="video/mp4">
Your browser does not support the video tag.
</source></video>The remote host closed the connection. The error code is 0x800703E3.
Please advice.
-
ffmpeg stream encoding out produce a stream shows different program on each start
15 octobre 2018, par Ryan PhilipI am using ffmpeg for almost one year, my stream recently started behaving badly.
The lines on ffmpeg screen started running crazy fast when restreaming it, causing more CPU (with no encoding). I have mapped the stream to select only one stream. But the problem is even with mapping I am getting different program each time when it is played.
Also each program it is playing for less than a minute. There is no specific error message showing on ffmpeg screen. Only the output is behaving badly.
I even tried ffmpeg version 3.3, 3.4 and 4.0 with same results.
It has so many resolution streams, so i selected only 33 (video) and 34 (audio), the ones with highest resolution.
ffmpeg -i "http://insourceip/stream.m3u8" -err_detect explode -c copy -map 0:33? -map 0:34? -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 out/music.m3u8
Please help me with this.
Below is the output : the one after (No longer receiving playlist 8) start running crazy when started.
Program 11
Metadata:
variant_bitrate : 1088000
Stream #0:33: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 640x480 [SAR 12:11 DAR 16:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 1088000
Stream #0:34: Audio: aac (LC) ([15][0][0][0] / 0x000F), 32000 Hz, stereo, fltp
Metadata:
variant_bitrate : 1088000
Stream #0:35: Data: timed_id3 (ID3 / 0x20334449)
Metadata:
variant_bitrate : 1088000
[hls @ 0x7a64120] Opening '/music1.ts' for writing
Output #0, hls, to '/music.m3u8':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 640x480 [SAR 12:11 DAR 16:11], q=2-31, 25 fps, 25 tbr, 90k tbn, 25 tbc
Metadata:
variant_bitrate : 1088000
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 32000 Hz, stereo, fltp
Metadata:
variant_bitrate : 1088000
Stream #0:2: Data: timed_id3 (ID3 / 0x20334449)
Metadata:
variant_bitrate : 1088000
Stream mapping:
Stream #0:33 -> #0:0 (copy)
Stream #0:34 -> #0:1 (copy)
Stream #0:35 -> #0:2 (copy)
Press [q] to stop, [?] for help
[hls,applehttp @ 0x3d57120] No longer receiving playlist 10
[hls,applehttp @ 0x3d57120] No longer receiving playlist 1
[hls,applehttp @ 0x3d57120] No longer receiving playlist 3
[hls,applehttp @ 0x3d57120] No longer receiving playlist 5
[hls,applehttp @ 0x3d57120] No longer receiving playlist 7
[hls,applehttp @ 0x3d57120] No longer receiving playlist 9
[hls,applehttp @ 0x3d57120] No longer receiving playlist 0
[hls,applehttp @ 0x3d57120] No longer receiving playlist 2
[hls,applehttp @ 0x3d57120] No longer receiving playlist 4
[hls,applehttp @ 0x3d57120] No longer receiving playlist 6
[hls,applehttp @ 0x3d57120] No longer receiving playlist 8
***[hls,applehttp @ 0x3d57120] Opening 'FORMATED/i/MUSIC_1@13394/segment153957897_1_av-b.ts' for reading
[hls,applehttp @ 0x3d57120] Opening 'FORMATED/i/MUSIC_1@13394/segment153957898_1_av-b.ts' for reading
[hls @ 0x7a64120] Opening '/music2.ts' for writing
[hls @ 0x7a64120] Opening '/music.m3u8.tmp' for writing
[hls,applehttp @ 0x3d57120] Opening 'FORMATED/i/MUSIC_1@13394/segment153957899_1_av-b.ts' for reading
[hls @ 0x7a64120] Opening '/music3.ts' for writing***