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 > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-06-2016, 07:21 AM
maledom maledom is offline
Junior Member
 
Join Date: Sep 2016
Posts: 1
maledom is on a distinguished road
Default

Low FPS when restreaming


Hello
Im officially out of ideas.
I'm trying to restream something and the FPS on the command using FFmpeg is way to low, The weird thing is when i try and save it locally instead of restreaming it the FPS is fine.

Really hope someone can help:

Code:
C:\xxx\xxxx\Desktop\xxxx>ffmpeg -i "http://samplelink.com" -acodec aac -vcodec copy -bsf
:a aac_adtstoasc -f flv "rtmp://xx.xxx.xxx.xx/live/test"
ffmpeg version N-81550-g443c9fa Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dx
va2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-lib
ebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --ena
ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfree
type --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enab
le-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib
openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschr
oedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheor
a --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvo
rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --ena
ble-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --e
nable-decklink --enable-zlib
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.102 / 57. 54.102
  libavformat    57. 48.102 / 57. 48.102
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 60.100 /  6. 60.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
[aac @ 00000000036dafe0] element type mismatch 1 != 0
[aac @ 000000000373e4e0] element type mismatch 1 != 0
Input #0, hls,applehttp, from 'http://samplelink.com':
  Duration: 03:26:18.37, start: 18957.117022, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 380152
    Stream #0:0(en): Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 44100 Hz, ste
reo, fltp (default)
    Metadata:
      comment         : audio_en_0
    Stream #0:1: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p, 384x2
16 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc

    Metadata:
      variant_bitrate : 380152
  Program 1
    Metadata:
      variant_bitrate : 686752
    Stream #0:0(en): Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 44100 Hz, ste
reo, fltp (default)
    Metadata:
      comment         : audio_en_0
    Stream #0:2: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p, 512x2
88 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc

    Metadata:
      variant_bitrate : 686752
  Program 2
    Metadata:
      variant_bitrate : 993352
    Stream #0:0(en): Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 44100 Hz, ste
reo, fltp (default)
    Metadata:
      comment         : audio_en_0
    Stream #0:3: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x360 [
SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 993352
  Program 3
    Metadata:
      variant_bitrate : 1504352
    Stream #0:0(en): Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 44100 Hz, ste
reo, fltp (default)
    Metadata:
      comment         : audio_en_0
    Stream #0:4: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 768x432 [
SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 1504352
  Program 4
    Metadata:
      variant_bitrate : 2321952
    Stream #0:0(en): Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 44100 Hz, ste
reo, fltp (default)
    Metadata:
      comment         : audio_en_0
    Stream #0:5: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1024x576
[SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 2321952
  Program 5
    Metadata:
      variant_bitrate : 4161552
    Stream #0:0(en): Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 44100 Hz, ste
reo, fltp (default)
    Metadata:
      comment         : audio_en_0
    Stream #0:6: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720
[SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 4161552
  Program 6
    Metadata:
      variant_bitrate : 7227552
    Stream #0:0(en): Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 44100 Hz, ste
reo, fltp (default)
    Metadata:
      comment         : audio_en_0
    Stream #0:7: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080
 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 7227552
  Program 7
    Metadata:
      variant_bitrate : 65392
    Stream #0:0(en): Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 44100 Hz, ste
reo, fltp (default)
    Metadata:
      comment         : audio_en_0
    Stream #0:8: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo,
 fltp
    Metadata:
      variant_bitrate : 65392
[flv @ 00000000083cf4a0] Using AVStream.codec to pass codec parameters to muxers
 is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, flv, to 'rtmp://xx.xxx.xxx.xx/live/test':
  Metadata:
    encoder         : Lavf57.48.102
    Stream #0:0: Video: h264 (High) ([7][0][0][0] / 0x0007), yuv420p, 1920x1080
[SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 1k tbn, 90k tbc
    Metadata:
      variant_bitrate : 7227552
    Stream #0:1(en): Audio: aac (LC) ([10][0][0][0] / 0x000A), 44100 Hz, stereo,
 fltp, 128 kb/s (default)
    Metadata:
      comment         : audio_en_0
      encoder         : Lavc57.54.102 aac
Stream mapping:
  Stream #0:7 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[aac @ 000000000373e9a0] element type mismatch 1 != 0
    Last message repeated 1 times
[AVBSFContext @ 00000000003741c0] Input packet too small
[aac @ 000000000324a2a0] Failed to open bitstream filter aac_adtstoasc for strea
m 0 with codec aac: Invalid data found when processing input
[AVBSFContext @ 00000000003741c0] Input packet too small
[aac @ 000000000324a2a0] Failed to open bitstream filter aac_adtstoasc for strea
m 0 with codec aac: Invalid data found when processing input
[AVBSFContext @ 00000000003741c0] Input packet too small
[aac @ 000000000324a2a0] Failed to open bitstream filter aac_adtstoasc for strea
m 0 with codec aac: Invalid data found when processing input
frame=    1 fps=0.4 q=-1.0 size=     203kB time=00:00:00.10 bitrate=16028.3kbits
frame=    9 fps=2.6 q=-1.0 size=     259kB time=00:00:00.42 bitrate=4944.8kbits/
frame=   11 fps=2.6 q=-1.0 size=     317kB time=00:00:00.42 bitrate=6047.1kbits/
frame=   13 fps=2.5 q=-1.0 size=     374kB time=00:00:00.42 bitrate=7149.1kbits/
frame=   15 fps=2.5 q=-1.0 size=     432kB time=00:00:00.56 bitrate=6221.0kbits/
frame=   17 fps=2.5 q=-1.0 size=     490kB time=00:00:00.89 bitrate=4483.5kbits/
frame=   19 fps=2.5 q=-1.0 size=     548kB time=00:00:00.89 bitrate=5011.6kbits/
frame=   21 fps=2.5 q=-1.0 size=     605kB time=00:00:00.89 bitrate=5540.0kbits/
frame=   23 fps=2.6 q=-1.0 size=     663kB time=00:00:00.89 bitrate=6068.4kbits/
frame=   25 fps=2.6 q=-1.0 size=     720kB time=00:00:00.89 bitrate=6594.6kbits/
frame=   27 fps=2.6 q=-1.0 size=     778kB time=00:00:00.89 bitrate=7122.9kbits/
frame=   29 fps=2.6 q=-1.0 size=     836kB time=00:00:01.03 bitrate=6629.0kbits/
frame=   31 fps=2.6 q=-1.0 size=     894kB time=00:00:01.35 bitrate=5390.7kbits/
frame=   33 fps=2.6 q=-1.0 size=     951kB time=00:00:01.35 bitrate=5738.9kbits/
frame=   35 fps=2.5 q=-1.0 size=    1009kB time=00:00:01.35 bitrate=6087.1kbits/
frame=   37 fps=2.6 q=-1.0 size=    1067kB time=00:00:01.35 bitrate=6435.2kbits/
frame=   39 fps=2.6 q=-1.0 size=    1125kB time=00:00:01.35 bitrate=6783.5kbits/
frame=   41 fps=2.6 q=-1.0 size=    1182kB time=00:00:01.35 bitrate=7130.2kbits/
frame=   43 fps=2.6 q=-1.0 size=    1240kB time=00:00:01.49 bitrate=6779.5kbits/
frame=   45 fps=2.6 q=-1.0 size=    1297kB time=00:00:01.82 bitrate=5830.3kbits/
frame=   47 fps=2.6 q=-1.0 size=    1355kB time=00:00:01.82 bitrate=6089.6kbits/
frame=   49 fps=2.6 q=-1.0 size=    1413kB time=00:00:01.82 bitrate=6349.0kbits/
frame=   51 fps=2.6 q=-1.0 size=    1471kB time=00:00:01.82 bitrate=6608.4kbits/
Larger timestamp than 24-bit: 0xffffff70
[flv @ 00000000083cf4a0] Failed to update header with correct duration.
[flv @ 00000000083cf4a0] Failed to update header with correct filesize.
frame=   52 fps=2.6 q=-1.0 Lsize=    1501kB time=00:00:01.86 bitrate=6578.6kbits
/s speed=0.0917x
video:1483kB audio:16kB subtitle:0kB other streams:0kB global headers:0kB muxing
 overhead: 0.138521%
[aac @ 000000000324a2a0] Qavg: 65536.000
Exiting normally, received signal 2.
Terminate batch job (Y/N)?
Please be gentle im new at this


Thanks in advance guys much appreciated
Reply With Quote
 
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 02:56 AM.


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