So I've been trying to make a video player that plays video from the server, right now I wrote a simple code to play a video from the SD card.
but when it calls `avformat_find_stream_info()` It crashes, I can't seem to find any solutions about this and since I'm pretty new to C I don't have any idea about how to debug this.
I'm not sure what to provide, so I'll just upload my source files:
https://drive.google.com/file/d/1d3KAiimB_NMYpRa_kYzLXwi507tWygBJ/view?usp=sharing
`3dsconf_default` is configure script I used to compile FFMPEG. FFMPEG version is 4.3.
crash_dump_00000006.dmp file is a dump from a crash, I'm not sure what to do with this. GDB doesn't recognize this.
Openico3DS.3dsx file is the one I sent to my 3DS. I sent it via 3DSlink, if that helps.
I added a code that waits until user presses A before the code which causes the exception, so You'll have to press A to see exception.
You'll have to put nico.mp4 file to `/ts/nico.mp4` in your SD card to replicate the issue. I haven't checked other video type, but mp4 is the one I will use so I have to debug in this format.
If you're experienced at this kind of thing, please help me. It is so frustrating that I have no idea about what's going on, I can't even attempt to debug it.
EDIT: Here's the crash screen.
Stack dump is empty.
but when it calls `avformat_find_stream_info()` It crashes, I can't seem to find any solutions about this and since I'm pretty new to C I don't have any idea about how to debug this.
I'm not sure what to provide, so I'll just upload my source files:
https://drive.google.com/file/d/1d3KAiimB_NMYpRa_kYzLXwi507tWygBJ/view?usp=sharing
`3dsconf_default` is configure script I used to compile FFMPEG. FFMPEG version is 4.3.
crash_dump_00000006.dmp file is a dump from a crash, I'm not sure what to do with this. GDB doesn't recognize this.
Openico3DS.3dsx file is the one I sent to my 3DS. I sent it via 3DSlink, if that helps.
I added a code that waits until user presses A before the code which causes the exception, so You'll have to press A to see exception.
You'll have to put nico.mp4 file to `/ts/nico.mp4` in your SD card to replicate the issue. I haven't checked other video type, but mp4 is the one I will use so I have to debug in this format.
If you're experienced at this kind of thing, please help me. It is so frustrating that I have no idea about what's going on, I can't even attempt to debug it.
EDIT: Here's the crash screen.
Stack dump is empty.
Last edited by KokoseiJ,