RTMP with FFMPEG + NGINX Doesn't play in VLC

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
ronag
New Cone
New Cone
Posts: 4
Joined: 15 Feb 2015 09:32

RTMP with FFMPEG + NGINX Doesn't play in VLC

Postby ronag » 15 Feb 2015 09:35

I've got a RTMP stream setup with FFMPEG -> NGINX which I can play just fine with FFPLAY. However, it does not work with VLC.

Code: Select all

main debug: VLC media player - 2.1.5 Rincewind main debug: Copyright © 1996-2014 the VideoLAN team main debug: revision 2.1.4-59-g5f258d5 main debug: configured with ../extras/package/macosx/../../../configure '--prefix=/Users/fkuehne/Desktop/videolan/gits/vlc-2.1/release/vlc_install_dir' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-growl' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-realrtsp' '--enable-libass' '--enable-macosx-audio' '--enable-macosx-eyetv' '--enable-macosx-qtkit' '--enable-macosx-vout' '--disable-caca' '--disable-skins2' '--disable-xcb' '--disable-sdl' '--disable-samplerate' '--disable-macosx-dialog-provider' '--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk' '--build=x86_64-apple-darwin10' '--with-macosx-version-min=10.6' 'build_alias=x86_64-apple-darwin10' 'CC=xcrun clang' 'CXX=xcrun clang++' 'OBJC=xcrun clang' main debug: processing request item: rtmp://test.mydomain.hu/live, node: Playlist, skip: 0 main debug: resyncing on rtmp://test.mydomain.hu/live main debug: rtmp://test.mydomain.hu/live is at 0 main debug: starting playback of the new playlist item main debug: resyncing on rtmp://test.mydomain.hu/live main debug: rtmp://test.mydomain.hu/live is at 0 main debug: creating new input thread main debug: Creating an input for 'rtmp://test.mydomain.hu/live' main debug: using timeshift granularity of 50 MiB, in path '/tmp' main debug: `rtmp://test.mydomain.hu/live' gives access `rtmp' demux `' path `test.mydomain.hu/live' main debug: creating demux: access='rtmp' demux='' location='test.mydomain.hu/live' file='(null)' main debug: looking for access_demux module matching "rtmp": 14 candidates main debug: no access_demux modules matched main debug: creating access 'rtmp' location='test.mydomain.hu/live', path='(null)' main debug: looking for access module matching "rtmp": 18 candidates avcodec error: Failed to open rtmp://test.mydomain.hu/live: Input/output error main debug: no access modules matched main error: open of `rtmp://test.mydomain.hu/live' failed main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play
What might be causing this problem?
Last edited by ronag on 15 Feb 2015 16:06, edited 1 time in total.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: RTMP with FFMPEG + NGINX Doesn't play in VLC

Postby Jean-Baptiste Kempf » 15 Feb 2015 11:11

Use VLC 2.2.0
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ronag
New Cone
New Cone
Posts: 4
Joined: 15 Feb 2015 09:32

Re: RTMP with FFMPEG + NGINX Doesn't play in VLC

Postby ronag » 15 Feb 2015 16:03

Same problem with 2.2.

Code: Select all

core debug: VLC media player - 2.2.0-rc2 Weatherwax core debug: Copyright © 1996-2015 the VideoLAN team core debug: revision 2.2.0-rc2-213-g277f152 core debug: configured with ../extras/package/macosx/../../../configure '--prefix=/Users/buildbot/slave/vlc-stable-bin-osx-x86_64/build/build/vlc_install_dir' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-growl' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-realrtsp' '--enable-libass' '--enable-macosx-eyetv' '--enable-macosx-qtkit' '--enable-macosx-avfoundation' '--disable-skins2' '--disable-xcb' '--disable-caca' '--disable-sdl' '--disable-samplerate' '--disable-macosx-dialog-provider' '--build=x86_64-apple-darwin10' '--with-macosx-version-min=10.6' '--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' 'build_alias=x86_64-apple-darwin10' 'CC=xcrun clang' 'CFLAGS=-g' 'LDFLAGS=' 'CXX=xcrun clang++' 'OBJC=xcrun clang' core debug: processing request item: rtmp://test.mydomain.hu/live, node: Playlist, skip: 0 core debug: resyncing on rtmp://test.mydomain.hu/live core debug: rtmp://test.mydomain.hu/live is at 0 core debug: starting playback of the new playlist item core debug: resyncing on rtmp://test.mydomain.hu/live core debug: rtmp://test.mydomain.hu/live is at 0 core debug: creating new input thread core debug: Creating an input for 'rtmp://test.mydomain.hu/live' core debug: requesting art for rtmp://test.mydomain.hu/live core debug: using timeshift granularity of 50 MiB, in path '/tmp' core debug: looking for meta fetcher module matching "any": 1 candidates core debug: `rtmp://test.mydomain.hu/live' gives access `rtmp' demux `' path `test.mydomain.hu/live' lua debug: Trying Lua scripts in /Users/ronagy/Library/Application Support/org.videolan.vlc/lua/meta/fetcher core debug: specified demux `any' core debug: creating demux: access='rtmp' demux='any' location='test.mydomain.hu/live' file='(null)' lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/fetcher core debug: looking for access_demux module matching "rtmp": 14 candidates core debug: no access_demux modules matched core debug: creating access 'rtmp' location='test.mydomain.hu/live', path='(null)' core debug: looking for access module matching "rtmp": 18 candidates avcodec debug: CPU flags: 0x0007d3db lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/fetcher/tvrage.luac lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/fetcher/tvrage.luac lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/share/lua/meta/fetcher core debug: no meta fetcher modules matched core debug: searching art for rtmp://test.mydomain.hu/live core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in /Users/ronagy/Library/Application Support/org.videolan.vlc/lua/meta/art lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/art lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac avcodec error: Failed to open rtmp://test.mydomain.hu/live: Input/output error lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac core debug: no access modules matched core error: open of `rtmp://test.mydomain.hu/live' failed lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/share/lua/meta/art core debug: no art finder modules matched core debug: art not found for rtmp://test.mydomain.hu/live macosx warning: variable stereo-mode doesn't exist or isn't handled core debug: finished input core debug: dead input core debug: changing item without a request (current 0/1) core debug: nothing to play

ronag
New Cone
New Cone
Posts: 4
Joined: 15 Feb 2015 09:32

Re: RTMP with FFMPEG + NGINX Doesn't play in VLC

Postby ronag » 15 Feb 2015 16:06

And also with 3.0.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: RTMP with FFMPEG + NGINX Doesn't play in VLC

Postby Jean-Baptiste Kempf » 15 Feb 2015 16:16

avcodec error: Failed to open rtmp://test.mydomain.hu/live: Input/output error
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ronag
New Cone
New Cone
Posts: 4
Joined: 15 Feb 2015 09:32

Re: RTMP with FFMPEG + NGINX Doesn't play in VLC

Postby ronag » 15 Feb 2015 16:25

Yes, I can see that. But it works fine with ffplay.

Code: Select all

ffplay -i rtmp://test.mydomain.hu/live ffplay version N-69574-g7dad2f7 Copyright (c) 2003-2015 the FFmpeg developers built with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) configuration: --prefix=/usr/local --enable-gpl --enable-nonfree --enable-libx264 libavutil 54. 18.100 / 54. 18.100 libavcodec 56. 21.102 / 56. 21.102 libavformat 56. 19.100 / 56. 19.100 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 9.103 / 5. 9.103 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 [flv @ 0x7fb5b580e400] Stream discovered after head already parsed [flv @ 0x7fb5b580e400] Stream discovered after head already parsed Input #0, flv, from 'rtmp://test.mydomain.hu/live':B sq= 0B f=0/0 Metadata: Server : NGINX RTMP (github.com/arut/nginx-rtmp-module) displayWidth : 1280 displayHeight : 720 fps : 50 profile : level : Duration: 00:00:00.00, start: 2679.722000, bitrate: N/A Stream #0:0: Audio: aac (LC), 48000 Hz, stereo, fltp, 63 kb/s Stream #0:1: Data: none Stream #0:2: Video: h264 (High), yuv420p, 1280x720, 50 fps, 50 tbr, 1k tbn, 100 tbc 2682.57 A-V: -2.386 fd= 14 aq= 13KB vq= 10KB sq= 0B f=0/0
So I'm wondering what the difference is?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 44 guests