
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 (109)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (15018)
-
Revision 73422d3b2d : Short circuit rate_block in block_rd_txfm. Don't run rate_block (cost_coeffs) i
31 juillet 2015, par Alex ConverseChanged Paths :
Modify /vp9/encoder/vp9_rdopt.c
Short circuit rate_block in block_rd_txfm.Don’t run rate_block (cost_coeffs) if distortion alone is enough to
surpass best_rd.This decreases 2nd pass runtime on HD at speed 2 by about 2%. There is
zero effect on output if tx_cache is removed.Change-Id : Ia3b1cc77bfbe6ee988c395fde06c0eb92940b784
-
avcodec/hevc : Track long and short term RPS size for VDPAU
13 juin 2015, par Philip Langdaleavcodec/hevc : Track long and short term RPS size for VDPAU
Today, we track the short term RPS size for DXVA, but only if the
SliceHeader RPS is being used. Otherwise it’s left uninitialized.NVIDIA’s VDPAU implementation requires that the size be accurately
tracked even if an SPS RPS is being used. In this case, it’s really
counting the size of the RPS idx information, but you end up with
mangled output if the value is not accurate.VDPAU also needs the size of the long term RPS.
Signed-off-by : Philip Langdale <philipl@overt.org>
-
How can twisted spawnProcess send ffmpeg filter_complex parameters with embedded quotes ?
19 août 2024, par StephenI am attempting to send these (simplified) parameters to ffmpeg via reactor.spawnProcess.


['-filter_complex', '"[0:v]setpts=PTS-STARTPTS,scale=-1:720 [a0];[a0]pad=w=1280:h=720:x=-1:y=-1:color=black[out]"'



but presumedly code is doing some form of prefixing which ffmpeg can't understand because my filter graph always errors although I can send my exact same text to ffmpeg on command line and it's fine.


I've attempted to repr and escape ('"') and I can't figure out how to get these strings through to ffmpeg.


Edit : Don't know why I didn't try before but I wrote a little script to receive the input parameters and they're fine. Still at a loss to understand why " ".join(params) will run from terminal but it fails in spawnProcess.


Edit : ffmpeg output


Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'verbose'.
Reading option '-threads' ... matched as AVOption 'threads' with argument 'auto'.
Reading option '-flags' ... matched as AVOption 'flags' with argument '-global_header'.
Reading option '-i' ... matched as input url with argument 'config/colorbars.jpg'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-tag:v' ... matched as option 'tag' (force codec tag/fourcc) with argument 'hvc1'.
Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '"[0:v]setpts=(RTCTIME-RTCSTART)/(TB*1000000),scale=-1:720[outpad];[outpad]pad=w=1280:h=720:x=-1:y=-1:color=black[out]"'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '"[out]"'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'hevc_videotoolbox'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '3000K'.
Reading option '-preset' ... matched as AVOption 'preset' with argument 'medium'.
Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'main'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '5'.
Reading option 'temp/apptest_1.mp4' ... matched as output url.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option v (set logging level) with argument verbose.
Input #0, image2, from 'config/colorbars.jpg':
 Duration: 00:00:00.04, start: 0.000000, bitrate: 4712 kb/s
 Stream #0:0: Video: mjpeg (Baseline), 1 reference frame, yuvj420p(pc, bt470bg/unknown/unknown, center), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn
[AVFilterGraph @ 0x600001fbc600] No such filter: '"'
Error initializing complex filters.
Invalid argument



Solution : The problem always solves when requesting assistance. Every example at ffmpeg wiki shows double quotes around the filter graph. When sending with spawnProcess this is unnecessary.