[Libav-user] MOV and custom IO

2012-07-22 Thread David Rodrigues
Hi everyone. I've written some code to change the video container from MOV to MPEG-TS using ffmpeg API successfully. I'm using physical files. Now i have to change my input from file to custom IO. I changed the code for use custom IO with a callback (read_packet_callback) to feed ffmpeg. fmtC

[Libav-user] MOV and custom IO

2012-07-22 Thread David Rodrigues
Hi everyone. I've written some code to change the video container from MOV to MPEG-TS using ffmpeg API successfully. I'm using physical files. Now i have to change my input from file to custom IO. I changed the code for use custom IO with a callback (read_packet_callback) to feed ffmpeg. fmtC

Re: [Libav-user] MOV and custom IO

2012-07-22 Thread Carl Eugen Hoyos
David Rodrigues writes: > When i run the code the function avformat_open_input blocks, it > reads N chunks of data but don't terminate with or without error. > This happens with MOV format. I've tried using MPEG-TS format and > this code runs successfully. This may be irrelevant but does your

Re: [Libav-user] MOV and custom IO

2012-07-22 Thread David Rodrigues
Thanks! The problem was on seeking, you are absolutely right MOV files require this capability. David Rodrigues A 22/07/2012, às 14:19, Carl Eugen Hoyos escreveu: > David Rodrigues writes: > >> When i run the code the function avformat_open_input blocks, it >> reads N chunks of data but don'