Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-27 Thread mikeversteeg
Paul B Mahol wrote
 What about disabling native FFmpeg rtmp code? Assuming librtmp one works
 fine.

Thanks for helping Paul. It looks like it is the other way around (unless
it's a Windows only bug), but I cannot simply remove librtmp as a lot of
other code depends on it. Do you know if it is possible to use both side by
side? I.e. have one function use the default decoder (librtmp in my case)
and another the internal? I could then use the internal decoder for FMS
only, provided it works well. Frankly I am at a complete loss why two pieces
of code exist doing the same stuff, you'd expect they'd be merged into one
that does everything well. 



--
View this message in context: 
http://libav-users.943685.n4.nabble.com/Libav-user-can-t-decode-RTMP-stream-from-FMS-tp4658233p4658274.html
Sent from the libav-users mailing list archive at Nabble.com.
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-27 Thread Paul B Mahol
On 7/26/13, Carl Eugen Hoyos ceho...@ag.or.at wrote:
 Paul B Mahol onemda@... writes:

 What about disabling native FFmpeg rtmp code?
 Assuming librtmp one works fine.

 It's the other way 'round...

Really?

AFAIK currently if you have librtmp protocols enabled at same time as
native ones, only native ones can be used.


 Carl Eugen

 ___
 Libav-user mailing list
 Libav-user@ffmpeg.org
 http://ffmpeg.org/mailman/listinfo/libav-user

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-27 Thread Carl Eugen Hoyos
Paul B Mahol onemda@... writes:

 On 7/26/13, Carl Eugen Hoyos cehoyos@... wrote:
  Paul B Mahol onemda at ... writes:
 
  What about disabling native FFmpeg rtmp code?
  Assuming librtmp one works fine.
 
  It's the other way 'round...
 
 Really?

This is what I suspect.

If Mike started actual testing, we would all 
know for sure.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-26 Thread mikeversteeg
Sorry, you lost me. AFAIK I followed all the rules: to exclude bugs in my
code I downloaded the latest version of ffmpeg, reproduced the problem and
included the console output. What did I do wrong? As far as I can see
Zeranoe adds all libraries required to make this work. My code in fact uses
an LGPL version so uses much less libraries and still works with all
streams, except when it is coming from this Adobe server.

Anyway, hope I get it right this time. So I went over to Zeranoe, downloaded
the latest static 32 bit build and run the exact command you did (obviously
now there is no debugging info). Here is the complete uncut console output:


ffmpeg -i rtmp://185.13.90.110/vidlivestream/_definst_/stream/test
ffmpeg version N-54933-g1af9211 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Jul 25 2013 18:01:26 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca
--enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc
--enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxavs --
enable-libxvid --enable-zlib
  libavutil  52. 40.100 / 52. 40.100
  libavcodec 55. 19.100 / 55. 19.100
  libavformat55. 12.102 / 55. 12.102
  libavdevice55.  3.100 / 55.  3.100
  libavfilter 3. 81.103 /  3. 81.103
  libswscale  2.  4.100 /  2.  4.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc52.  3.100 / 52.  3.100
Closing connection: NetStream.Play.Failed
rtmp://185.13.90.110/vidlivestream/_definst_/stream/test: Unknown error
occurred




--
View this message in context: 
http://libav-users.943685.n4.nabble.com/Libav-user-can-t-decode-RTMP-stream-from-FMS-tp4658233p4658255.html
Sent from the libav-users mailing list archive at Nabble.com.
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-26 Thread Carl Eugen Hoyos
mikeversteeg mike@... writes:

  I suggest you look at the configure lines.

 Sorry, you lost me.

Sorry, what is unclear about that?
(Especially since the exact same question was 
asked - and answered - at the same time on 
ffmpeg-user)
Please compare my configure line with the 
one you used.

(Sorry if you felt offended by the rant I 
added, it was not meant specifically, but 
I am very often told that complete, uncut 
console output is unneeded and that I 
shouldn't care about other people's 
configure lines.)

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-26 Thread mikeversteeg
With 'configure I assume you mean the build configuration? If so, I do not
see how disabling inputs will help me solve the problem, nor do I want this
as I use the libav* libraries for much more than this. So you still have not
answered my question, while apparently you know the answer. This is a bit
frustrating especially as I have no idea what it is you expect from me. I'll
gladly pay you for assisting me in this. Please note to help you help me I
am using a generic ffmpeg with all options enabled as made available through
Zeranoe. I thought I also made all console output available to you, yet you
insist on telling me I am forgetting these. Please explain to me what
further I need to send you. You still lost me in this, possibly things are
lost (no pun intended) in translation.

I have been googling for days trying to find an answer to this but other
than more people having the same problem, I have found nothing. If the
answer is out there in this 'ffmpeg-user' can you at least provide a link?
I'm pretty user you will be doing others a favour as well.

Thanks.



--
View this message in context: 
http://libav-users.943685.n4.nabble.com/Libav-user-can-t-decode-RTMP-stream-from-FMS-tp4658233p4658257.html
Sent from the libav-users mailing list archive at Nabble.com.
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-26 Thread Carl Eugen Hoyos
mikeversteeg mike@... writes:

 With 'configure I assume you mean the build 
 configuration? If so, I do not see how disabling 
 inputs will help me solve the problem

Then I really, really honestly cannot help you.

Note that I did not want to imply at any point that 
you haven't given all necessary information (on the 
contrary). As said, I just wanted to point out how 
important this information was (while I am 
repeatedly asked why such information is necessary).

[...]

 If the answer is out there in this 'ffmpeg-user' 
 can you at least provide a link?

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/46779/focus=46824

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-26 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... writes:

  If the answer is out there in this 'ffmpeg-user' 
  can you at least provide a link?
 
 http://thread.gmane.org/gmane.comp.video.ffmpeg.user/46779/focus=46824

Sorry, I apparently misread this message, it is 
probably unrelated.

Sorry for the noise, Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-26 Thread mikeversteeg
Carl Eugen Hoyos wrote
 mikeversteeg lt;mike@...gt; writes:
 Then I really, really honestly cannot help you.

OK, well thanks for trying. You did help a little bit in demonstrating there
is apparently a bug in ffmpeg, where your specific build works and full
builds don't. I hope whoever wrote the rtmp code reads this and is willing
to fix it. This is beyond my scope, but I'm happy to make a donation for the
team.

Meanwhile if anyone else has a clue as to what's going on, and even better
if there is a way around this bug, I'd be most grateful for your help.




--
View this message in context: 
http://libav-users.943685.n4.nabble.com/Libav-user-can-t-decode-RTMP-stream-from-FMS-tp4658233p4658261.html
Sent from the libav-users mailing list archive at Nabble.com.
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-26 Thread Paul B Mahol
On 7/26/13, mikeversteeg m...@mikeversteeg.com wrote:
 Carl Eugen Hoyos wrote
 mikeversteeg lt;mike@...gt; writes:
 Then I really, really honestly cannot help you.

 OK, well thanks for trying. You did help a little bit in demonstrating
 there
 is apparently a bug in ffmpeg, where your specific build works and full
 builds don't. I hope whoever wrote the rtmp code reads this and is willing
 to fix it. This is beyond my scope, but I'm happy to make a donation for
 the
 team.

 Meanwhile if anyone else has a clue as to what's going on, and even better
 if there is a way around this bug, I'd be most grateful for your help.


What about disabling native FFmpeg rtmp code? Assuming librtmp one works fine.
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-26 Thread Carl Eugen Hoyos
mikeversteeg mike@... writes:

 You did help a little bit in demonstrating there
 is apparently a bug in ffmpeg, where your specific 
 build works and full builds don't.

Why do you think so?

Please test ./configure  make ffmpeg or 
./configure --enable-gpl  make ffmpeg and 
report back.
If it does not work for you, I will compile 
on Windows myself and test again but so far, 
you have only written that you do not see how 
this helps and sorry for my ignorance but 
that does not motivate me to boot Windows.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-25 Thread Mike Versteeg
Has anyone ever made ffmpeg decode an RTMP stream from FMS at all?

Mike Versteeg
mikeversteeg.com


On Wed, Jul 24, 2013 at 10:50 AM, Mike Versteeg m...@mikeversteeg.com wrote:
 Same stream from Wowza server works fine, but when using Adobe FMS I
 keep getting the same error (note it works fine in a flash player).

 Here's the output of the latest git, anyone have an idea?

 ffmpeg version N-54901-g55db06a Copyright (c) 2000-2013 the FFmpeg developers
   built on Jul 23 2013 18:01:29 with gcc 4.7.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls 
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libcaca 
 --enable-libfreetyp
 e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame 
 --ena
 ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg 
 --enable-l
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr 
 --enable-libsp
 eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc 
 --enable-libvo-
 amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs 
 --
 enable-libxvid --enable-zlib
   libavutil  52. 40.100 / 52. 40.100
   libavcodec 55. 19.100 / 55. 19.100
   libavformat55. 12.102 / 55. 12.102
   libavdevice55.  3.100 / 55.  3.100
   libavfilter 3. 81.102 /  3. 81.102
   libswscale  2.  4.100 /  2.  4.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc52.  3.100 / 52.  3.100
 Parsing...
 Parsed protocol: 0
 Parsed host: [removed for privacy reasons]
 Parsed app : vidlivestream/_definst_/stream
 RTMP_Connect1, ... connected, handshaking
 HandShake: Type Answer   : 03
 HandShake: Server Uptime : 506058230
 HandShake: FMS Version   : 4.5.5.1
 HandShake: Handshaking finished
 RTMP_Connect1, handshaked
 Invoking connect
 HandleServerBW: server BW = 125
 HandleClientBW: client BW = 125 2
 HandleChangeChunkSize, received: chunk size change to 1024
 HandleCtrl, received ctrl. type: 6, len: 6
 HandleCtrl, Ping 506058630
 sending ctrl. type: 0x0007
 RTMP_ClientPacket, received: invoke 242 bytes
 (object begin)
 Property: Name:   no-name., STRING:_result
 Property: Name:   no-name., NUMBER:1.00
 Property: Name:   no-name., OBJECT
 (object begin)
 Property: Name: fmsVer, STRING:FMS/4,5,5,4013
 Property: Name:   capabilities, NUMBER:255.00
 Property: Name:   mode, NUMBER:1.00
 (object end)
 Property: Name:   no-name., OBJECT
 (object begin)
 Property: Name:  level, STRING:status
 Property: Name:   code, STRING:NetConnection.Connect.Success
 Property: Name:description, STRING:Connection succeeded.
 Property: Name: objectEncoding, NUMBER:0.00
 Property: Name:   data, ECMA_ARRAY
 (object begin)
 Property: Name:version, STRING:4,5,5,4013
 (object end)
 (object end)
 (object end)
 HandleInvoke, server invoking _result
 HandleInvoke, received result for method call connect
 sending ctrl. type: 0x0003
 Invoking createStream
 RTMP_ClientPacket, received: invoke 21 bytes
 (object begin)
 Property: Name:   no-name., STRING:onBWDone
 Property: Name:   no-name., NUMBER:0.00
 Property: NULL
 (object end)
 HandleInvoke, server invoking onBWDone
 Invoking _checkbw
 RTMP_ClientPacket, received: invoke 29 bytes
 (object begin)
 Property: Name:   no-name., STRING:_result
 Property: Name:   no-name., NUMBER:2.00
 Property: NULL
 Property: Name:   no-name., NUMBER:1.00
 (object end)
 HandleInvoke, server invoking _result
 HandleInvoke, received result for method call createStream
 SendPlay, seekTime=0, stopTime=0, sending play: test
 Invoking play
 sending ctrl. type: 0x0003
 RTMP_ClientPacket, received: invoke 16419 bytes
 (object begin)
 Property: Name:   no-name., STRING:_onbwcheck
 Property: Name:   no-name., NUMBER:2147483655.00
 Property: NULL
 Property: Name:   no-name., STRING:z ]   ! , 3 \ - . ' H g 4 9 . 
 {
 j s 2 O  ? T =  K H 7 ~ + $ K Z #   ! v 1  m N % h 9 n G t % J M p 1 f # t 
 %
 ^ u ( I ^ )  5 : ? @ a V O  S n [ * y N y T e * 3 P 1 F ! 6 #   + ( w  W \ 
 -
 : = ` _ 6 q $ - 0 e x G . ' 4 [ * / 0 /  _ l ] @ k 8 )v
 Property: Name:   no-name., NUMBER:0.00
 (object end)
 HandleInvoke, server invoking _onbwcheck
 Invoking _result
 HandleChangeChunkSize, received: chunk size change to 1024
 RTMP_ClientPacket, received: invoke 142 bytes
 (object begin)
 Property: Name:   no-name., STRING:onStatus
 Property: Name:   no-name., NUMBER:105.00
 Property: NULL
 Property: Name:   no-name., OBJECT
 (object begin)
 Property: Name:  level, STRING:error
 Property: Name:   code, STRING:NetStream.Play.Failed
 Property: Name:description, 

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-25 Thread Mike Versteeg
I just got permission to publish the stream details for testing, so if
anyone wants to have a look it is

rtmp://185.13.90.110/vidlivestream/_definst_/stream/test

As you can see it works fine in normal flash players, but not in
ffmpeg/ffplay/ffprobe.

Mike
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-25 Thread Carl Eugen Hoyos
Mike Versteeg mike@... writes:

 rtmp://185.13.90.110/vidlivestream/_definst_/stream/test

Works fine here, Carl Eugen

$ ffmpeg -i rtmp://185.13.90.110/vidlivestream/_definst_/stream/test
ffmpeg version N-54924-g5156d48 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 25 2013 09:01:09 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil  52. 40.100 / 52. 40.100
  libavcodec 55. 19.100 / 55. 19.100
  libavformat55. 12.102 / 55. 12.102
  libavdevice55.  3.100 / 55.  3.100
  libavfilter 3. 81.103 /  3. 81.103
  libswscale  2.  4.100 /  2.  4.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc52.  3.100 / 52.  3.100
Input #0, flv, from 'rtmp://185.13.90.110/vidlivestream/_definst_/stream/test':
  Duration: N/A, start: 0.00, bitrate: 128 kb/s
Stream #0:0: Video: flv1, yuv420p, 320x176, 25 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
At least one output file must be specified

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-25 Thread mikeversteeg
Carl Eugen Hoyos wrote
 Works fine here, Carl Eugen

Thanks, interesting! So unless they fixed it in the past 24 hours, how is
this possible?



--
View this message in context: 
http://libav-users.943685.n4.nabble.com/Libav-user-can-t-decode-RTMP-stream-from-FMS-tp4658233p4658250.html
Sent from the libav-users mailing list archive at Nabble.com.
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-25 Thread Carl Eugen Hoyos
mikeversteeg mike@... writes:

 Carl Eugen Hoyos wrote
  Works fine here, Carl Eugen
 
 Thanks, interesting! 

 So unless they fixed it in the past 24 hours, 

(They?)

 how is this possible?

I suggest you look at the configure lines.
(This is not only the reason why you are 
required to always send command lines 
together with complete, uncut console output 
- and a good indication how much other 
possibly similar projects care about their 
users - but also why I often suggest to 
test ./configure  make before reporting 
problems.)

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user