
Recherche avancée
Médias (3)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (54)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (10428)
-
How to distinguish a physical D3D adapter from a virtual adapter used by the Remote Desktop Protocol ?
31 octobre 2023, par rustakI'm currently developing a desktop application(c#/wpf) that decodes video using FFmpeg. I would like to give the user the option to select an adapter for video decoding. I'm using Direct3D method
EnumAdapters
to list available adapters on current device which works fine. The list of available adapters looks something like this :

Adapter 0
 Description: Intel(R) HD Graphics 630
 Vendor ID: 0x8086
 Device ID: 0x5912
 SubSys ID: 0x86941043
 Revision: 4
 Luid: 46459
 Flags: None
 Dedicated Video Memory: 128 MB
 Dedicated System Memory: 0 MB
 Shared System Memory: 8092 MB
Adapter 2
 Description: Microsoft Basic Render Driver
 Vendor ID: 0x1414
 Device ID: 0x8C
 SubSys ID: 0x0
 Revision: 0
 Luid: 50158
 Flags: Software
 Dedicated Video Memory: 0 MB
 Dedicated System Memory: 0 MB
 Shared System Memory: 8092 MB



I have noticed that an additional adapter appears in the list of available adapters when RDP is used. The additional adapter has the same properties as the physical one ; the only difference is in the LUID. The output looks something like this :


Adapter 0
 Description: Intel(R) HD Graphics 630
 Vendor ID: 0x8086
 Device ID: 0x5912
 SubSys ID: 0x86941043
 Revision: 4
 Luid: 46459
 Flags: None
 Dedicated Video Memory: 128 MB
 Dedicated System Memory: 0 MB
 Shared System Memory: 8092 MB
Adapter 1 // <- additional addapter
 Description: Intel(R) HD Graphics 630 
 Vendor ID: 0x8086
 Device ID: 0x5912
 SubSys ID: 0x86941043
 Revision: 4
 Luid: 1322913970
 Flags: None
 Dedicated Video Memory: 128 MB
 Dedicated System Memory: 0 MB
 Shared System Memory: 8092 MB
Adapter 2
 Description: Microsoft Basic Render Driver
 Vendor ID: 0x1414
 Device ID: 0x8C
 SubSys ID: 0x0
 Revision: 0
 Luid: 50158
 Flags: Software
 Dedicated Video Memory: 0 MB
 Dedicated System Memory: 0 MB
 Shared System Memory: 8092 MB



I'm aware that the additional adapter is some kind of virtual adapter used by RDP. I have tried both of them, and it seems that both are suitable for video decoding using FFmpeg.


However, from a UX perspective, it doesn't look or feel right that the combo box contains two adapters with the same name. So my question is : how can I distinguish a physical adapter from a virtual adapter used by the Remote Desktop Protocol ?


-
ffmpeg Using -movflags faststart
16 mai 2019, par user3571514I tried to use the command -movflags faststart
And got the following error :
Microsoft Windows [Version 6.0.6002] Copyright (c) 2006 Microsoft
Corporation. All rights reserved.C :\uploads\1\videos>ffmpeg -i simple1.mp4 -codec copy -map 0 -movflags faststart output.mp4
-movflags faststart output.mp4 ffmpeg version N-34549-g13b7781, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 6 2011
22:02:08 with gcc 4.6.1 configuration : —enable-gpl
—enable-version3 —disable-w32threads —enable-ru ntime-cpudetect —enable-avisynth —enable-bzlib —enable-frei0r —enable-libope ncore-amrnb —enable-libopencore-amrwb —enable-libfreetype
—enable-libgsm —en able-libmp3lame —enable-libopenjpeg —enable-librtmp —enable-libschroedinger -
-enable-libspeex —enable-libtheora —enable-libvo-aacenc —enable-libvo-amrwben c —enable-libvorbis —enable-libvpx —enable-libx264 —enable-libxavs —enable- libxvid —enable-zlib libavutil 51. 24. 0 / 51. 24. 0 libavcodec 53. 28. 0 / 53. 28.
0 libavformat 53. 19. 0 / 53. 19. 0 libavdevice 53. 4. 0 / 53.
4. 0 libavfilter 2. 47. 0 / 2. 47. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’simple1.mp4’ : Metadata :
major_brand : isom
minor_version : 512
compatible_brands : isomiso2avc1mp41
encoder : Lavf54.29.104 Duration : 00:02:32.81, start : 0.000000, bitrate : 1166 kb/s
Stream #0:0(und) : Video : h264 (Main) (avc1 / 0x31637661), yuv420p, 854x480 [ SAR 1:1 DAR 427:240], 1064 kb/s, 29.97 fps, 29.97 tbr, 90k
tbn, 59.94 tbc
Metadata :
handler_name : VideoHandler
Stream #0:1(und) : Audio : aac (mp4a / 0x6134706D), 44100 Hz, mono, s16, 93 kb /s
Metadata :
handler_name : [mp4 muxer @ 04179D00] [Eval @ 0027DAB8] Undefined constant or missing ’(’ in ’f aststart’[mp4 muxer @ 04179D00] Unable to parse option value "faststart"
[mp4 muxer @ 04179D00] Error setting option movflags to value
faststart.Output #0, mp4, to ’output.mp4’ : Metadata :
major_brand : isom
minor_version : 512
compatible_brands : isomiso2avc1mp41
encoder : Lavf54.29.104
Stream #0:0(und) : Video : h264, yuv420p, 854x480 [SAR 1:1 DAR 427:240], q=2-3 1, 1064 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
Metadata :
handler_name : VideoHandler
Stream #0:1(und) : Audio : aac, 44100 Hz, mono, 93 kb/s
Metadata :
handler_name : Stream mapping : Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy)Could not write header for output file #0 (incorrect codec parameters ?)
-
ffmpeg Using -movflags faststart
17 avril 2016, par user3571514I tried to use the command -movflags faststart
And got the following error :
Microsoft Windows [Version 6.0.6002] Copyright (c) 2006 Microsoft
Corporation. All rights reserved.C :\uploads\1\videos>ffmpeg -i simple1.mp4 -codec copy -map 0 -movflags faststart output.mp4
-movflags faststart output.mp4 ffmpeg version N-34549-g13b7781, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 6 2011
22:02:08 with gcc 4.6.1 configuration : —enable-gpl
—enable-version3 —disable-w32threads —enable-ru ntime-cpudetect —enable-avisynth —enable-bzlib —enable-frei0r —enable-libope ncore-amrnb —enable-libopencore-amrwb —enable-libfreetype
—enable-libgsm —en able-libmp3lame —enable-libopenjpeg —enable-librtmp —enable-libschroedinger -
-enable-libspeex —enable-libtheora —enable-libvo-aacenc —enable-libvo-amrwben c —enable-libvorbis —enable-libvpx —enable-libx264 —enable-libxavs —enable- libxvid —enable-zlib libavutil 51. 24. 0 / 51. 24. 0 libavcodec 53. 28. 0 / 53. 28.
0 libavformat 53. 19. 0 / 53. 19. 0 libavdevice 53. 4. 0 / 53.
4. 0 libavfilter 2. 47. 0 / 2. 47. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’simple1.mp4’ : Metadata :
major_brand : isom
minor_version : 512
compatible_brands : isomiso2avc1mp41
encoder : Lavf54.29.104 Duration : 00:02:32.81, start : 0.000000, bitrate : 1166 kb/s
Stream #0:0(und) : Video : h264 (Main) (avc1 / 0x31637661), yuv420p, 854x480 [ SAR 1:1 DAR 427:240], 1064 kb/s, 29.97 fps, 29.97 tbr, 90k
tbn, 59.94 tbc
Metadata :
handler_name : VideoHandler
Stream #0:1(und) : Audio : aac (mp4a / 0x6134706D), 44100 Hz, mono, s16, 93 kb /s
Metadata :
handler_name : [mp4 muxer @ 04179D00] [Eval @ 0027DAB8] Undefined constant or missing ’(’ in ’f aststart’[mp4 muxer @ 04179D00] Unable to parse option value "faststart"
[mp4 muxer @ 04179D00] Error setting option movflags to value
faststart.Output #0, mp4, to ’output.mp4’ : Metadata :
major_brand : isom
minor_version : 512
compatible_brands : isomiso2avc1mp41
encoder : Lavf54.29.104
Stream #0:0(und) : Video : h264, yuv420p, 854x480 [SAR 1:1 DAR 427:240], q=2-3 1, 1064 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
Metadata :
handler_name : VideoHandler
Stream #0:1(und) : Audio : aac, 44100 Hz, mono, 93 kb/s
Metadata :
handler_name : Stream mapping : Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy)Could not write header for output file #0 (incorrect codec parameters ?)