Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
BugFix Report Large file problem "ERROR: Unexpected start of file, error in tag sizes, couldn't arrive at prevTagSize=0" #4695
Comments
|
This looks quite suspect - why are you distributing binaries instead of code? Please submit a bug report and patch (NOT binaries) to the rtmpdump project. |
|
I write a mail to the author but he didn't replay me. |
RtmpDump Version 2.4 Large File BugFix. "Unexpected start of file, error in tag sizes, couldn't arrive at prevTagSize=0"
When I using youtube-dl to download some video from website,I found that When the video file is very large like 4.48GB. RtmpDump will report error "ERROR: Unexpected start of file, error in tag sizes, couldn't arrive at prevTagSize=0"
So I download the source file,try and try again finally the project works, and then check and check again ... At last I figure out what's wrong with the program. In the last version seems trying to fix the large file problem using ftello instead of ftell .But the fseek function remains the same ,when execute fseek(file, 0, SEEK_END); size = ftello(file); Actually ftello(file) returns 0 to size.Finally I figure out the bug is that replace all fseek with fseeko to deal with large file problem.
goto this git for detail
Edit by @phihag: Snip link (see below)*