
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (64)
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)
Sur d’autres sites (6091)
-
ffmpeg : capture rtsp stream continously without stoping
21 décembre 2019, par Santhosh YedidiI am trying to capture an rtsp stream
ffmpeg -rtsp_transport tcp -i "rtsp://...." -acodec copy -vcodec copy file.ts
But this will only record for few seconds and stop
ffmpeg version n4.1.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20181127
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
[rtsp @ 0x564a002b4e80] max delay reached. need to consume packet
[rtsp @ 0x564a002b4e80] RTP: missed 3 packets
[h264 @ 0x564a002b8a80] out of range intra chroma pred mode
[h264 @ 0x564a002b8a80] error while decoding MB 8 43
[h264 @ 0x564a002b8a80] concealing 1401 DC, 1401 AC, 1401 MV errors in I frame
Input #0, rtsp, from 'rtsp://...':
Metadata:
title : RTSP Session/2.0
Duration: N/A, start: 0.463333, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuvj420p(pc, progressive), 1280x960, 15 fps, 100 tbr, 90k tbn, 30 tbc
Output #0, mpegts, to 'file.ts':
Metadata:
title : RTSP Session/2.0
encoder : Lavf58.20.100
Stream #0:0: Video: h264 (Main), yuvj420p(pc, progressive), 1280x960, q=2-31, 15 fps, 100 tbr, 90k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 380 fps= 16 q=-1.0 Lsize= 6962kB time=00:00:24.86 bitrate=2293.5kbits/s speed=1.06x
video:6416kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.512586%How to keep the recording continous
-
FFmpeg '-bframebias' option gone ? [closed]
18 mars 2013, par RRNRecently I updated ffmpeg to version 1.1, when I run a command containing
bframebias
, it showed an error :Unrecognized option 'bframebias'.
Error splitting the argument list: Option not foundThis command used to work fine. So the option
bframebias
is removed or it is replaced by another option ?C:\Users\Raymond\Downloads\ffmpeg-1.1-win32-static\bin>ffmpeg -i C:\Users\Raymon
d\Desktop\IntroductiontoITILREAD2.wmv -vcodec libx264 -r 25 -b:v 1500k -profile:
v main -level 41 -bf 3 -direct-pred auto -b_strategy 1 -weightb 1 -bidir_refine
1 -b-pyramid none -bframebias 0 -8x8dct 0 -partitions i8x8,i4x4,p8x8,p4x4,b8x8 -
maxrate 24000k -bufsize 24000k -bt 1.0 -qcomp 0.60 -me_range 16 -sc_threshold 40
-me_method hex -subq 7 -cmp chroma -qmax 69 -qmin 10 -i_qfactor 0.71 -b_qfactor
0.77 -trellis 0 -refs 2 -mixed-refs 0 -coder 1 -fast-pskip 1 -flags +loop -debl
ock 0:0 -rc-lookahead 40 -mbtree 1 -psy 1 -slices 0 -slice-max-size 0 -preset fa
st -acodec libvo_aacenc -profile:a aac_low -ar 48000 -ab 128000 -ac 2 -s 720x576
-aspect 16:9 -f matroska C:\Users\Raymond\Desktop\OUTPUT.mkv
ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 8 2013 16:10:57 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Unrecognized option 'bframebias'.
Error splitting the argument list: Option not found -
Strange results when converting rgb yuv using ffmpeg in python
20 avril 2020, par user3569998I have JPG images and I am trying to do the following :



- 

- resize the input and save the result into PNG
- convert PNG images to YUV (for instance yuv444p10le) in AVI container
- convert AVI back to PNG image.









I am using python 3 and ffmpeg Linux version installed on Colab



I printed the difference between resized_png and restored_png. I have values of 255 which doesn't make sense at all.



[[[ 0 255 1]
 [ 0 0 1]
 [ 0 255 1]
 ...
 [ 1 0 0]
 [ 1 0 0]
 [ 2 0 1]]

 [[ 0 255 1]
 [ 0 255 1]
 [ 1 0 0]
 ...
 [ 1 0 0]
 [ 1 0 0]
 [ 1 0 0]]

 [[ 0 0 1]
 [ 0 0 1]
 [ 0 0 1]
 ...
 [ 1 255 0]
 [ 1 255 1]
 [ 1 0 0]]

 ...

 [[255 0 0]
 [255 0 1]
 [255 0 1]
 ...
 [ 0 0 0]
 [ 0 0 1]
 [255 0 1]]

 [[255 0 1]
 [255 0 1]
 [255 0 1]
 ...
 [ 0 0 1]
 [ 0 0 1]
 [ 0 0 0]]

 [[255 0 1]
 [255 0 1]
 [255 0 1]
 ...
 [255 1 0]
 [255 0 0]
 [255 0 1]]]




input_image = '/content/drive/My Drive/Colab Notebooks/adv_dnn/datasets/im2.jpg'
output_resized = '/content/drive/My Drive/Colab Notebooks/adv_dnn/datasets/im2.png'
folder_path = '/content/drive/My Drive/Colab Notebooks/adv_dnn/datasets/'

#do resize
# code = subprocess.call('cd /usr/bin/ffmpeg', shell=True)
# print(code)
cmd_resize = ['ffmpeg', '-y', '-i', input_image,'-vf', 'scale=224:224', output_resized]
process = subprocess.Popen(cmd_resize, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = process.communicate()
print(out)
print(err)

fmt = ['yuv420p', 'yuv420p10le', 'yuv444p', 'yuv444p10le']
for f in fmt:
 cmd2YUV = ['ffmpeg', '-y', '-i', output_resized, '-c:v', 'libx264', '-preset', 'placebo',\
 '-qp', '0', '-x264-params', "keyint=15:no-deblock=1", '-pix_fmt', f, \
 '-sws_flags', 'spline+accurate_rnd+full_chroma_int', \
 '-vf', "colorspace=bt709:iall=bt601-6-625:fast=1", '-color_range', '1', '-colorspace', '1', 
 '-color_primaries', '1', '-color_trc', '1', folder_path+'im2_'+f+'.avi']
 process = subprocess.Popen(cmd2YUV, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 out, err = process.communicate()
 print(out)
 print(err)

 cmd2PNG = ['ffmpeg', '-y', '-i', folder_path+'im2_'+f+'.avi', '-compression_level', '10', '-pred', 'mixed', \
 '-pix_fmt', 'rgb24', '-sws_flags', '+accurate_rnd+full_chroma_int', \
 folder_path+'im2_'+f+'.png']
 process = subprocess.Popen(cmd2PNG, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 out, err = process.communicate()
 print(out)
 print(err)

im1=pilim.open('/content/drive/My Drive/Colab Notebooks/adv_dnn/datasets/im2.png')
im2=pilim.open('/content/drive/My Drive/Colab Notebooks/adv_dnn/datasets/im2_yuv444p10le.png')
im1_2d = np.asarray(im1)
im2_2d = np.asarray(im2)
print(im2_2d-im1_2d)