- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sir,
We playback the h264 video file by msdk, the video always has damages, but we playback with ffplay and gstreamer without any video damage, maybe we need add some setting on MSDK.
Thanks
Michael Wu
(1) Test Video test_fps_30_playback.h264
(2) Test Environment
CPU: Intel(R) Atom(TM) Processor E3950 @ 1.60GHz
VA-API version 1.8.0
MediaSDK version 1.34
5.4.0-56-generic #62~18.04.1-Ubuntu x86_64 x86_64 x86_64 GNU/Linux
(3) Test Cmd
1. msdk
michaelwu@michaelwu-Broxton-P:/mnt/nfsshare/atom_rebuild/msdk_ori/build$ __bin/release/sample_decode h264 -hw -vaapi -window 1970 100 1820 980 -i test_fps_30_playback.h264 -calc_latency -r
2. gstreamer
gst-launch-1.0 filesrc location=./test_fps_30_playback.h264 ! video/x-h264 ! h264parse ! avdec_h264 ! videoconvert ! videorate ! video/x-raw,framerate=30/1 ! autovideosink
3. ffmpeg
ffplay test_fps_30_playback.h264
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Michael,
Although you have solved the problem by fixing your library, the problem still exists: how can Media SDK handle a broken stream, dev team had a reference article in the reference guide:
https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#broken-streams-handling
I hope this will help you in your future product development.
Mark Liu
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
Thank you for posting in Intel forums.
We could observe a similar issue when we tried the steps provided using same input file in Windows. We are checking with the concerned team regarding this. Will get back to you soon on the updates.
Raeesa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are forwarding this case to subject matter experts. Thank you for your patience.
Raeesa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Michael,
Thanks for the question and it seems like you are testing our tool for a solid product.
It is understandable that our API should be handle corrupted videos and recover from it. Unfortunately our sample_decode seems not design for this kind of use case.
To help you with the problem, I will contact with dev team. But I think your basic request is,
- Do we have a sample to show the recovery algorithm?
- If not, how can we use the Media SDK API to hand the recovery from the corrupted videos?
Can you confirme?
I believe you are using a corrupted video since even I can see the successful playback from FFmpeg, it also reported errors at the failure frames where the Media SDK failed.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mark,
"Do we have a sample to show the recovery algorithm? "
===> Yes
The video maybe distortion for some reasons, we hope the MSDK can do recovery or decode them like ffmpeg or gstreamer
Thanks
Michael Wu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Michael,
Let me submit a request to dev team.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mark,
We got some internal libraries, we have found the root caused and fixed our issue.
So you don't need provide us the recovery algorithms or do any modified of MSDK.
Thanks for your kindly support.
Michael Wu : )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Michael,
Although you have solved the problem by fixing your library, the problem still exists: how can Media SDK handle a broken stream, dev team had a reference article in the reference guide:
https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#broken-streams-handling
I hope this will help you in your future product development.
Mark Liu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mark,
Thank you for your information,
this reference guide is valuable for us in our product development.
Thank you for your help.
Michael Wu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Michael,
Good to know you have solve this.
Let me close it.
Mark
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page