
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (99)
-
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 (...) -
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 (...) -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)
Sur d’autres sites (18258)
-
Creating TS file from MP4 file - Differing durations
2 mai 2018, par Mark WalshI am running the following command to crop an MP4 file
-i "C:\FFMPEG\Temp\S3\2ad239d1-f4b9-4854-afe4-7e28157893daHighRes.mp4" -q:v 0 -y -ss 00:00:01.000 -to 00:00:29.834 -vf "fade=t=out:st=29.334:d=0.500, scale=iw*min(1080/iw\,720/ih):ih*min(1080/iw\,720/ih),pad=1080:720:(1080-iw)/2:(720-ih)/2" "C:\FFMPEG\Temp\Crops\5ae9806e32ab040978d97013_0.ts"
As you can see I want to crop a video of exactly 28834 milliseconds long. However the created file when inspecting it via ffprobe is 28873 milliseconds long. Why is this ?
-
RGB to YUV422 conversion with ffmpeg, incorrect colors
22 janvier 2016, par user3578571I’m trying to convert an 8bit RGB uncompressed to an mpeg2 mxf file (xdcam 422 HD 1080 50i) which is YUV422. With info from the FFMpeg docs and various websites i made the following command :
./ffmpeg -y -i test_lines.mov -pix_fmt yuv422p -vcodec mpeg2video -non_linear_quant 1 -flags +ildct+ilme -top 1 -dc 10 -intra_vlc 1 -qmax 2 -vtag xd5c -rc_max_vbv_use 1 -rc_min_vbv_use 1 -g 12 -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 8000k -acodec pcm_s24le -ar 48000 -bf 2 -ac 2 lines_HD.mxf
This gave me a result with the colors much brighter than the original.
So i tried adding the options
-color_range 1 -colorspace 1 -color_primaries 1 -color_trc 1
but this didn’t seem to do anything.After adding
colormatrix=bt601:bt709
i got a way better image, but slightly darker than the original and it also feels weird specifying this option cause the source is also in the REC709 colorspace, so why specify it differently ?Next i regenerated my source image to an YUV codec (prores) and rerun FFMpeg on it with the colors coming out just fine. Therefore i think it has to be an RGB -> YUV problem.
Does somebody have an idea how to this properly ? I can provide screenshots of the different results on a videoscope as soon as i’m back at the office, if anybody is interested.Last, i know there are various topics touching this subject but either they go way over my head FFmpeg wise or bring me to the stage where i already am.
-
When capturing input with ffmpeg can't set video bitrate
11 mai 2014, par EmanueleWhen capturing input from FFmpeg with following command line :
ffmpeg -f x11grab -r 30 -s 1920x1080 -i :0.0 -vcodec mpeg4 -b:v 10000k -flags +aic+mv4 -f alsa -ac 2 -i pulse -strict experimental test.mp4
this is the output I get :ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers built on Feb 6 2014 20:56:59 with gcc 4.6.3 *** THIS PROGRAM IS DEPRECATED *** This program is only provided for compatibility and will be removed in a future release. Please use avconv instead. [x11grab @ 0x1b1c7a0] device : :0.0 -> display : :0.0 x : 0 y : 0 width : 1920 height : 1080 [x11grab @ 0x1b1c7a0] shared memory extension found [x11grab @ 0x1b1c7a0] Estimating duration from bitrate, this may be inaccurate Input #0, x11grab, from ’:0.0’ : Duration : N/A, start : 1399805986.592884, bitrate : 1990656 kb/s Stream #0.0 : Video : rawvideo, bgra, 1920x1080, 1990656 kb/s, 30 tbr, 1000k tbn, 30 tbc [alsa @ 0x1b2c600] capture with some ALSA plugins, especially dsnoop, may hang. [alsa @ 0x1b2c600] Estimating duration from bitrate, this may be inaccurate Input #1, alsa, from ’pulse’ : Duration : N/A, start : 1399805986.561124, bitrate : N/A Stream #1.0 : Audio : pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s File ’test.mp4’ already exists. Overwrite ? [y/N] y Incompatible pixel format ’bgra’ for codec ’mpeg4’, auto-selecting format ’yuv420p’ [buffer @ 0x1b4d840] w:1920 h:1080 pixfmt:bgra [avsink @ 0x1b40480] auto-inserting filter ’auto-inserted scaler 0’ between the filter ’src’ and the filter ’out’ [scale @ 0x1b1c6e0] w:1920 h:1080 fmt:bgra -> w:1920 h:1080 fmt:yuv420p flags:0x4 Output #0, mp4, to ’test.mp4’ : Metadata : encoder : Lavf53.21.1 Stream #0.0 : Video : mpeg4, yuv420p, 1920x1080, q=2-31, 200 kb/s, 30 tbn, 30 tbc Stream #0.1 : Audio : aac, 48000 Hz, 2 channels, s16, 200 kb/s Stream mapping : Stream #0.0 -> #0.0 Stream #1.0 -> #0.1 Press ctrl-c to stop encoding ^Cframe= 1283 fps= 42 q=31.0 Lsize= 10882kB time=42.71 bitrate=2087.3kbits/s dup=473 drop=70 video:9875kB audio:980kB global headers:0kB muxing overhead 0.251384% Received signal 2 : terminating. ema@scv : $ ./capvideo.sh ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers built on Feb 6 2014 20:56:59 with gcc 4.6.3 *** THIS PROGRAM IS DEPRECATED *** This program is only provided for compatibility and will be removed in a future release. Please use avconv instead. [x11grab @ 0x24667a0] device : :0.0 -> display : :0.0 x : 0 y : 0 width : 1920 height : 1080 [x11grab @ 0x24667a0] shared memory extension found [x11grab @ 0x24667a0] Estimating duration from bitrate, this may be inaccurate Input #0, x11grab, from ’:0.0’ : Duration : N/A, start : 1399806153.224758, bitrate : 1990656 kb/s Stream #0.0 : Video : rawvideo, bgra, 1920x1080, 1990656 kb/s, 30 tbr, 1000k tbn, 30 tbc [alsa @ 0x2476600] capture with some ALSA plugins, especially dsnoop, may hang. [alsa @ 0x2476600] Estimating duration from bitrate, this may be inaccurate Input #1, alsa, from ’pulse’ : Duration : N/A, start : 1399806153.198090, bitrate : N/A Stream #1.0 : Audio : pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s File ’test.mp4’ already exists. Overwrite ? [y/N] y Incompatible pixel format ’bgra’ for codec ’mpeg4’, auto-selecting format ’yuv420p’ [buffer @ 0x2497840] w:1920 h:1080 pixfmt:bgra [avsink @ 0x2497c00] auto-inserting filter ’auto-inserted scaler 0’ between the filter ’src’ and the filter ’out’ [scale @ 0x24a9680] w:1920 h:1080 fmt:bgra -> w:1920 h:1080 fmt:yuv420p flags:0x4 Output #0, mp4, to ’test.mp4’ : Metadata : encoder : Lavf53.21.1 Stream #0.0 : Video : mpeg4, yuv420p, 1920x1080, q=2-31, 200 kb/s, 30 tbn, 30 tbc Stream #0.1 : Audio : aac, 48000 Hz, 2 channels, s16, 200 kb/s Stream mapping : Stream #0.0 -> #0.0 Stream #1.0 -> #0.1 Press ctrl-c to stop encoding ^Cframe= 229 fps= 36 q=24.8 Lsize= 2316kB time=7.59 bitrate=2497.9kbits/s dup=43 drop=4 video:2134kB audio:176kB global headers:0kB muxing overhead 0.253411% Received signal 2 : terminating.
As you can see the video is being saved with 200kbs no matter what option I set ; what am I doing wrong ?
I’m running this on Ubuntu 12.04, ffmpeg isffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers built on Feb 6 2014 20:56:59 with gcc 4.6.3
.Cheers