
Recherche avancée
Autres articles (35)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les images
15 mai 2013
Sur d’autres sites (6316)
-
How to Play Smooth 4K Video with FFplay ? [closed]
14 mai 2020, par Matan MarcianoIm trying to play 4K video with ffplay and the video is not smooth.



Video File :



- 

- Big Buck Bunny, 4K, 60fps, 30Mbps
- http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_2160p_60fps_stereo_abl.mp4







Hardware :



- 

- Dell OptiPlex 7070 Micro (8 Cores, 8GB RAM, GPU : Intel Corporation UHD Graphics 630)
- Samsung U28E590D, 4K Screen
- DisplayPort to HDMI Cable









Software :



- 

- Ubuntu 19.04
- ffplay with libmvx (according this guide : https://github.com/Intel-Media-SDK/MediaSDK/wiki/Build-and-use-ffmpeg-with-MediaSDK)







The FFplay command I used is :
ffplay -vcodec h264_qsv -i input.ts



- 

- Notes :
- During the playing, my CPU usage is around 25% (according to 'top' command)
- FFplay logs indicate on many frame drops
- I also tried VLC and MPV player's- VLC looks bad also. MPV player looks better but still not smooth.











So, its looks like my hardware is good enough for 4K playing. What am I missing ?
How can I play smooth 4K video via FFplay ?


-
FFMPEG throwing error nb_cpb invalid, what went wrong ?
21 août 2023, par qkhanhproI am trying to play with this file from Kodi sample page https://kodi.wiki/view/Samples




HDR10+ Profile A HEVC 10-bit 23.976 Sample (in MKV with DTS:X audio)




The ffmpeg command throw this error on every line, with the number always being 93 for multiple different output video codec


nb_cpb 93 invalid.0 q=0.0 size= 0kB time=00:00:00.65 bitrate= 0.5kbits/s speed=3.95x 



A search point to this source file https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/hevc_ps.c


if (!hdr->flags.low_delay_hrd_flag) {
 hdr->cpb_cnt_minus1[i] = get_ue_golomb_long(gb);
 if (hdr->cpb_cnt_minus1[i] > 31) {
 av_log(NULL, AV_LOG_ERROR, "nb_cpb %d invalid\n",
 hdr->cpb_cnt_minus1[i]);
 return AVERROR_INVALIDDATA;
 }
}



What went wrong ?


ffmpeg -i E:\HDR.mkv -c:v libx265 -c:a copy "HDR.mp4" 

ffmpeg -i E:\HDR.mkv -c:v hevc_nvenc -c:a copy "HDR.mp4" 



-
rtl_fm piped to ffmpeg for udp stream
4 novembre 2014, par user3936148rtl_fm piped to ffmpeg for udp stream
Using Windows 7. I would like to pipe the rtl_fm standard out (pipe) to ffmpeg and udp stream it to an ip address. I have downloaded and installed rlt_sdr and other files and I have also installed sox. The console example given with the rtl_fm application using sox to play the radio station is below :
rtl_fm -f 106500000 -M wbfm -s 200000 -r 48000 -l 0 -E deemp -g 50 - | play -r 48000 -t s16 -L -c 1 -
This works great, using sox.
Update :
Below works with ffplay sounds ok not great..
rtl_fm -f 106500000 -M wbfm -s 200000 -r 48000 -l 0 -E deemp -g 80- | ffplay -f s16le -ar 48000 -ac 1 -
I would like to use ffmpeg instead, below is a non working example (just to give you an idea)
rtl_fm -f 106500000 -M wbfm -s 200000 -r 48000 -l 0 -E deemp -g 50 - | ffmpeg -i - -f s16le -ar 48000 -ac 1 -acodec libmp3lame -ab 24k -ar 22050 -f mpegts udp ://192.168.1.196:1234 -
useful links :
http://kmkeen.com/rtl-demod-guide/
http://sdr.osmocom.org/trac/wiki/rtl-sdr
Thank you for your help