
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (38)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (8676)
-
The use cases for a element in HTML
1er janvier 2014, par silviaThe W3C HTML WG and the WHATWG are currently discussing the introduction of a <main> element into HTML.
The <main> element has been proposed by Steve Faulkner and is specified in a draft extension spec which is about to be accepted as a FPWD (first public working draft) by the W3C HTML WG. This implies that the W3C HTML WG will be looking for implementations and for feedback by implementers on this spec.
I am supportive of the introduction of a <main> element into HTML. However, I believe that the current spec and use case list don’t make a good enough case for its introduction. Here are my thoughts.
Main use case : accessibility
In my opinion, the main use case for the introduction of <main> is accessibility.
Like any other users, when blind users want to perceive a Web page/application, they need to have a quick means of grasping the content of a page. Since they cannot visually scan the layout and thus determine where the main content is, they use accessibility technology (AT) to find what is known as “landmarks”.
“Landmarks” tell the user what semantic content is on a page : a header (such as a banner), a search box, a navigation menu, some asides (also called complementary content), a footer, …. and the most important part : the main content of the page. It is this main content that a blind user most often wants to skip to directly.
In the days of HTML4, a hidden “skip to content” link at the beginning of the Web page was used as a means to help blind users access the main content.
In the days of ARIA, the aria @role=main enables authors to avoid a hidden link and instead mark the element where the main content begins to allow direct access to the main content. This attribute is supported by AT – in particular screen readers – by making it part of the landmarks that AT can directly skip to.
Both the hidden link and the ARIA @role=main approaches are, however, band aids : they are being used by those of us that make “finished” Web pages accessible by adding specific extra markup.
A world where ARIA is not necessary and where accessibility developers would be out of a job because the normal markup that everyone writes already creates accessible Web sites/applications would be much preferable over the current world of band-aids.
Therefore, to me, the primary use case for a <main> element is to achieve exactly this better world and not require specialized markup to tell a user (or a tool) where the main content on a page starts.
An immediate effect would be that pages that have a <main> element will expose a “main” landmark to blind and vision-impaired users that will enable them to directly access that main content on the page without having to wade through other text on the page. Without a <main> element, this functionality can currently only be provided using heuristics to skip other semantic and structural elements and is for this reason not typically implemented in AT.
Other use cases
The <main> element is a semantic element not unlike other new semantic elements such as <header>, <footer>, <aside>, <article>, <nav>, or <section>. Thus, it can also serve other uses where the main content on a Web page/Web application needs to be identified.
Data mining
For data mining of Web content, the identification of the main content is one of the key challenges. Many scholarly articles have been published on this topic. This stackoverflow article references and suggests a multitude of approaches, but the accepted answer says “there’s no way to do this that’s guaranteed to work”. This is because Web pages are inherently complex and many <div>, <p>, <iframe> and other elements are used to provide markup for styling, notifications, ads, analytics and other use cases that are necessary to make a Web page complete, but don’t contribute to what a user consumes as semantically rich content. A <main> element will allow authors to pro-actively direct data mining tools to the main content.
Search engines
One particularly important “data mining” tool are search engines. They, too, have a hard time to identify which sections of a Web page are more important than others and employ many heuristics to do so, see e.g. this ACM article. Yet, they still disappoint with poor results pointing to findings of keywords in little relevant sections of a page rather than ranking Web pages higher where the keywords turn up in the main content area. A <main> element would be able to help search engines give text in main content areas a higher weight and prefer them over other areas of the Web page. It would be able to rank different Web pages depending on where on the page the search words are found. The <main> element will be an additional hint that search engines will digest.
Visual focus
On small devices, the display of Web pages designed for Desktop often causes confusion as to where the main content can be found and read, in particular when the text ends up being too small to be readable. It would be nice if browsers on small devices had a functionality (maybe a default setting) where Web pages would start being displayed as zoomed in on the main content. This could alleviate some of the headaches of responsive Web design, where the recommendation is to show high priority content as the first content. Right now this problem is addressed through stylesheets that re-layout the page differently depending on device, but again this is a band-aid solution. Explicit semantic markup of the main content can solve this problem more elegantly.
Styling
Finally, naturally, <main> would also be used to style the main content differently from others. You can e.g. replace a semantically meaningless <div id=”main”> with a semantically meaningful <main> where their position is identical. My analysis below shows, that this is not always the case, since oftentimes <div id=”main”> is used to group everything together that is not the header – in particular where there are multiple columns. Thus, the ease of styling a <main> element is only a positive side effect and not actually a real use case. It does make it easier, however, to adapt the style of the main content e.g. with media queries.
Proposed alternative solutions
It has been proposed that existing markup serves to satisfy the use cases that <main> has been proposed for. Let’s analyse these on some of the most popular Web sites. First let’s list the propsed algorithms.
Proposed solution No 1 : Scooby-Doo
On Sat, Nov 17, 2012 at 11:01 AM, Ian Hickson <ian@hixie.ch> wrote : | The main content is whatever content isn’t | marked up as not being main content (anything not marked up with <header>, | <aside>, <nav>, etc).
This implies that the first element that is not a <header>, <aside>, <nav>, or <footer> will be the element that we want to give to a blind user as the location where they should start reading. The algorithm is implemented in https://gist.github.com/4032962.
Proposed solution No 2 : First article element
On Sat, Nov 17, 2012 at 8:01 AM, Ian Hickson wrote : | On Thu, 15 Nov 2012, Ian Yang wrote : | > | > That’s a good idea. We really need an element to wrap all the <p>s, | > <ul>s, <ol>s, <figure>s, <table>s ... etc of a blog post. | | That’s called <article>.
This approach identifies the first <article> element on the page as containing the main content. Here’s the algorithm for this approach.
Proposed solution No 3 : An example heuristic approach
The readability plugin has been developed to make Web pages readable by essentially removing all the non-main content from a page. An early source of readability is available. This demonstrates what a heuristic approach can perform.
Analysing alternative solutions
Comparison
I’ve picked 4 typical Websites (top on Alexa) to analyse how these three different approaches fare. Ideally, I’d like to simply apply the above three scripts and compare pictures. However, since the semantic HTML5 elements <header>, <aside>, <nav>, and <footer> are not actually used by any of these Web sites, I don’t actually have this choice.
So, instead, I decided to make some assumptions of where these semantic elements would be used and what the outcome of applying the first two algorithms would be. I can then compare it to the third, which is a product so we can take screenshots.
Google.com
http://google.com – search for “Scooby Doo”.
The search results page would likely be built with :
- a <nav> menu for the Google bar
- a <header> for the search bar
- another <header> for the login section
- another <nav> menu for the search types
- a <div> to contain the rest of the page
- a <div> for the app bar with the search number
- a few <aside>s for the left and right column
- a set of <article>s for the search results
“Scooby Doo” would find the first element after the headers as the “main content”. This is the element before the app bar in this case. Interestingly, there is a <div @id=main> already in the current Google results page, which “Scooby Doo” would likely also pick. However, there are a nav bar and two asides in this div, which clearly should not be part of the “main content”. Google actually placed a @role=main on a different element, namely the one that encapsulates all the search results.“First Article” would find the first search result as the “main content”. While not quite the same as what Google intended – namely all search results – it is close enough to be useful.
The “readability” result is interesting, since it is not able to identify the main text on the page. It is actually aware of this problem and brings a warning before displaying this page :
Facebook.com
A user page would likely be built with :
- a <header> bar for the search and login bar
- a <div> to contain the rest of the page
- an <aside> for the left column
- a <div> to contain the center and right column
- an <aside> for the right column
- a <header> to contain the center column “megaphone”
- a <div> for the status posting
- a set of <article>s for the home stream
“Scooby Doo” would find the first element after the headers as the “main content”. This is the element that contains all three columns. It’s actually a <div @id=content> already in the current Facebook user page, which “Scooby Doo” would likely also pick. However, Facebook selected a different element to place the @role=main : the center column.“First Article” would find the first news item in the home stream. This is clearly not what Facebook intended, since they placed the @role=main on the center column, above the first blog post’s title. “First Article” would miss that title and the status posting.
The “readability” result again disappoints but warns that it failed :
YouTube.com
A video page would likely be built with :
- a <header> bar for the search and login bar
- a <nav> for the menu
- a <div> to contain the rest of the page
- a <header> for the video title and channel links
- a <div> to contain the video with controls
- a <div> to contain the center and right column
- an <aside> for the right column with an <article> per related video
- an <aside> for the information below the video
- a <article> per comment below the video
“Scooby Doo” would find the first element after the headers as the “main content”. This is the element that contains the rest of the page. It’s actually a <div @id=content> already in the current YouTube video page, which “Scooby Doo” would likely also pick. However, YouTube’s related videos and comments are unlikely to be what the user would regard as “main content” – it’s the video they are after, which generously has a <div id=watch-player>.“First Article” would find the first related video or comment in the home stream. This is clearly not what YouTube intends.
The “readability” result is not quite as unusable, but still very bare :
Wikipedia.com
http://wikipedia.com (“Overscan” page)
A Wikipedia page would likely be built with :
- a <header> bar for the search, login and menu items
- a <div> to contain the rest of the page
- an &ls ; article> with title and lots of text
- <article> an <aside> with the table of contents
- several <aside>s for the left column
Good news : “Scooby Doo” would find the first element after the headers as the “main content”. This is the element that contains the rest of the page. It’s actually a <div id=”content” role=”main”> element on Wikipedia, which “Scooby Doo” would likely also pick.“First Article” would find the title and text of the main element on the page, but it would also include an <aside>.
The “readability” result is also in agreement.
Results
In the following table we have summarised the results for the experiments :
Site Scooby-Doo First article Readability Google.com FAIL SUCCESS FAIL Facebook.com FAIL FAIL FAIL YouTube.com FAIL FAIL FAIL Wikipedia.com SUCCESS SUCCESS SUCCESS Clearly, Wikipedia is the prime example of a site where even the simple approaches find it easy to determine the main content on the page. WordPress blogs are similarly successful. Almost any other site, including news sites, social networks and search engine sites are petty hopeless with the proposed approaches, because there are too many elements that are used for layout or other purposes (notifications, hidden areas) such that the pre-determined list of semantic elements that are available simply don’t suffice to mark up a Web page/application completely.
Conclusion
It seems that in general it is impossible to determine which element(s) on a Web page should be the “main” piece of content that accessibility tools jump to when requested, that a search engine should put their focus on, or that should be highlighted to a general user to read. It would be very useful if the author of the Web page would provide a hint through a <main> element where that main content is to be found.
I think that the <main> element becomes particularly useful when combined with a default keyboard shortcut in browsers as proposed by Steve : we may actually find that non-accessibility users will also start making use of this shortcut, e.g. to get to videos on YouTube pages directly without having to tab over search boxes and other interactive elements, etc. Worthwhile markup indeed.
-
ffmpeg - Add image background to square video
2 janvier 2015, par ffnoobI have a Video Clips which has 480x480 resolutions, I already have the code on combining them with
ffmpeg -f concat -i C:\vids\ffmpeg\f.txt -c copy C:\vids\ffmpeg\test.mp4
Now I want to extend the code to add background image and make the resolution 1280x720 and if possible add a text watermark. Please help me.
This is what I’m trying to achieve.
http://i.imgur.com/Lk0dXw1.png
or this
-
FFmpegFrameGrabber video artefacts from RTSP network camera
2 février 2015, par UncleChrisI’m using JavaCV FFmpegFrameGrabber to grab frames from my network camera through RTSP protocol. Simplified code looks like this :
/* from ini method */
// url like: rtsp://ip:port/stream1
grabber = new FFmpegFrameGrabber(stream.getUrl());
// type: RTP
grabber.setFormat(stream.getMediaType());
grabber.start();
/* it's called in while loop from outside */
public void grab() throws FrameProcessorsException {
try {
LOGGER.info(grabber.getFrameNumber());
frame = grabber.grab();
} catch (FrameGrabber.Exception e) {
throw new FrameProcessorsException(e);
}
// I save my frames to other grabber, to make mp4 file to watch it later
try {
videoRecorder.recordFrame(frame, grabber.getTimestamp(), grabber.getImageWidth(), grabber.getImageHeight(), grabber.getAudioChannels());
} catch (FrameRecorder.Exception e) {
throw new FrameProcessorsException(e);
}
// my processing, the troublemaker
long currentFrameNum = grabber.getFrameNumber();
if (processing && currentFrameNum - lastFrameWithAnalysis >= PROCESS_FREQUENCY) {
lastFrameWithAnalysis = currentFrameNum;
Mat frameMat = new Mat(frame, false);
try {
LOGGER.info("Processing :" + grabber.getFrameNumber());
AnalysisResult result = frameAnalyzer.processFrame(frameMat, (int) currentFrameNum);
videoAnalysisSaver.saveFrameAnalysisResult(frameMat, result, (int) currentFrameNum);
} catch (ServerErrorException | NotExistException e) {
LOGGER.warn(e);
}In code You can see
processing
variable. If it’s set to false, I can watch my network streams on page with no problems. But if I set it to true, suddenly, I got visual artefacts, looking like this :http://answers.opencv.org/upfiles/1400931120927032.png
And also I can see some infos on my logs :
[libx264 @ 0x7fe2a7e2ae00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7fe2a7e2ae00] profile High, level 4.0
[libx264 @ 0x7fe2a7e2ae00] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1,00:0,00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=400 ratetol=1,0 qcomp=0,60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1,40 aq=1:1,00
[mp4 @ 0x7fe2909feee0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
2015-02-02 10:34:31,986 INFO [img.StreamGrabber] 6
2015-02-02 10:34:31,998 INFO [img.StreamGrabber] Processing :1
2015-02-02 10:34:32,881 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1524, 1564, 678, 718) is above threshold
2015-02-02 10:34:32,882 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1538, 1577, 678, 717) is above threshold
2015-02-02 10:34:32,884 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1320, 1420, 298, 398) is above threshold
2015-02-02 10:34:33,199 INFO [img.StreamGrabber] 1
2015-02-02 10:34:33,212 INFO [img.StreamGrabber] 2
2015-02-02 10:34:33,222 INFO [img.StreamGrabber] 3
2015-02-02 10:34:33,232 INFO [img.StreamGrabber] 4
2015-02-02 10:34:33,244 INFO [img.StreamGrabber] 5
2015-02-02 10:34:33,255 INFO [img.StreamGrabber] Processing :6
2015-02-02 10:34:33,870 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1537, 1578, 678, 719) is above threshold
2015-02-02 10:34:33,871 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1315, 1422, 298, 405) is above threshold
2015-02-02 10:34:34,318 INFO [img.StreamGrabber] 6
2015-02-02 10:34:34,338 INFO [img.StreamGrabber] 7
2015-02-02 10:34:34,347 INFO [img.StreamGrabber] 8
2015-02-02 10:34:34,357 INFO [img.StreamGrabber] 9
2015-02-02 10:34:34,368 INFO [img.StreamGrabber] 10
2015-02-02 10:34:34,379 INFO [img.StreamGrabber] Processing :11
2015-02-02 10:34:35,025 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1561, 1618, 477, 534) is above threshold
2015-02-02 10:34:35,027 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1318, 1421, 300, 403) is above threshold
2015-02-02 10:34:35,185 INFO [img.StreamGrabber] 11
2015-02-02 10:34:35,202 INFO [img.StreamGrabber] 12
2015-02-02 10:34:35,213 INFO [img.StreamGrabber] 13
2015-02-02 10:34:35,223 INFO [img.StreamGrabber] 14
2015-02-02 10:34:35,235 INFO [img.StreamGrabber] 15
2015-02-02 10:34:35,286 INFO [img.StreamGrabber] Processing :16
2015-02-02 10:34:35,952 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1429, 1470, 703, 744) is above threshold
2015-02-02 10:34:35,954 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1315, 1422, 295, 402) is above threshold
2015-02-02 10:34:36,218 INFO [img.StreamGrabber] 16
2015-02-02 10:34:36,237 INFO [img.StreamGrabber] 17
2015-02-02 10:34:36,246 INFO [img.StreamGrabber] 18
2015-02-02 10:34:36,257 INFO [img.StreamGrabber] 19
2015-02-02 10:34:36,268 INFO [img.StreamGrabber] 20
2015-02-02 10:34:36,279 INFO [img.StreamGrabber] Processing :21
2015-02-02 10:34:36,967 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1562, 1616, 480, 534) is above threshold
2015-02-02 10:34:36,968 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1314, 1420, 296, 402) is above threshold
2015-02-02 10:34:37,186 INFO [img.StreamGrabber] 21
2015-02-02 10:34:37,206 INFO [img.StreamGrabber] 22
2015-02-02 10:34:37,217 INFO [img.StreamGrabber] 23
2015-02-02 10:34:37,227 INFO [img.StreamGrabber] 24
[h264 @ 0x7fe2915b30a0] RTP: missed 1514 packets
[h264 @ 0x7fe2f1050ea0] Cannot use next picture in error concealment
[h264 @ 0x7fe2f1050ea0] concealing 4608 DC, 4608 AC, 4608 MV errors in P frame
2015-02-02 10:34:37,238 INFO [img.StreamGrabber] 25
2015-02-02 10:34:37,250 INFO [img.StreamGrabber] Processing :26
2015-02-02 10:34:37,944 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1562, 1616, 479, 533) is above threshold
2015-02-02 10:34:37,945 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1315, 1422, 297, 404) is above threshold
2015-02-02 10:34:38,107 INFO [img.StreamGrabber] 26
[h264 @ 0x7fe2915b30a0] RTP: missed 295 packets
[h264 @ 0x7fe2a5713e00] Cannot use next picture in error concealment
[h264 @ 0x7fe2a5713e00] concealing 1996 DC, 1996 AC, 1996 MV errors in P frame
2015-02-02 10:34:38,120 INFO [img.StreamGrabber] 27
2015-02-02 10:34:38,130 INFO [img.StreamGrabber] 28
2015-02-02 10:34:38,143 INFO [img.StreamGrabber] 29
2015-02-02 10:34:38,231 INFO [img.StreamGrabber] 30
2015-02-02 10:34:38,249 INFO [img.StreamGrabber] Processing :31
2015-02-02 10:34:38,962 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1170, 1211, 322, 363) is above threshold
2015-02-02 10:34:38,964 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1316, 1421, 298, 403) is above threshold
2015-02-02 10:34:39,329 INFO [img.StreamGrabber] 31
[h264 @ 0x7fe2915b30a0] RTP: missed 232 packets
[h264 @ 0x7fe2a4203d80] Cannot use next picture in error concealment
[h264 @ 0x7fe2a4203d80] concealing 1142 DC, 1142 AC, 1142 MV errors in P frame
2015-02-02 10:34:39,342 INFO [img.StreamGrabber] 32
2015-02-02 10:34:39,352 INFO [img.StreamGrabber] 33
[h264 @ 0x7fe2915b30a0] RTP: missed 1 packets
[h264 @ 0x7fe2915b43c0] corrupted macroblock 86 67 (total_coeff=-1)
[h264 @ 0x7fe2915b43c0] error while decoding MB 86 67
[h264 @ 0x7fe2915b43c0] Cannot use next picture in error concealment
[h264 @ 0x7fe2915b43c0] concealing 83 DC, 83 AC, 83 MV errors in P frame
2015-02-02 10:34:39,362 INFO [img.StreamGrabber] Processing :144
2015-02-02 10:34:40,071 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1563, 1614, 480, 531) is above threshold
2015-02-02 10:34:40,074 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1318, 1423, 296, 401) is above threshold
2015-02-02 10:34:40,462 INFO [img.StreamGrabber] 144
2015-02-02 10:34:40,482 INFO [img.StreamGrabber] 145
[h264 @ 0x7fe2915b30a0] RTP: missed 377 packets
[h264 @ 0x7fe2a515baa0] Cannot use next picture in error concealment
[h264 @ 0x7fe2a515baa0] concealing 6822 DC, 6822 AC, 6822 MV errors in P frame
2015-02-02 10:34:40,494 INFO [img.StreamGrabber] Processing :167
2015-02-02 10:34:41,222 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1563, 1615, 479, 531) is above threshold
2015-02-02 10:34:41,230 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1319, 1421, 295, 397) is above threshold
2015-02-02 10:34:41,930 INFO [img.StreamGrabber] 167
2015-02-02 10:34:41,947 INFO [img.StreamGrabber] 168
2015-02-02 10:34:41,958 INFO [img.StreamGrabber] 169
2015-02-02 10:34:41,970 INFO [img.StreamGrabber] 170
2015-02-02 10:34:41,985 INFO [img.StreamGrabber] 171
[h264 @ 0x7fe2915b30a0] RTP: missed 311 packets
[h264 @ 0x7fe2f10506c0] Cannot use next picture in error concealment
[h264 @ 0x7fe2f10506c0] concealing 1409 DC, 1409 AC, 1409 MV errors in P frame
2015-02-02 10:34:41,997 INFO [img.StreamGrabber] Processing :190
2015-02-02 10:34:42,715 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1322, 1384, 340, 402) is above threshold
2015-02-02 10:34:42,717 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1312, 1425, 290, 403) is above threshold
2015-02-02 10:34:42,929 INFO [img.StreamGrabber] 190
[h264 @ 0x7fe2915b30a0] RTP: missed 13 packets
[h264 @ 0x7fe2f1050ea0] Cannot use next picture in error concealment
[h264 @ 0x7fe2f1050ea0] concealing 6489 DC, 6489 AC, 6489 MV errors in P frame
2015-02-02 10:34:42,943 INFO [img.StreamGrabber] 191
[h264 @ 0x7fe2915b30a0] RTP: missed 484 packets
[h264 @ 0x7fe2915b43c0] concealing 6609 DC, 6609 AC, 6609 MV errors in I frame
2015-02-02 10:34:42,957 INFO [img.StreamGrabber] 192
2015-02-02 10:34:42,970 INFO [img.StreamGrabber] 193
[h264 @ 0x7fe2915b30a0] RTP: missed 313 packets
[h264 @ 0x7fe2a51a0fc0] Cannot use next picture in error concealment
[h264 @ 0x7fe2a51a0fc0] concealing 1666 DC, 1666 AC, 1666 MV errors in P frame
2015-02-02 10:34:43,271 INFO [img.StreamGrabber] 194
2015-02-02 10:34:43,314 INFO [img.StreamGrabber] Processing :249
2015-02-02 10:34:44,099 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1322, 1384, 340, 402) is above threshold
2015-02-02 10:34:44,100 INFO [img.analysis.face.PersonFaceRecognizer] Predicted face (1313, 1403, 300, 390) is above threshold
2015-02-02 10:34:45,473 INFO [img.save.event.EventMaker] Creating 1 face recognition events
2015-02-02 10:34:45,618 INFO [core.task.StreamRecordingTaskExecutor] Stream recording task ended: rtsp://MYURLMy guess is, that my computer is simply too busy to catch all packages from camera stream. I’m operating on two streams, one is low quality with like 3 fps, and other is 30. Of course problems show up all the time on fast one, and rarely on slow stream.
I’m wondering if there is possibility to force somehow FFmpegFrameGraber not to create artifacts, but simply drop current frame and go to next one ? Fps and frame continuity is not so important. I was trying to use grabber’s setfps, settimestamp, delayedGrab method’s to somehow slow down 30-fps stream, but it didn’t even react to that. I’m sure I’m doing something wrong.I’ve found some topics related to my problem, but they did not helped me, maybe You will see more :
http://answers.opencv.org/question/34012/ip-camera-h264-error-while-decoding/
How to deal with cv::VideoCapture decode errors ?
http://superuser.com/questions/663928/ffmpeg-to-capture-stills-from-h-264-streamThank You for Your help.