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
  #21  
Old 10-14-2017, 03:33 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: How to get the real rtmp address on this encoding page.


New Zeranoe ffmpeg is out, version 3.3.4 and the latest change is that it is not compiled with librtmp.

Despite that, it works with an error message, saves the stream on this site but still not the right one.

I wish ffmpeg team were reading this.

Here are right params error message refers to ( native rtmp ):

https://libav.org/avconv.html#rtmp



Librtmp params:

Code:
ffmpeg.exe -i "rtmp://birds.cdn.newschat.tv/edge app=edge swfUrl=http://newschat.tv/player.swf pageUrl=http://www.livenewschat.eu/international/ playpath=cnni_live live=1" -c copy test.flv
error message:

Code:
[rtmp @ 0000000000758bc0] Detected librtmp style URL parameters, these aren't supported by the libavformat internal RTMP handler currently enabled. See the documentation for the correct way to pass parameters.

Libav params:

Code:
ffmpeg.exe -i rtmp://birds.cdn.newschat.tv/edge -rtmp_app edge -rtmp_swfurl http://newschat.tv/player.swf -rtmp_pageurl http://www.livenewschat.eu/international/ -rtmp_playpath cnni_live -c copy test.flv
With native params there is no need to specify whether stream is live or not. FFmpeg handles that.

( -rtmp_live live )

https://ffmpeg.org/ffmpeg-protocols.html#rtmp


no error message:

Code:
C:\>ffmpeg.exe -i rtmp://birds.cdn.newschat.tv/edge -rtmp_app edge -rtmp_swfurl http://newschat.tv/player.swf -rtmp_pageurl http://www.livenewschat.eu/international/ -rtmp_playpath cnni_live -c copy test.flv
ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Input #0, flv, from 'rtmp://birds.cdn.newschat.tv/edge':
  Metadata:
    Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
    displayWidth    : 640
    displayHeight   : 480
    fps             : 120
    profile         :
    level           :
  Duration: 00:00:00.00, start: 36.633000, bitrate: N/A
    Stream #0:0: Video: h264 (Main), yuv420p(progressive), 640x480 [SAR 1:1 DAR 4:3], 608 kb/s, 120 fps, 30 tbr, 1k tbn, 60 tbc
    Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 95 kb/s
Output #0, flv, to 'test.flv':
  Metadata:
    Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
    displayWidth    : 640
    displayHeight   : 480
    fps             : 120
    profile         :
    level           :
    encoder         : Lavf57.71.100
    Stream #0:0: Video: h264 (Main) ([7][0][0][0] / 0x0007), yuv420p(progressive), 640x480 [SAR 1:1 DAR 4:3], q=2-31, 608 kb/s, 120 fps, 30 tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: aac (LC) ([10][0][0][0] / 0x000A), 44100 Hz, stereo, fltp, 95 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  117 fps= 40 q=-1.0 size=     177kB time=00:00:03.86 bitrate= 374.9kbits/s speed=1.32x

Zeranoe FFmpeg Builds http://ffmpeg.zeranoe.com/builds/

Build: ffmpeg-3.3.4-win64-static

Code:
Configuration:
  --enable-gpl
  --enable-version3
  --enable-sdl2
  --enable-bzlib
  --enable-fontconfig
  --enable-gnutls
  --enable-iconv
  --enable-libass
  --enable-libbluray
  --enable-libfreetype
  --enable-libmp3lame
  --enable-libopenjpeg
  --enable-libopus
  --enable-libshine
  --enable-libsnappy
  --enable-libsoxr
  --enable-libtheora
  --enable-libtwolame
  --enable-libvpx
  --enable-libwavpack
  --enable-libwebp
  --enable-libx264
  --enable-libx265
  --enable-libzimg
  --enable-lzma
  --enable-zlib
  --enable-gmp
  --enable-libvidstab
  --enable-cuda
  --enable-cuvid
  --enable-d3d11va
  --enable-nvenc
  --enable-dxva2
  --enable-avisynth
  --enable-libmfx

Libraries:
  SDL 2.0.6 <https://libsdl.org>
  bzip2 1.0.6 <http://bzip.org/>
  Fontconfig 2.12.4 <http://freedesktop.org/wiki/Software/fontconfig>
  GnuTLS 3.5.15 <http://gnutls.org>
  libiconv 1.15 <http://gnu.org/software/libiconv/>
  libass 0.13.7 <https://github.com/libass/libass>
  libbluray 20170919-b5e30fc <http://videolan.org/developers/libbluray.html>
  FreeType 2.8 <http://freetype.sourceforge.net>
  LAME 3.99.5 <http://lame.sourceforge.net>
  OpenJPEG 2.3.0 <https://github.com/uclouvain/openjpeg>
  Opus 1.2.1 <http://opus-codec.org>
  shine 3.1.1 <https://github.com/savonet/shine>
  Snappy 1.1.6 <https://github.com/google/snappy>
  libsoxr 20160605-5fa7eeb <http://sourceforge.net/projects/soxr>
  Theora 1.1.1 <http://theora.org>
  TwoLAME 0.3.13 <http://twolame.org>
  vpx 1.6.1 <http://webmproject.org>
  WavPack 5.1.0 <http://wavpack.com>
  WebP 0.6.0 <https://developers.google.com/speed/webp>
  x264 20170626-ba24899 <http://videolan.org/developers/x264.html>
  x265 20171009-0e168bd <https://bitbucket.org/multicoreware/x265/wiki/Home>
  z.lib 20170913-dc68ac8 <https://github.com/sekrit-twc/zimg>
  XZ 5.2.3 <Utils http://tukaani.org/xz>
  zlib 1.2.11 <http://zlib.net>
  GMP 6.1.2 <https://gmplib.org>
  vid.stab 20170830-afc8ea9 <http://public.hronopik.de/vid.stab>
  libmfx 1.23 <https://software.intel.com/en-us/media-sdk>

Copyright (C) 2017 Kyle Schwarz
Reply With Quote
  #22  
Old 10-14-2017, 04:12 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: How to get the real rtmp address on this encoding page.


Just noticed:

librtmp protocol AVOptions:

Code:
  -rtmp_app          <string>     ED...... Name of application to connect to on the RTMP server
  -rtmp_buffer       <string>     ED...... Set buffer time in milliseconds. The default is 3000. (default "3000")
  -rtmp_conn         <string>     ED...... Append arbitrary AMF data to the Connect message
  -rtmp_flashver     <string>     ED...... Version of the Flash plugin used to run the SWF player.
  -rtmp_live         <int>        .D...... Specify that the media is a live stream. (from INT_MIN to INT_MAX) (default recorded)
     any                          .D...... both
     live                         .D...... live stream
     recorded                     .D...... recorded stream
  -rtmp_pageurl      <string>     .D...... URL of the web page in which the media was embedded. By default no value will be sent.
  -rtmp_playpath     <string>     ED...... Stream identifier to play or to publish
  -rtmp_subscribe    <string>     .D...... Name of live stream to subscribe to. Defaults to rtmp_playpath.
  -rtmp_swfurl       <string>     ED...... URL of the SWF player. By default no value will be sent
  -rtmp_swfverify    <string>     .D...... URL to player swf file, compute hash/size automatically. (unimplemented)
  -rtmp_tcurl        <string>     ED...... URL of the target stream. Defaults to proto://host[:port]/app.
  -rtmp_buffer_size  <int>        ED...... set buffer size in bytes (from -1 to INT_MAX) (default -1)
In comparison with librtmp parameters few switches are missing, like this one:

Code:
     token string   Key for SecureToken response
Valid RTMP options are: ( Librtmp )

Code:
     socks string   Use the specified SOCKS proxy
       app string   Name of target app on server
     tcUrl string   URL to played stream
   pageUrl string   URL of played media's web page
    swfUrl string   URL to player SWF file
  flashver string   Flash version string (default WIN 10,0,32,18)
      conn AMF      Append arbitrary AMF data to Connect message
  playpath string   Path to target media on server
  playlist boolean  Set playlist before play command
      live boolean  Stream is live, no seeking possible
 subscribe string   Stream to subscribe to
       jtv string   Justin.tv authentication token
     token string   Key for SecureToken response
    swfVfy boolean  Perform SWF Verification
    swfAge integer  Number of days to use cached SWF hash
     start integer  Stream start position in milliseconds
      stop integer  Stream stop position in milliseconds
    buffer integer  Buffer time in milliseconds
   timeout integer  Session timeout in seconds
   pubUser string   Publisher username
 pubPasswd string   Publisher password
Reply With Quote
  #23  
Old 11-04-2017, 10:13 AM
johnyb606 johnyb606 is offline
Junior Member
 
Join Date: Nov 2017
Posts: 6
johnyb606 is on a distinguished road
Default

Re: How to get the real rtmp address on this encoding page.


can someone find me url (rtmp) of this stream so i can play it in vlc :
https://www.earthcam.com/usa/newyork...?cam=skyline_g

i used to be able to do it with wireshark but now it doesnt show any rtmp protocols.
If you find it, please also explain how you did it, so i can find for other similar webcams.
Reply With Quote
  #24  
Old 11-04-2017, 11:03 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: How to get the real rtmp address on this encoding page.


You don't see rtmp stream in wireshark because it is not sent to you if you use a new browser.

I had to try a few old browsers to get rtmp stream, and here is good Microsoft..




rtmpdump -r "rtmp://video3.earthcam.com:1935/fecnetwork"
-a "fecnetwork"
-f "WIN 27,0,0,183"
-W "https://www.earthcam.com/swf/streaming/stream_viewer_v3.r31119.swf"
-p "https://www.earthcam.com/usa/newyork/worldtradecenter/?cam=skyline_g"
-y "10874.flv"
-o "2017-11-04_03-51-45_10874.flv"
Reply With Quote
  #25  
Old 11-04-2017, 01:32 PM
johnyb606 johnyb606 is offline
Junior Member
 
Join Date: Nov 2017
Posts: 6
johnyb606 is on a distinguished road
Default

Re: How to get the real rtmp address on this encoding page.


tnx, but vlc wont play it when i go to open network stream rtmp://video3.earthcam.com:1935/fecnetwork/10874.flv

I get:
Your input can't be opened: VLC is unable to open the MRL 'rtmp://video3.earthcam.com:1935/fecnetwork/10874.flv'. Check the log for details.

log says a lot, ends with:
qt4 debug: IM: Setting an input
avcodec error: Failed to open rtmp://video3.earthcam.com:1935/fecnetwork/10874.flv: Unknown error
core debug: no access modules matched
core error: open of `rtmp://video3.earthcam.com:1935/fecnetwork/10874.flv' failed
core debug: dead input
core debug: changing item without a request (current 4/5)
core debug: nothing to play
qt4 debug: IM: Deleting the input

i dowloaded the lastest vlc, mpclassic (wont play), bsplayer (wont play), combined comunity codec pack.


does your vlc play it?

vlc does play it I type into cdm:
rtmpdump -r "rtmp://video3.earthcam.com:1935/fecnetwork" -a "fecnetwork" -f "WIN 27,0,0,183" -W "https://www.earthcam.com/swf/streaming/stream_viewer_v3.r31119.swf" -p "https://www.earthcam.com/usa/newyork/worldtradecenter/?cam=skyline_g" -y "10874.flv" | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -

but then it's also downloading it, and i dont want that.
I just want to play it with vlc.
Reply With Quote
  #26  
Old 11-04-2017, 04:06 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: How to get the real rtmp address on this encoding page.


The way you use rtmpdump you are not saving the stream, you pipe output to VLC.

I did not succeed in playing the stream with VLC only, you can use streamlink instead of rtmpdump.


Code:
set url="rtmp://video3.earthcam.com:1935/fecnetwork app=fecnetwork swfUrl=https://www.earthcam.com/swf/streaming/stream_viewer_v3.r31119.swf playpath=10874.flv" 

streamlink %url% worst
Reply With Quote
  #27  
Old 11-08-2017, 05:26 AM
johnyb606 johnyb606 is offline
Junior Member
 
Join Date: Nov 2017
Posts: 6
johnyb606 is on a distinguished road
Default

Re: How to get the real rtmp address on this encoding page.


when viewed in internet explorer 11 , wireshark finds rtmpt protocols. What is effecting that? Switch to html5 ? How do i find out which firefox or chrome versions will load the webcam page and use rtmp protocol ? (because i tried some older chrome versions and some didn't show rtmp and other older ones couldnt load the webcam).
Reply With Quote
  #28  
Old 11-08-2017, 08:42 AM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: How to get the real rtmp address on this encoding page.


Hi,

just use playlist link of that stream and enter this directly in VLC.
Code:
https://video3.earthcam.com/fecnetwork/10874.flv/playlist.m3u8
VLC seems not to work with that rtmp stream link also not if you use the vlc rtmp_x syntax after --avio-options.

If you wanna switch to Html5 playing (if site does support that too like Chaturbate flash & Html5) if you also have enabled flash,then you need most disable flash if the player on site xy has no choice button to switch to flash / html5.There is a Firefox AddOn called QuickJava you can use for that just pressing F button to disable/enable flash.This AddOn is only for Firefox to get.

About flash.Below a list of flash plugins you need to install for the browser you do use.Last link is standalone player if you need to play or watch swf / links etc.
Code:
Internet Explorer - ActiveX
http://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_ax.exe

Firefox, Safari, Opera (Presto) - NPAPI
http://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player.exe

Opera (Blink) and Chromium - PPAPI
http://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_ppapi.exe

Standalone https://fpdownload.macromedia.com/pub/flashplayer/updaters/26/flashplayer_26_sa.exe
So to check what you have installed press windows+R and enter control to open the system control panel.Inside press on Flash Player / Updates register-card and there you can find all infos about your installed flash plugins.

If you want to use flash in Chrome and it dosent work for incognito mode then disable this flag...
Code:
chrome://flags/#prefer-html-over-flash   <-- disable
If you only use Chrome as browser and you wanna watch all rtmp* streams with Chrome then enable flash.In default mode its disabled.Just check Chrome settings and enable flash and try the site which used rtmp again.

greetz
Reply With Quote
  #29  
Old 11-08-2017, 10:33 AM
johnyb606 johnyb606 is offline
Junior Member
 
Join Date: Nov 2017
Posts: 6
johnyb606 is on a distinguished road
Default

Re: How to get the real rtmp address on this encoding page.


thanks for
https://video3.earthcam.com/fecnetwo.../playlist.m3u8
that works in vlc, so i don't have to go the command prompt route anymore.
But quickjava did not help. With flash enabled or disabled in quickjava, wireshark shows no rtmpt protocols for this site: https://www.earthcam.com/usa/newyork...?cam=skyline_g
Reply With Quote
  #30  
Old 11-08-2017, 01:14 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: How to get the real rtmp address on this encoding page.


Hi,

I said with QJ AddOn you can disable / enable only flash by button press on F but you cant disable HTML5.If you want to force playing flash like on your site then use InternetExplorer as j_cool said & did.Try this with a WS capture session.

greetz
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 11:03 AM.


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