PDA

View Full Version : MFC - rtmpdump, corrupted files


fux0rz
11-16-2013, 03:35 AM
I'm capping MFC with rtmpdump, but half the time the streams are corrupt, and the resulting files can't be fixed.

I've also tried piping the rtmpdump output to ffmpeg, and found that ffmpeg can't detect the audio stream especially on HD cams resulting in corrupt files. I've tried playing with -probesize -analyzeduration -skip_initial_bytes etc but they don't seem to fix the problem.

I've tried various tools to fix the corrupt flv's(KSV script, rmc fixer flv extract, reencoding with ffmpeg etc) , but they all spit out a small file for example, the original broken file is 20mb/6 minutes long, the "fixed" versions are 4 secs and 100kb long.


I'm using ffmpeg version 1.2.4 & rtmpdump 2.4 , tried both the the official sources & the git/svnpenn sources.

Can anybody help, point me in the right direction?



Thanks

KSV
11-16-2013, 08:03 AM
have you tried with my version (https://github.com/K-S-V/Scripts/releases)?

fux0rz
11-16-2013, 09:08 AM
No I found your github but couldn't find your version of rtmpdump, only scripts.

I'll apply your patch and see how it goes.

Thanks.

fux0rz
11-17-2013, 09:58 AM
have you tried with my version (https://github.com/K-S-V/Scripts/releases)?

I've been using your patch since yesterday, works without fail and produces flawless files.

Thank you for your great work.