-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion while playing RTSP stream. #129
Comments
works fine for me |
Ok, Do you have Qt 5.1 or 5.2 ? or other version ? Thanks, |
5.2. What about you? |
I'm using Qt 5.1 so i'll try to update QT to 5.2 version. |
Hi again :) I installed Qt 5.2. I'll try to use your last uploaded version of binaries of QtAv (msvc 2013) and after a couple of seconds, the result is a crash. As you can see, the program crash. May it's because of windows 8, may it's because the link i gave you is a mp4 video format (avc, aac), i don't understand :( If you don't have the problem, it will be hard to resolve it :( Thanks, |
I use win8 too. Is the video same as the link you post here? |
Hi, Yes i tested with the same link. See by yourself:
It seems an assertion occured ! PS: i tried with VLC media player, and the url works great. Thanks, |
May it's because of ffmpeg... i'll try to use another version.. |
I see. Current solution is disable hardware decoding. You can uncheck DXVA in player. Hardware decoding is not quite stable. It can work fine for most video. I have this assertion for some video. |
not ffmpeg fault. |
Ok i'll try |
Sorry but unfortunately, this is not DXVA, the player still crash after a couple of seconds. |
There is a loop of audio thread a the end. (afteryour library decided to stop the thread) |
It's strange. I have no idea now. Can you try ffplay or mplayer? |
I'll try. I must build your library with mplayer or ffplay libraries, or i just have to install them and try with your player ? |
Ok i just tried ffplay. It works well, so you were right, it's not ffmpeg oO |
It's strange because you are using ffmpeg.... how can i disable dxva in my application ? (with code) |
AVPlayer::setPriority(const QVector& ids); In my player, open "Decoder" menu, then uncheck dxva |
I just noticed something.
and your logs write:
And the assertion is in the libavutil library as:
Is there a version issue ? Yes for your player, don't worry, i already did it xD Thanks, |
The packages I uploaded to sourceforge have right version. If the version mismatch, you can see red text warning about runtime version in "About" dialog's ffmpeg page. I think there are some mistakes in my player and result in a crash |
Ok :) |
I just built your library again but i commented this in the pro file, so i think i disabled the dxva:
The error occurs again. I don't know what i could do now :( just wait for next version may be.
but i just build it with:
may it's just a display error. But if this can be my solution ... :D Thanks :/ |
You are not build the version that ffmpeg show.. Did you set the environment correctly? |
yes oO, i have only one version of ffmpeg-dev on my computer, it's strange... Thanks for your help, i hope my issue with rtsp protocol will be resolved quickly :( Thanks for your help :/ |
That's ok, i finally successfully change version (it was a bad dll) but the problem persist, so i just wait. Thanks, |
I have a good news xD, with the last version of ffmpeg and the DXVA disabled, your library don't crash anymore :) |
the package is build with ffmpeg 2.1.1, the latest release. you are using ffmpeg from git? what about your dxva? can not compile? |
Yes, this is a nightly build :) of ffmpeg |
you can build with dxva and disable at runtime or in your code |
Yes sure :p, it's just to be sure (i'm too prudent) |
I think dvxa crashes when rtsp (rtp behind with udp packets) lose packets and some parts of the video are invalid. We can see display errors due to the missing packets. I hope to help :p |
Yes. It helps. You are right i think. Hardware decoding must decode a key frame(I frame) first then other types. The released QtAV 1.3.0 often crash when seeking and using dxva, with the same reason. I fixed it. But it not works for network stream now. : ) |
Oki nice :) xD, thanks |
Hello, Have you resolved or trying to resolve this issue please ? Because i already use QtAV in a big project, i hope this feature works since i really need it. Thanks for your patience |
FFmpeg AVPacket has a flag, can be AV_PKT_FLAG_CORRUPT. I find vlc has a similar flag called BLOCK_FLAG_CORRUPTED, vlc does not decode such packets. So I think it is the solution. I will try it soon. |
try the latest code. see a968f20 |
I have not test environment. so you may try yourself and tell me the result |
Cool, i'll try today and i ll tell you the result |
Oh that seems working well !! Thanks u so much !! |
Hello,
There is an assertion error when i use YOUR player exemple to play an rtsp url. See by yourself: rtsp://******-
When i try to read this url, i have this message:
The sound keep playing but there is no image until i click on [OK] then the program exits.
In my own application in Debug mode, the message is:
Thanks,
The text was updated successfully, but these errors were encountered: