<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello,</div><div><br></div><div>I'm continuing to write a guide about ffmpeg/libav and I just wrote <a href="https://github.com/leandromoreira/ffmpeg-libav-tutorial#chapter-2---remuxing">the remuxing</a> part and now I'm trying to make the same example but using avio to simulate a video from / to memory. I'm inspiring my code at the <a href="https://ffmpeg.org/doxygen/trunk/avio_reading_8c-example.html">official avio example</a>.</div><div><br></div><div>I'd like to ask for some help:<br><ul><li>When I ran the remuxing from mp4 to a fragmented mp4 it works but it shows a warning <b>"[mp4 @ 0x845140] track 1: codec frame size is not set" </b>why is that? why doesn't it happen when I do remuxing from MP4 to MPEGTS?<br></li><li><a href="https://github.com/leandromoreira/ffmpeg-libav-tutorial/commit/924126ec27a088a047ba33684203980853795621">The remuxing example with avio</a> - when I added the avio to simulate a buffered input it didn't work and it raised some errors <b>"[mov,mp4,m4a,3gp,3g2,mj2 @ 0xf00c40] stream 1, offset 0x30: partial file[mov,mp4,m4a,3gp,3g2,mj2 @ 0xf00c40] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1920x1080, 2151 kb/s): unspecified pixel formatConsider increasing the value for the 'analyzeduration' and 'probesize' options" </b>How can I fix this? Where can I see examples I can try to learn from? PS:<b> </b>I also didn't find any avio write example</li><li><a href="https://github.com/leandromoreira/ffmpeg-libav-tutorial#chapter-2---remuxing">The remuxing chapter</a> - any feedback would be greatly appreciated.</li></ul><div>Thanks<br></div></div></div></div></div>