
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (58)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (12563)
-
mp4 video not playing on ios mobile or firefox, but work fine in chrome and safari
25 janvier 2023, par mavicllThe mp4 video is hosted on s3 and cloudfront, with the following media info. Link here.


General
Complete name : tkfinder.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 14.9 MiB
Duration : 41 s 867 ms
Overall bit rate : 2 990 kb/s
Writing application : Lavf58.76.100

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.2
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 41 s 867 ms
Bit rate : 2 984 kb/s
Width : 2 924 pixels
Height : 1 672 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 60.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.010
Stream size : 14.9 MiB (100%)
Title : Core Media Video
Writing library : x264 core 163
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=24 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : avcC



Problem : mp4 video not playing on firefox or ios mobile, but work fine in chrome and safari.




Is any thing issues on format or encoding setting or on S3 setting ?


-
Error launching ffmpeg in Windows service for screen recording using GDI capture and issue when screen is locked
21 mai 2023, par Артем АртемычI have a Go application that works as Windows service. It launches ffmpeg to record the screen using the Win32 GDI-based screen capture device. However, when the service runs under the SYSTEM account, ffmpeg fails to start, and I receive the following error :


[gdigrab @ 000001ff2a1ea200] Capturing whole desktop as 1024x768x32 at (0,0)
[gdigrab @ 000001ff2a1ea200] Failed to capture image (error 5)
[gdigrab @ 000001ff2a1ea200] Could not find codec parameters for stream 0 (Video: bmp, none, 125831 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, gdigrab, from 'desktop':
 Duration: N/A, bitrate: 125831 kb/s
 Stream #0:0: Video: bmp, none, 125831 kb/s, 5 fps, 1000k tbr, 1000k tbn
Output #0, mpegts, to 'pipe:1':
Output file #0 does not contain any stream




However, if I run ffmpeg using the token of the current user, like this :


token, _ := wintoken.GetInteractiveToken(wintoken.TokenLinked) // using the "github.com/fourcorelabs/wintoken" library
a.cmd = exec.Command("ffmpeg", params...)
a.cmd.SysProcAttr = &syscall.SysProcAttr{
 Token: syscall.Token(token.Token()),
 CreationFlags: 0x08000000,
 HideWindow: true,
}



the screen recording works. But as soon as the UAC prompt appears or the screen is locked (win+L), the recording stops with the following error :


[gdigrab @ 00000258d9efa540] Failed to capture image (error 5)
Error demuxing input file 0: I/O error
desktop: I/O error



I have tried running ffmpeg with psexec :


timeout 10 /NOBREAK && psexec -i -h -d -s ffmpeg -f gdigrab -framerate 5 -i desktop -c:v libx264 -preset veryfast -bf 2 -g 150 out.mp4




If recording starts while the screen is locked, everything works fine, i.e. ffmpeg records the locked screen. However, I haven't been able to reproduce this behavior when launching from Go. Is it possible to achieve continuous screen recording without stopped when the UAC prompt appears or the screen is locked ?
Or maybe there are other approaches in which I can solve my problem


-
Webm video files recorded on Chrome Mobile cannot be converted to MP4
7 juillet 2022, par Tobias KristensenI have a website where I record the user's webcam via the MediaRecorder API.
The video stream is created with navigator.mediaDevices.getUserMedia() :


// Create stream
const cameraStream = await navigator.mediaDevices.getUserMedia({ video: 
 { 
 aspectRatio: 1/1, 
 facingMode: 'user',
 width: { min: 360, ideal: 720, max: 1080 },
 height: { min: 360, ideal: 720, max: 1080 },
 deviceId: undefined
 } 
});

// Add stream to videoElement to display a video preview
videoElement.srcObject = cameraStream; 



I then check which mime types are available in the browser and use that info to initialize the MediaRecorder :


const validMimeTypes = [
 "video/webm\;codecs=vp8",
 "video/webm\;codecs=daala",
 "video/webm\;codecs=h264",
 "video/webm",
 "video/mpeg"
];

const getFirstAvailableMimeType = () => {
 for (const mimeType of validMimeTypes) {
 if (MediaRecorder.isTypeSupported(mimeType)) {
 return mimeType;
 }
 }
}

// Initialize Media Recorder
const mediaRecorder = new MediaRecorder(cameraStream, {
 mimeType: getFirstAvailableMimeType(),
});



After I finish recording a video, I upload it to a server and store it on Firebase Storage, so it can be downloaded later.


After downloading a video, I would like to convert it to an MP4 file. I've tried using CloudConvert and HandBrake. Both services have no issues converting videos that were recorded via Chrome on my desktop, but both fail when I try to convert videos recorded via Chrome Mobile on my phone.


When trying to convert the video to MP4 via CloudConvert, the following error is shown :


EBML header parsing failed. /input/import1/69fcceaccc27a0d6eabcb8a65045e87e.webm Invalid data found when processing input



Any ideas how I can resolve this issue ?