Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 12-06-2017, 05:58 PM
korexaj korexaj is offline
Member
 
Join Date: Feb 2017
Posts: 63
korexaj is on a distinguished road
Default

Why are some files soo large when using rtmpdump?


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?
Reply With Quote
  #2  
Old 12-06-2017, 07:05 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Why are some files soo large when using rtmpdump?


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:

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

rtmpdump:

Code:
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:*****71f9ed644700489146f67c1a8e60b1e2ec47d9ca92be44319a94be9c07623967f94d97042b87f795abf81d1f2fe9afed0d8df29862cf208ae797768e433 -C S:*****f2337c0e8cc451a3c501564e164370953a1e09d4116065457ff1bdca824 -y "mp4:wowz://origin36.stream.highwebmedia.com/live-origin/aalliyahh-sd-*****58103439c905a653db090179c3e4b80c402d379875cd983497e18baf79d_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
Reply With Quote
  #3  
Old 12-06-2017, 07:42 PM
korexaj korexaj is offline
Member
 
Join Date: Feb 2017
Posts: 63
korexaj is on a distinguished road
Default

Re: Why are some files soo large when using rtmpdump?


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
Reply With Quote
  #4  
Old 12-06-2017, 08:10 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Why are some files soo large when using rtmpdump?


Code:
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:*****71f9ed644700489146f67c1a8e60b1e2ec47d9ca92be44319a94be9c07623967f94d97042b87f795abf81d1f2fe9afed0d8df29862cf208ae797768e433 ^
-C S:*****f2337c0e8cc451a3c501564e164370953a1e09d4116065457ff1bdca824 ^
-y "mp4:wowz://origin36.stream.highwebmedia.com/live-origin/%model%-sd-*****58103439c905a653db090179c3e4b80c402d379875cd983497e18baf79d_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
Reply With Quote
  #5  
Old 12-07-2017, 05:05 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Why are some files soo large when using rtmpdump?


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.


Code:
$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)
Reply With Quote
  #6  
Old 12-07-2017, 09:41 AM
korexaj korexaj is offline
Member
 
Join Date: Feb 2017
Posts: 63
korexaj is on a distinguished road
Default

Re: Why are some files soo large when using rtmpdump?


Quote:
Originally Posted by j_cool View Post
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.
Reply With Quote
  #7  
Old 12-08-2017, 03:17 AM
maitrang7995 maitrang7995 is offline
Junior Member
 
Join Date: Nov 2017
Posts: 12
maitrang7995 is on a distinguished road
Default

Quote:
Originally Posted by korexaj View Post
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á?»!
Reply With Quote
  #8  
Old 12-08-2017, 07:27 AM
cabulo cabulo is offline
Senior Member
 
Join Date: Jan 2017
Posts: 102
cabulo is on a distinguished road
Default

Re: Why are some files soo large when using rtmpdump?


Quote:
Originally Posted by maitrang7995 View Post
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.
Reply With Quote
  #9  
Old 12-09-2017, 05:25 AM
Damianonymous Damianonymous is offline
Senior Member
 
Join Date: Jan 2017
Posts: 187
Damianonymous is on a distinguished road
Default

Re: Why are some files soo large when using rtmpdump?


@cabulo, these are the spam bots There are hundreds of them here
Reply With Quote
  #10  
Old 12-09-2017, 06:10 AM
wizard wizard is offline
Senior Member
 
Join Date: May 2015
Location: in your webcam
Posts: 118
wizard is on a distinguished road
Default

Re: Why are some files soo large when using rtmpdump?


Quote:
Originally Posted by Damianonymous View Post
@cabulo, these are the spam bots There are hundreds of them here
And all of them are added to my "ignore user" list. I am updating it regularly on a daily base
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:09 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons