
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (29)
-
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 -
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (5591)
-
VBV-CBR and ABR in X264
11 décembre 2013, par xkfz007In x264 VBV-CBR RC mode is based on ABR and vbv-maxrate and vbv-bufsize are set. On the basis of frame QP decided by ABR, the MB row QP is decided by VBV-CBR for each row. I test these two modes and the command lines are listed :
ABR : -o BasketballDrill_832x480_50_20131210102507.264 BasketballDrill_832x480_50.yuv 832x480 —fps 50 —frames 300 —bitrate 1120 —profile baseline —threads -1 -I 50 -v —psnr
VBV-CBR : -o BasketballDrill_832x480_50_20131210102507_mb.264 BasketballDrill_832x480_50.yuv 832x480 —fps 50 —frames 300 —bitrate 1120 —vbv-maxrate 1120 —vbv-bufsize 1680 —profile baseline —threads 1 -I 50 -v —psnrThe final results are :
ABR : Y-PSNR 31.530dB, bitrate 1146.93kbps
VBV-CBR : Y-PSNR 31.728dB, bitrate 1230.25kbps
Compared to ABR, VBV-CBR achieved 4.9% bitrate promotion and 0.198dB PSNR promotion. But the PSNR promotion is lower than bitrate (1% bitrate=0.05dB).Having talked so much, I just want to ask what is the advantage of VBV-CBR compared ABR ? If ABR can get the reasonable results, why the VBV-cBR is needed ?
In my opinion, VBV-CBR maybe can promote the subjective quality owing to deciding the QP for each MB row. But the bitrate also rises. Also I have compared some frames of the two modes, they are almost the same.
Maybe there are some situations that are fit for VBV-CBR and I don't know. So guys, give me, the new to x264, some professional explanation. -
Debugging Video Frame Differences
14 mai 2014, par jvenemaI’m trying to decode an h264-encoded video frame using a decoder that has fairly limited capabilities (Broadway JS).
Here’s the process I’m using for testing :
- Encode single image using h264 (output is 62KB) using OpenH264 from Cisco, write to disk
- Read file as binary in JS (loaded via XHR)
- Decode in JS using Broadway
- Display in canvas
I actually have a functional example of this, but there’s a manual step at the moment between steps 1 and 2 - I have to call FFMPEG to force a small translation, and I can’t figure out why.
I have successfully integrated Cisco’s Openh264 library into my project, and can encode the image as h264 and write it to disk. I’ve confirmed the encoding itself is valid by using FFMPEG to extract the frame back out as a JPEG (looks perfect).
But, to make the frame decode properly in JS, I have to do a conversion using FFMPEG. It does some magic, the file size drops to 58KB, and voila, everything starts working.
The Openh264 libraries only work with the baseline configuration, so I’m assuming I have some other random parameter set incorrectly. Problem is, if I use ffprobe to compare the frames - the settings are identical ! But the file sizes are different, so obviously something is different.
So now the final question - what tool can I use to truly see what FFMPEG is doing behind the scenes here to make my "manually" encoded frame work ? Is there a tool that will let me compare all the details of two h264 frames ?
-
understanding libx264 output [closed]
11 août 2015, par nmxprimeI used libx264 in ffmpeg to encode . Finally i got below output .
Can anyone guide me understanding & interpreting this ?? Any reference/documentation ?
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] frame I:7 Avg QP:27.51 size: 11996
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] frame P:32 Avg QP:26.90 size: 217
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] frame B:25 Avg QP:32.73 size: 39
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] consecutive B-frames: 20.0% 80.0%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] mb I I16..4: 74.1% 17.0% 8.9%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] mb P I16..4: 0.7% 0.1% 0.0% P16..4: 2.0% 0.3% 0.2% 0.0% 0.0% skip:96.6%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 1.2% 0.0% 0.0% direct: 0.1% skip:98.8% L0: 5.5% L1:94.5% BI: 0.0%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] final ratefactor: 22.43
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] 8x8 transform intra:16.9% inter:51.1%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] coded y,uvDC,uvAC intra: 12.8% 27.2% 24.4% inter: 0.3% 0.6% 0.0%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] i16 v,h,dc,p: 95% 5% 0% 0%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 2% 30% 60% 0% 1% 0% 2% 0% 4%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 7% 58% 10% 2% 4% 2% 9% 1% 8%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] i8c dc,h,v,p: 14% 81% 3% 3%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] Weighted P-Frames: Y:0.0% UV:0.0%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] ref P L0: 81.2% 16.6% 1.8% 0.4%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] ref B L0: 70.8% 29.2%
01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] kb/s:287.21Edit :
I want to know what determines rate factor ? Is it relevant to fps ?
What is QP and it’s relation with rate factor ?Thank You !!