2013/9/8 Luca Barbato <[email protected]>: > On 07/09/13 20:31, Luca Barbato wrote: >> On 07/09/13 20:12, Yukinori Yamazoe wrote: >>> 2013/9/3 Luca Barbato <[email protected]>: >>>> >>>> The line >>>> + AVFrame *workframe = outsurf->Data.MemId; >>>> Does not compile for obvious reasons. >>>> >>>> >>>> The way you are doing was deemed impossible due the fact the system memory >>>> would be mapped somehow when using hw decoding, how did you test this >>>> change? >>>> >>>> Maxim is on vacation till the next week so we can't ask him today =/ >>>> >>> >>> I am bad. I did not notice error on gcc. >> >> No problem, the review process is here to catch those issues =) >> >>> I compile by MSVC2010+c99wrap and test on Windows 7 x64 SP1. >>> Because MinGW gcc/ld couldn't link mfx library on my environment. >>> I can not link, but I'll check that to be compiled by gcc. >> >> https://github.com/lu-zero/mfx_dispatch/ builds with gcc just fine =) >> > > btw, how did you test your changes? > > My current code works fine with avplay (on github the patches to force > decoding), your update seems to not provide the correct timestamps. >
Sorry, I had not test with avplay. I had test with avconv. avconv -c:v h264_qsv -i "h264.mp4" -c:v mpeg2video output.mpg avconv -c:v h264_qsv -i "h264.ts" -c:v mpeg2video output.mpg avconv -c:v mpeg2_qsv -i "h262.ts" -c:v mpeg2video output.mpg avconv -c:v mpeg2_qsv -i "h262.mpg" -c:v mpeg2video output.mpg Thanks for letting me know mfx_dispatch. I could build avconv and avplay with gcc because I built mfx_dispatch and sdl. I tested with avplay. My code didn't work fine with avplay. I corrected timestamps in new patch. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
