Convert file to bitstream and send thru serial port
Posted on 2003-03-30
I am to read a m2v file and send it thru serial port. The mpeg2decoder that i am using reads a bunch of bytes at a time( say n) . I want to read the m2v file 'n' bytes at a time and then send it thru a serial port to an FPGA board where a decoder will be running. How should i go about it ?
(1) I am facing problems in reading a file in 'n' bytes at a time.
(2) Even if i am successful in doing that, how do i send it thru a serial port (say a modem port coneected to an FPGA)
Thanx in advance. Help me out pls.
Email : email@example.com