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
  #1  
Old 04-08-2012, 11:57 AM
mucea mucea is offline
Junior Member
 
Join Date: Apr 2010
Posts: 29
mucea is on a distinguished road
Default

server trick?


It seems that the mediadirect guys have implemented another trick in order to block channel viewing outside their website. Tested on different servers (fms15, fms30) same result: choppy audio recording (with -v parameter) or no recording at all (without it). Choppy audio in VLC 2.0.0, crash in VLC 2.1.0 nightly.
The command:

Code:
rtmpdump -v -r "rtmp://fms30.mediadirect.ro:1935/live7/_definst_" -a "live7/_definst_?id=0&publisher=2" -f "WIN 11,1,102,55" -W "http://dev.dolcetv.ro/player_test/player.swf" -p "http://dev.dolcetv.ro/" --live -y "nationaltv_low?id=0&publisher=2" -o test.flv
Do they actually intend for this to happen, or it's just some sort of flaw?
Reply With Quote
  #2  
Old 04-08-2012, 02:31 PM
compn compn is offline
Stream recording expert
 
Join Date: Sep 2006
Posts: 128
compn has a spectacular aura aboutcompn has a spectacular aura aboutcompn has a spectacular aura about
Default

Re: server trick?


it looks like they are using an audio codec feature which faad and ffmpeg aac decoder do not support well.

so they could be messing with something.

playing in mplayer i get lots of:

FAAD: Failed to decode frame: Gain control not yet implemented
FAAD: Failed to decode frame: Bitstream value not allowed by specification
FAAD: Failed to decode frame: Bitstream value not allowed by specification

and using ffmpeg aac decoder:

[aac @ 012537d0]960/120 MDCT window is not implemented

vlc uses faad/ffaac so its hard to fix atm.
Reply With Quote
  #3  
Old 04-08-2012, 03:21 PM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: server trick?


no problem use mplayer 0.0.9.0 (MPlayer Sherpya-SVN-r29355-4.5.0)
Code:
rtmpdump -r "rtmp://fms30.mediadirect.ro:1935/live7/_definst_" -a "live7/_definst_?id=0&publisher=2" -f "WIN 11,2,202,228" -W "http://dev.dolcetv.ro/player_test/player.swf" -p "http://dev.dolcetv.ro/" -y "nationaltv?id=0&publisher=2" -v | "C:\PROGRA~1\MPlayer\mplayer.exe" - -cache 8192
Code:
[aac @ 0x1caf1d0]960/120 MDCT window is not implemented. Update your FFmpeg vers
ion to the newest one from SVN. If the problem still occurs, it means that your
file has a feature which has not been implemented.If you want to help, upload a
sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the
 ffmpeg-devel mailing list.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [H264]  720x576  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [directx] 720x576 => 720x576 Planar YV12
FAAD: Failed to decode frame: Scalefactor out of range %  0.9% 0 0
FAAD: Failed to decode frame: Maximum number of bitstream elements exceeded
FAAD: Failed to decode frame: Scalefactor out of range %  1.0% 0 0
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Scalefactor out of range %  0.9% 0 0
FAAD: Failed to decode frame: Scalefactor out of range %  0.9% 0 0
A:  10.0 V:   9.9 A-V:  0.115 ct:  0.770   0/  0 20% 16%  0.9% 0 0
Reply With Quote
  #4  
Old 04-08-2012, 04:00 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: server trick?


Quote:
Originally Posted by chap View Post
no problem use mplayer 0.0.9.0 (MPlayer Sherpya-SVN-r29355-4.5.0)

It is a problem because my version is this one:-
MPlayer SVN-r34842-4.5.2 (C) 2000-2012 MPlayer Team

Where is this one:- MPlayer Sherpya-SVN-r29355-4.5.0 ?
Reply With Quote
  #5  
Old 04-08-2012, 04:26 PM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: server trick?


Quote:
Originally Posted by bat999 View Post
It is a problem because my version is this one:-
MPlayer SVN-r34842-4.5.2 (C) 2000-2012 MPlayer Team

Where is this one:- MPlayer Sherpya-SVN-r29355-4.5.0 ?
http://mplayer.org.ua/files/windows/...4-svn-29355.7z
Reply With Quote
  #6  
Old 04-08-2012, 04:41 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: server trick?


Thanks for that.
With Linux I can download the file with RTMPDump and convert the audio using MEncoder Sherpya-SVN-r29355-4.5.0 and WINE.
Like this:-

Code:
mencoder test.flv -of lavf -ovc copy -oac lavc -lavcopts aglobal=1:acodec=libfaac:abitrate=64 -o foo.mkv
Reply With Quote
  #7  
Old 04-08-2012, 05:31 PM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Re: server trick?


I don't have sound issues on Ubuntu linux with those channels on VLC 1.1.12. But I have sound issues with this VLC version on Ukrainian Sport 1 & 2 channels which is solved on VLC 2.0.2. ;-)
Reply With Quote
  #8  
Old 04-09-2012, 12:54 AM
mucea mucea is offline
Junior Member
 
Join Date: Apr 2010
Posts: 29
mucea is on a distinguished road
Default

Re: server trick?


Quote:
Originally Posted by chap View Post
no problem use mplayer 0.0.9.0 (MPlayer Sherpya-SVN-r29355-4.5.0)
It certainly works. I wonder what's gotten into these guys with this particular AAC audio encoding, the same thing with VLC rejecting the audio happened in the case of Digi24 (an info channel) which made me actually consider browser broadcast instead of launching rtmpdump+VLC.
Code:
http://www.digi24.ro/static_dev/public_theme_v3/mediaplayer/player.swf?file=digi24live&type=rtmp&streamer=rtmpe://82.76.39.75:80/digi24edge&stretching=full&displayclick=fullscreen&autostart=true
Thanks for the MPlayer tip.
Reply With Quote
  #9  
Old 04-09-2012, 01:56 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: server trick?


Quote:
Originally Posted by mucea View Post
I wonder what's gotten into these guys with this particular AAC audio encoding, the same thing with VLC rejecting the audio happened in the case of Digi24 (an info channel) which made me actually consider browser broadcast instead of launching rtmpdump+VLC.
because they are morons. IIRC many videos served by mediadirect.ro also have freezing frames problem.

Last edited by KSV : 04-09-2012 at 04:06 AM.
Reply With Quote
  #10  
Old 04-09-2012, 05:59 AM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: server trick?


Hi
The aac codec used in the downloaded flv files from nationaltv.ro is shown by MediaInfo to be:-
"Codec ID : 10".
It seems that modern versions of FFplay and VLC and MPlayer can't play it but older versions of VLC and MPlayer can play it OK.
Is this because it's an "old" codec that libavcodec have deliberately dropped, or is it a libavcodec "regression"?
Or is there something wrong with their equipment at nationaltv.ro?
Any ideas?


Code:
FFmpeg/libavcodec audio decoders
[aac @ 0x8c5e500]960/120 MDCT window is not implemented.
Update your FFmpeg version to the newest one from Git.
If the problem still occurs, it means that your file has a feature which has not been implemented.
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 02:10 AM.


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