Hello,
I understand that the decode demo application in the DVSDK for DM368 is made for reading video(audio too) from a file and displaying it on various display devices. I am trying to use the decode application to view a network stream. My plan to receive stream with one application and pipe the video data to the decode application. In the process i found that while reading from the named pipe, the application crashes.
What works
==========
root@dm368-evm:~# ./decode -y2 -v video.h264
What does'nt work
=================
root@dm368-evm:~# mkfifo vpipe.h264
root@dm368-evm:~# cat video.h264 > vpipe.h264 &
root@dm368-evm:~# ./decode -y2 -v vpipe.h264
Extension = .h264
Decode demo started.
decode: ce/Vdec2.c:114: Vdec2_process: Assertion `Buffer_getNumBytesUsed(hInBuf)' failed.
Aborted
Does anyone know why this happens and how to fix this?
Thanks and regards,
Anand Mistry