
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (28)
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (5443)
-
ffmpeg ignores set bitrate
13 mars 2023, par col__panicI have a folder of h264 files I am trying to convert to hevc with a lower bitrate set with -b:v flag. For context I am using python running in a Docker container. The issue is that when ffmpeg completes, the output bitrate is extremely low.


As you can see from the ffmpeg command below, I am expecting around 900k bitrate. But as the command runs, it shows around 18k bitrate.


ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i /tmp/input.ts -an -c:v hevc_nvenc -b:v 914k -b_ref_mode 0 -tag:v hvc1 /tmp/output.mp4 
ffmpeg version N-109685-gac37b2c2b1 Copyright (c) 2000-2023 the FFmpeg developers
 built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
 configuration: --enable-nonfree --enable-cuda-nvcc --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
 libavutil 57. 44.100 / 57. 44.100
 libavcodec 59. 58.100 / 59. 58.100
 libavformat 59. 36.100 / 59. 36.100
 libavdevice 59. 8.101 / 59. 8.101
 libavfilter 8. 54.100 / 8. 54.100
 libswscale 6. 8.112 / 6. 8.112
 libswresample 4. 9.100 / 4. 9.100
-vsync is deprecated. Use -fps_mode
Passing a number to -vsync is deprecated, use a string argument as described in the manual.
Input #0, mpegts, from '/tmp/input.ts':
 Duration: 01:04:53.85, start: 85937.219044, bitrate: 2613 kb/s
 Program 1 
 Stream #0:0[0x101]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720, 90k tbr, 90k tbn
 Stream #0:1[0x202]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 130 kb/s
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_nvenc))
Press [q] to stop, [?] for help
Output #0, mp4, to '/tmp/output.mp4':
 Metadata:
 encoder : Lavf59.36.100
 Stream #0:0: Video: hevc (Main) (hvc1 / 0x31637668), cuda(progressive), 1280x720, q=2-31, 914 kb/s, 90k fps, 90k tbn
 Metadata:
 encoder : Lavc59.58.100 hevc_nvenc
 Side data:
 cpb: bitrate max/min/avg: 0/0/914000 buffer size: 1828000 vbv_delay: N/A
frame=113118 fps=412 q=49.0 Lsize= 8925kB time=01:04:53.82 bitrate= 18.8kbits/s speed=14.2x 
video:8215kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.636624%



And then checking the output shows that it is around 18kb/s.


ffmpeg -i /tmp/output.mp4 
...
 Duration: 01:04:53.82, start: 0.000000, bitrate: 18 kb/s



For reference the input file is 2600kb/s.


ffmpeg -i /tmp/input.ts 
...
 Duration: 01:04:53.85, start: 85937.219044, bitrate: 2613 kb/s




This seems like an issue with the file itself, given that I have run the same command and had it work. Also note that even when I leave out the -b:v flag, the output is about the same.


I have tried setting -minrate:v -maxrate:v -bufsize:v and -ss 00:00:00 flags as well and they did not help.


Also there was another post that mentioned the audio track being an issue and to rule that out, I tried using -an and that didn't help either.


I saw another post that mentioned the order of the parameters being an issue but I don't think that's the issue because this same command has run successfully on other input files.


Any ideas ?


EDIT :
nvm fixed it


-
avutil : remove deprecated FF_API_INTERLACED_FRAME
19 février, par James Almeravutil : remove deprecated FF_API_INTERLACED_FRAME
Deprecated since 2023-05-04.
Signed-off-by : James Almer <jamrial@gmail.com>
- [DH] libavcodec/decode.c
- [DH] libavcodec/encode.c
- [DH] libavfilter/buffersrc.c
- [DH] libavfilter/qsvvpp.c
- [DH] libavfilter/vf_coreimage.m
- [DH] libavfilter/vf_deinterlace_vaapi.c
- [DH] libavfilter/vf_estdif.c
- [DH] libavfilter/vf_field.c
- [DH] libavfilter/vf_fieldhint.c
- [DH] libavfilter/vf_fieldmatch.c
- [DH] libavfilter/vf_fieldorder.c
- [DH] libavfilter/vf_idet.c
- [DH] libavfilter/vf_kerndeint.c
- [DH] libavfilter/vf_nnedi.c
- [DH] libavfilter/vf_separatefields.c
- [DH] libavfilter/vf_setparams.c
- [DH] libavfilter/vf_telecine.c
- [DH] libavfilter/vf_tinterlace.c
- [DH] libavfilter/vf_w3fdif.c
- [DH] libavfilter/vf_weave.c
- [DH] libavfilter/vsrc_gradients.c
- [DH] libavfilter/vsrc_testsrc.c
- [DH] libavfilter/yadif_common.c
- [DH] libavutil/frame.c
- [DH] libavutil/frame.h
- [DH] libavutil/version.h
-
avutil : remove deprecated FF_API_PALETTE_HAS_CHANGED
19 février, par James Almeravutil : remove deprecated FF_API_PALETTE_HAS_CHANGED
Deprecated since 2023-05-18.
Signed-off-by : James Almer <jamrial@gmail.com>
- [DH] libavcodec/8bps.c
- [DH] libavcodec/ansi.c
- [DH] libavcodec/bethsoftvideo.c
- [DH] libavcodec/bfi.c
- [DH] libavcodec/bintext.c
- [DH] libavcodec/bmvvideo.c
- [DH] libavcodec/brenderpix.c
- [DH] libavcodec/c93.c
- [DH] libavcodec/cdgraphics.c
- [DH] libavcodec/cdtoons.c
- [DH] libavcodec/cinepak.c
- [DH] libavcodec/dds.c
- [DH] libavcodec/dfa.c
- [DH] libavcodec/dsicinvideo.c
- [DH] libavcodec/dxa.c
- [DH] libavcodec/flicvideo.c
- [DH] libavcodec/gemdec.c
- [DH] libavcodec/idcinvideo.c
- [DH] libavcodec/imx.c
- [DH] libavcodec/interplayvideo.c
- [DH] libavcodec/jvdec.c
- [DH] libavcodec/kmvc.c
- [DH] libavcodec/mscc.c
- [DH] libavcodec/msrle.c
- [DH] libavcodec/mss1.c
- [DH] libavcodec/msvideo1.c
- [DH] libavcodec/pafvideo.c
- [DH] libavcodec/pictordec.c
- [DH] libavcodec/psd.c
- [DH] libavcodec/qdrw.c
- [DH] libavcodec/qpeg.c
- [DH] libavcodec/qtrle.c
- [DH] libavcodec/rawdec.c
- [DH] libavcodec/rscc.c
- [DH] libavcodec/sga.c
- [DH] libavcodec/smacker.c
- [DH] libavcodec/smc.c
- [DH] libavcodec/targa.c
- [DH] libavcodec/tiertexseqv.c
- [DH] libavcodec/tmv.c
- [DH] libavcodec/tscc.c
- [DH] libavcodec/vb.c
- [DH] libavcodec/vqavideo.c
- [DH] libavcodec/yop.c
- [DH] libavutil/frame.c
- [DH] libavutil/frame.h
- [DH] libavutil/version.h