PDA

View Full Version : Why are some files soo large when using rtmpdump?


korexaj
12-06-2017, 04:58 PM
I have noticed that rtmpdump uses crazy amount of storage compared to other recording methods. e.g.

I was recording a stream using ffmpeg (for chaturbate) and after a while i thought i should record using rtmpdump to see difference in size.

The results are that the recording using ffmpeg came to around 300Mb (36min long) in 720p whereas when using rmtpdump the exact same stream came to around 900Mb and was 23min long because both werent started at same time.

So why a HUGE difference in size?

j_cool
12-06-2017, 06:05 PM
ffmpeg does not work for rtmp streams on chaturbate. If you got that working, I would like to hear how.

I can record CB hls streams with ffmpeg, but still prefer rtmpdump to get flv file.


ffmpeg:


ffmpeg.exe -i "https://edge60.stream.highwebmedia.com/live-edge/amlst:aalliyahh-sd-3567994de62294038d27c9b7680f7d8e4e7ae9203f3ac912ab d2993f4e0e786c_trns_h264/playlist.m3u8" -c copy c:\aalliyahh_2017.12.07_00.51.53.944.ts



rtmpdump:


rtmpdump.exe -v -r "rtmp://edge36.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 26,0,0,151" -W "https://chaturbate.com/static/flash/CBV_2p680.swf" -p "https://chaturbate.com/aalliyahh/" -C S:***** -C S:aalliyahh -C S:2.680 -C S:*****71f9ed644700489146f67c1a8e60b1e2ec47d9ca92b e44319a94be9c07623967f94d97042b87f795abf81d1f2fe9a fed0d8df29862cf208ae797768e433 -C S:*****f2337c0e8cc451a3c501564e164370953a1e09d4116 065457ff1bdca824 -y "mp4:wowz://origin36.stream.highwebmedia.com/live-origin/aalliyahh-sd-*****58103439c905a653db090179c3e4b80c402d379875cd9 83497e18baf79d_trns_h264_480p" -o "c:\aalliyahh_2017-12-07_00-52-04-666.flv"


After 10 min. of recording my flv file appears to be two times smaller than my ts file. Resolution is the same, 640 x 480.


C:\>dir *.*
Volume in drive C has no label.
Volume Serial Number is 2C43-361G

Directory of C:\

07/12/2017 01:02 49,664,120 aalliyahh_2017-12-07_00-52-04-666.flv
07/12/2017 00:51 89,915,392 aalliyahh_2017.12.07_00.51.53.944.ts

korexaj
12-06-2017, 06:42 PM
sorry i meant that the ffmpeg uses the hls stream whereas rtmpdump uses the rtmp streams. for me the files are alot smaller when using hls streams (via ffmpeg). i prefer rtmpdump due to less errors but man the thing is eating up my hard drive like there is no tomorrow

few things i'd like to mention are that comparing your command with mine, "-f" parameter is missing on mine and also i'm using "mp4:rtmp" whereas you're using "mp4:wowz"

are you using any specific script? not that the scipt should effect the file size

j_cool
12-06-2017, 07:10 PM
for /f %%a in ('clblow.exe') do set model=%%a
title RDUMP_CHATURBATE %model%
:START
for /f %%b in ('dt.exe') do set d=%%b

rtmpdump.exe -v -r "rtmp://edge36.stream.highwebmedia.com/live-edge" ^
-a "live-edge" ^
-f "WIN 26,0,0,151" ^
-W "https://chaturbate.com/static/flash/CBV_2p680.swf" ^
-p "https://chaturbate.com/%model%/" ^
-C S:***** ^
-C S:%model% ^
-C S:2.680 ^
-C S:*****71f9ed644700489146f67c1a8e60b1e2ec47d9ca92b e44319a94be9c07623967f94d97042b87f795abf81d1f2fe9a fed0d8df29862cf208ae797768e433 ^
-C S:*****f2337c0e8cc451a3c501564e164370953a1e09d4116 065457ff1bdca824 ^
-y "mp4:wowz://origin36.stream.highwebmedia.com/live-origin/%model%-sd-*****58103439c905a653db090179c3e4b80c402d379875cd9 83497e18baf79d_trns_h264_480p" ^
-o "c:\%model%_%d%.flv"
FOR %%I in (c:\%model%_%d%.flv) do if %%~zI LSS 14 del "%%I"

sleep 60
goto START

j_cool
12-07-2017, 04:05 AM
I actually get .flv file with ffmpeg as well, just for the sake of test I ran one .ts line to show the difference.

Instead of: -c copy c:\model.ts, I do: -c:v copy -c:a aac c:\model.flv,

and then my .flv file I made with ffmpeg is of the same size like .flv file I made with rtmpdump.



$model = $CmdLine[1]
runwait('cmd.exe /c curl.exe -v -k https://chaturbate.com/' & $model & '/ | CLIP','',@SW_HIDE,'')
$sData = ClipGet()
$sData = StringTrimLeft($sData,StringInStr($sData,"initHlsPlayer(jsplayer, 'https://")+24)
$sData = StringTrimRight($sData,(StringLen($sData)-3)-StringInStr($sData,'m3u8'))
$dtime = @YEAR & '-' & @MON & '-' & @MDAY & '_' & @HOUR & '-' & @MIN & '-' & @SEC & '-' & @MSEC
runwait('cmd.exe /c ffmpeg.exe -i "' & $sData & '" -c:v copy -c:a aac c:\' & $model & '_' & $dtime & '.flv','',@SW_SHOW)

korexaj
12-07-2017, 08:41 AM
I actually get .flv file with ffmpeg as well, just for the sake of test I ran one .ts line to show the difference.

Instead of: -c copy c:\model.ts, I do: -c:v copy -c:a aac c:\model.flv,

and then my .flv file I made with ffmpeg is of the same size like .flv file I made with rtmpdump.



its weird but i will try playing around with the parameters to see what is causing this. its definitely not normal to have same stream like 2/3 times larger.

maitrang7995
12-08-2017, 02:17 AM
I have noticed that rtmpdump uses crazy amount of storage compared to other recording methods. e.g. I was recording a stream using ffmpeg (for chaturbate) and after a while i thought i should record using rtmpdump to see difference in size. The results are that the recording using ffmpeg came to around 300Mb (36min long) in 720p whereas when using rmtpdump the exact same stream came to around 900Mb and was 23min long because both werent started at same time. So why a HUGE difference in size? Cá??m ??n bá??n Ä‘?? chia sá?»!

cabulo
12-08-2017, 06:27 AM
Cá??m ??n bá??n Ä‘?? chia sá?»!

maitrang,

after having a look at a number of your posts on this forum I wonder how much educated are you ?

You appear to be behind vietnamese travel agency with only a year of schooling or so.

You are on an international forum writing some local language, so give as at least a photograph
to see what is your post all about.

Damianonymous
12-09-2017, 04:25 AM
@cabulo, these are the spam bots :p There are hundreds of them here :D

wizard
12-09-2017, 05:10 AM
@cabulo, these are the spam bots :p There are hundreds of them here :D

And all of them are added to my "ignore user" list. I am updating it regularly on a daily base :D :D :D

korexaj
12-09-2017, 10:22 AM
And all of them are added to my "ignore user" list. I am updating it regularly on a daily base :D :D :D

does this site even have admin/mod?

wizard
12-09-2017, 03:02 PM
does this site even have admin/mod?

Yes it does. Comes here once a year. looool

Should have but I don't remember when was the last time i saw them...

j_cool
12-09-2017, 04:19 PM
This thread was cleared a few days ago:

http://stream-recorder.com/forum/wvdownloader-tool-version-1-9-2-t23578.html

Maybe rtmp and webcams are not the greatest topic for admin.

Damianonymous
12-10-2017, 01:32 AM
I remember that on some topic of the WVDownloader Tool version, I sent fraud reports, maybe that's how you can count on the admin's response.

wizard
12-10-2017, 01:32 AM
Maybe you are right.

However, back some time I was sending report of each spam post for 2 or 3 months, every single day. And even so, those posts haven't been removed. Also, a year back or a bit more, I was sending 2 pm's to the mods/admins and never got a single reply. As a mod/admin at least you can do is to delete spam posts if you already have them reported not having to lose time on browsing and reading the board in general (which as a mod I am doing at some other boards...)

Anyway, that's why I gave up of everything and simply started to add spammers to ignore list...