Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (Adult streaming videos) (http://stream-recorder.com/forum/forumdisplay.php?f=40)
-   -  

ffmpeg - Video Quality issue

(http://stream-recorder.com/forum/showthread.php?t=19724)

snasdkind 05-06-2015 04:39 PM

ffmpeg - Video Quality issue


 
Hey guys,

i've got a problem with a paysite. On asiansexdiaries, there are so many nice videos i'd like to download. After hours of research and trying, i now found out that it (generally) is possible to download the vids with ffmpeg.


I use following commandline:
ffmpeg -i "http://stream.globetwatters.net:1935/vod/_definst_/006_ASD_shipei_isback/smil:006_ASD_shipei_isback.smil/chunklist_w817876856_b3652608_sleng.m3u8" Vid6.ts

Download with this works, but unfortunately, video quality is very lossy (even with 1920x1080 resolution).

This is what ffmpeg gives me out:
Input #0, hls,applehttp, from 'http://stream.globetwatters.net:1935/vod/_definst
_/006_ASD_shipei_isback/smil:006_ASD_shipei_isback.smil/chunklist_w817876856_b36
52608_sleng.m3u8':
Duration: 00:30:35.88, start: 0.000000, bitrate: 0 kb/s
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Data: timed_id3 (ID3 / 0x20334449)
Stream #0:1: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080
[SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc

Stream #0:2: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, flt
p, 4 kb/s
Output #0, mpegts, to 'Vid6.ts':
Metadata:
encoder : Lavf56.31.102
Stream #0:0: Video: mpeg2video, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-3
1, 200 kb/s, 29.97 fps, 90k tbn, 29.97 tbc

Metadata:
encoder : Lavc56.37.100 mpeg2video
Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
Metadata:
encoder : Lavc56.37.100 mp2
Stream mapping:
Stream #0:1 -> #0:0 (h264 (native) -> mpeg2video (native))
Stream #0:2 -> #0:1 (aac (native) -> mp2 (native))
Press [q] to stop, [?] for help
frame= 18 fps=0.0 q=31.0 size= 424kB time=00:00:00.63 bitrate=5448.1kbits/
frame= 43 fps= 42 q=31.0 size= 649kB time=00:00:01.45 bitrate=3658.7kbits/
frame= 49 fps= 31 q=31.0 size= 759kB time=00:00:01.66 bitrate=3724.0kbits/
frame= 51 fps= 31 q=31.0 Lsize= 831kB time=00:00:01.71 bitrate=3963.2kbits
...................

and so on...

What does this mean and where's the error? Is the input bitrate too low or the output? And how can I change?

Any ideas?

nullacht 05-06-2015 11:05 PM

Re: ffmpeg - Video Quality issue


 
Output log indicates that ffmpeg reencodes the video. Avoid that by adding "-c copy" to your command line.

snasdkind 05-07-2015 11:59 AM

Re: ffmpeg - Video Quality issue


 
Hey nullacht (and others);)

unfortunately, this does not help... seems to me as there's a problem with bitrate (either incoming from stream or encoding). It says something from "90k" and "1200k". Can I cnagne this somehow?

snasdkind 05-07-2015 12:30 PM

Re: ffmpeg - Video Quality issue


 
damn i was wrong... put the "-c copy" at the wrong position in command line... now

it's working

Thanksss so much dude! You made my day ;)


All times are GMT -6. The time now is 02:59 PM.