
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 (36)
-
Ajout d’utilisateurs manuellement par un administrateur
12 avril 2011, parL’administrateur d’un canal peut à tout moment ajouter un ou plusieurs autres utilisateurs depuis l’espace de configuration du site en choisissant le sous-menu "Gestion des utilisateurs".
Sur cette page il est possible de :
1. décider de l’inscription des utilisateurs via deux options : Accepter l’inscription de visiteurs du site public Refuser l’inscription des visiteurs
2. d’ajouter ou modifier/supprimer un utilisateur
Dans le second formulaire présent un administrateur peut ajouter, (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)
Sur d’autres sites (5195)
-
FFMPEG - Width/ Height Not Divisible by 2 (Scaling to Generate MBR Output)
15 avril 2020, par Sanjeev PandeyI am trying to generate multilple variants of videos in my library (Mp4 formats) and have renditions planned ranging from 1080p to 240p and popular sizes in between. For that I am taking a video with a AxB resolution and then running through a code (on bash) which scales them to desired following sizes - 
426x240
640x360
842x480
1280x720
1920x1080, with different bitrates of course, and then saves as Mp4 again.



Now, this works just fine if source video has height and width divisible by 2, but code breaks on the following line for the videos with odd width and height :

-vf scale=w=${width}:h=${height}:force_original_aspect_ratio=decrease"



Where 'width' and 'height' are the desired (and hardcoded) for every iteration : E.g. "426x240", and "640x360"



The Error :

[libx264 @ 00000187da2a1580] width not divisible by 2 (639x360)

Error initializing output stream 1:0 -- Error while opening encoder for output stream #1:0 - maybe incorrect parameters such as bit_rate, rate, width or height



Now approaches those are explained in this one doesn't work for me since I am scaling - FFMPEG (libx264) "height not divisible by 2"



And, I tried this one too but it seems all qualities are getting the same size -ffmpeg : width not divisible by 2 (when keep proportions)





- 

- This is how I tried to use this one :
scale='bitand(oh*dar,65534)':'min(${height},ih)'







Kindly suggest how to solve this, keeping in view that :
1. I have a very large library and I can't do manual change for every video
2. I need to scale the video and keep the aspect ratio



Thanks !



PS : [Edit] One way that I can see is padding all of the odd height/ weight videos using a second script in advance. This however doubles my work time and load. I would prefer to keep it in single script. This is the script I see that I can use for padding :
```ffmpeg -r 24 -i -vcodec libx264 -y -an -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2"`` (from : FFMPEG (libx264) "height not divisible by 2")


- This is how I tried to use this one :
-
FFMediaElement : How to stream from CamLink 4K ?
15 janvier 2021, par PedroI would like to use Unosquare's FFME library (v4.2.330) to show a live stream from a Cam Link 4K hdmi grabber.Using the following code, however, the media element remains black, even though the media has successfully been opened and no exceptions are raised.





 private void OnLoaded(object sender, RoutedEventArgs e)
 {
 this.media.Open(new Uri("device://dshow/?video=Cam Link 4K"));
 }

 private void media_MediaInitializing(object sender, Unosquare.FFME.Common.MediaInitializingEventArgs e)
 {
 e.Configuration.PrivateOptions["framerate"] = "50";
 e.Configuration.PrivateOptions["video_size"] = "1920x1080";
 e.Configuration.PrivateOptions["vcodec"] = "rawvideo"; //also tried mjpeg
 e.Configuration.PrivateOptions["pixel_format"] = "yuyv422"; //also tried yuv420p
 }
 
 private void media_MediaFailed(object sender, Unosquare.FFME.Common.MediaFailedEventArgs e)
 {
 log.Error(e.ErrorException);
 }



Using VLC player everything works fine, so I suppose it has something to do with parameters set during
MediaInitializing
. In order to get the correct parameters I ranffmpeg -f dshow -i video="Cam Link 4K"
which outputs

Input #0, dshow, from 'video=Cam Link 4K':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1920x1080, 50 fps, 50 tbr, 10000k tbn, 10000k tbc



By running
ffmpeg -f dshow -pix_fmt yuv420p -i video="Cam Link 4K" -framerate 50 -vcodec mjpeg test.mkv
I am able to record everthing into the file.

During startup I am setting
Unosquare.FFME.Library.FFmpegDirectory = @"C:\ffmpeg";
, where I put the prebuilt binaries and shared libraries for ffmpeg 4.2.1 (win64). Also I made sure my project is targeting x64. SinceMediaElement
works with regular mp4 files, I am not sure which parameters/settings I am missing.

-
lavfi/dnn : Async Support for TensorFlow Backend
8 août 2021, par Shubhanshu Saxenalavfi/dnn : Async Support for TensorFlow Backend
This commit enables async execution in the TensorFlow backend
and adds function to flush extra frames.The async execution mechanism executes the TFInferRequests on
a separate thread which is joined before the next execution of
same TFRequestItem/while freeing the model.The following is the comparison of this mechanism with the existing
sync mechanism on TensorFlow C API 2.5 CPU variant.Async Mode : 4m32.846s
Sync Mode : 5m17.582sThe above was performed on super resolution filter using SRCNN model.
Signed-off-by : Shubhanshu Saxena <shubhanshu.e01@gmail.com>