librtmp crash when streaming to youtube direct (using ffmpeg)
Streaming to youtube direct using ffmpeg -i input.flv -c copy rtmp:// make ffmpeg crash, just after a change in chunk size.
I was able to fix the issue by:
- Updating librtmp to the latest git (20151223)
- Removing the fix-chunk-size patch.
The patch seems to change the chunk size of a packet in treatment,
corrupting it and creating an “Unable to read packet header” in
Since, AFAIK, it’s only an optimization and not fixing anything, I removed it.
(from redmine: issue id 6127, created on 2016-09-08, closed on 2016-09-23)
- Revision 69bc1623 by Timo Teräs on 2016-09-09T16:27:10Z:
main/rtmpdump: update upstream snapshot, fix chunk size patch fixes #6127
- Revision acf37637 by Timo Teräs on 2016-09-09T16:29:14Z:
main/rtmpdump: update upstream snapshot, fix chunk size patch fixes #6127 (cherry picked from commit 69bc162319b12e9b6c6d3ea345dbf7c218753594)