Problem playing a certain TV stream

Internet TV, Radio, Podcasts
grolschie
Posts: 35
Joined: Mon Jun 14, 2010 10:26 pm

Problem playing a certain TV stream

Post by grolschie »

Hello.

Here is the URL:
mms://a120.l7085830119.c70858.g.lm.akamaistream.net/D/120/70858/v0001/reflector:30119

Clicking "Read properties from a file" shows that its 640x480 WMV.

However, a test transcode show the following:
"C:\Program Files\Wild Media Server\wmsmpeg.exe" "C:\Program Files\VideoLAN\VLC\
vlc.exe" -Idummy --language=en --sout-ffmpeg-strict-rc --sout=#transcode{vcodec=
mp2v,vb=8000,fps=24,width=464,height=576,scale=1,vfilter=croppadd{paddleft=128,p
addright=128,paddtop=0,paddbottom=0},aspect=16:9,acodec=mpga,ab=192,channels=2,s
amplerate=48000}:duplicate{dst=std{access=file,mux=ps,dst="D:\WMS_TEMP\WmsTemp\T
est_a6fc072af1bed16aef67e7dce2c55ba0.mpg"}} "mms://a120.l7085830119.c70858.g.lm.
akamaistream.net/D/120/70858/v0001/reflector:30119"

[00bf0e64] dummy interface: VLC media player - version 1.0.5 Goldeneye - (c) 199
6-2010 the VideoLAN team
[00bf0e64] dummy interface:
Warning: if you can't access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"

[00bf0e64] dummy interface: using the dummy interface module...
[00cac314] mux_ps mux: Open
[00cb06fc] access_mms access error: failed to open a connection (tcp)
[00cb06fc] access_mms access error: failed to open a connection (tcp)
[00cb06fc] access_mms access error: cannot connect to server
[00cb06fc] access_mms access error: cannot read data 2
Is there anything I can do please? Thanks in advance.
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Problem playing a certain TV stream

Post by Eugene »

Hello,
grolschie wrote:
Here is the URL:
mms://a120.l7085830119.c70858.g.lm.akamaistream.net/D/120/70858/v0001/reflector:30119

Clicking "Read properties from a file" shows that its 640x480 WMV.

However, a test transcode show the following:
"C:\Program Files\Wild Media Server\wmsmpeg.exe" "C:\Program Files\VideoLAN\VLC\
vlc.exe" -Idummy --language=en --sout-ffmpeg-strict-rc --sout=#transcode{vcodec=
mp2v,vb=8000,fps=24,width=464,height=576,scale=1,vfilter=croppadd{paddleft=128,p
addright=128,paddtop=0,paddbottom=0},aspect=16:9,acodec=mpga,ab=192,channels=2,s
amplerate=48000}:duplicate{dst=std{access=file,mux=ps,dst="D:\WMS_TEMP\WmsTemp\T
est_a6fc072af1bed16aef67e7dce2c55ba0.mpg"}} "mms://a120.l7085830119.c70858.g.lm.
akamaistream.net/D/120/70858/v0001/reflector:30119"

[00bf0e64] dummy interface: VLC media player - version 1.0.5 Goldeneye - (c) 199
6-2010 the VideoLAN team
[00bf0e64] dummy interface:
Warning: if you can't access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"

[00bf0e64] dummy interface: using the dummy interface module...
[00cac314] mux_ps mux: Open
[00cb06fc] access_mms access error: failed to open a connection (tcp)
[00cb06fc] access_mms access error: failed to open a connection (tcp)
[00cb06fc] access_mms access error: cannot connect to server
[00cb06fc] access_mms access error: cannot read data 2
Is there anything I can do please? Thanks in advance.
The same message, but transcode the file was successfully created.
Check the directory for temporary files of transcoding.
grolschie
Posts: 35
Joined: Mon Jun 14, 2010 10:26 pm

Re: Problem playing a certain TV stream

Post by grolschie »

Thank you for that. Very interesting. It did actually manage to make a transcode file. Hmm.. but it doesn't seem to stream live to the BDP-S370 even though it's set to transcode to MPG like the other TV streams I have got.

Interestingly, the transoded file seems to have the wrong aspect ratio when played in VLC on my PC. It looks like the original should be 4:3, but it's like a 16:9 frame has been squeeze into a 4:3 frame. Everything looks too thin. I have a couple of streams that play with a similar effect. Is there a way to force a correct aspect ratio please?

Some streams give unsupported or corrupt file error when streaming to the player, yet when attempting to play again, they work. I am not sure why that is.
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Problem playing a certain TV stream

Post by Eugene »

grolschie wrote:Thank you for that. Very interesting. It did actually manage to make a transcode file. Hmm.. but it doesn't seem to stream live to the BDP-S370 even though it's set to transcode to MPG like the other TV streams I have got.

Interestingly, the transoded file seems to have the wrong aspect ratio when played in VLC on my PC. It looks like the original should be 4:3, but it's like a 16:9 frame has been squeeze into a 4:3 frame. Everything looks too thin. I have a couple of streams that play with a similar effect. Is there a way to force a correct aspect ratio please?

Some streams give unsupported or corrupt file error when streaming to the player, yet when attempting to play again, they work. I am not sure why that is.
Settings-Transcoder-Profiles-"Internet-television"-Edit-Transcoding parameters
Try replace on

Code: Select all

function GetAudioCodec(const aFileFormat: string): string;
begin
  if SameText(aFileFormat, 'ASF (Windows Media Format)') then
    Result := 'wma2'
  else
    Result := 'mpga'
end;

function GetFileFormat(const aFileFormat: string): string;
begin
  if SameText(aFileFormat, 'ASF (Windows Media Format)') then
    Result := 'asf'
  else if SameText(aFileFormat, 'MPEGTS (MPEG Transport Stream)') then
    Result := 'ts'    
  else if Pos('SONY', UpperCase(cfgDeviceType)) > 0 then
    Result := 'ps'
  else  
    Result := 'mpeg1'
end;

function GetVideoCodec(const aFileFormat: string): string;
begin
  if SameText(aFileFormat, 'ASF (Windows Media Format)') then
    Result := 'wmv2'
  else
    Result := 'mp2v'  
end;

const
  csVideoLanParams =
    '"<VLC>" -Idummy --language=en --sout-ffmpeg-strict-rc --sout=#transcode' +
    '{vcodec=%s,vb=%d,fps=%s,scale=1,acodec=%s,ab=%d,channels=2,' +
    'samplerate=48000%s}:duplicate{dst=std{access=file,mux=%s,dst="<OUTPUT FILE>"}}' +
    ' "<INPUT FILE>"'; //  vlc:quit
    
var 
  bVLC098: Boolean;
  sPadFormat, sFrameRate, sPadParams, sDeinterlace: string;  
begin
  bVLC098 := WmsVlcVersion >= '0.9.8';
  if WmsGetVideoSettings(vstDeinterlace) = 'on' then 
    sDeinterlace := ',deinterlace'
  else
    sDeinterlace := '';
  if mpInternetItem then
    sFrameRate := '24'
  else if cfgTranscodingFrameRate <> '' then                                      
    sFrameRate := cfgTranscodingFrameRate
  else if mpFrameRate > 0 then
    sFrameRate := FormatFloat('0.000', mpFrameRate)
  else
    sFrameRate := '25';
  if SameFloat(sFrameRate, '23.976') then
    sFrameRate := '24'
  else if SameFloat(sFrameRate, '29.970') then
    sFrameRate := '30'
  else if SameFloat(sFrameRate, '59.940') then
    sFrameRate := '60';
  TranscodingParams := Format(csVideoLanParams, 
                               [GetVideoCodec(cfgTranscodingFileFormat),
                                12000, sFrameRate,
                                GetAudioCodec(cfgTranscodingFileFormat),
                                Min(cfgTranscodingAudioBitrate div 1000, 192),
                                sDeinterlace, GetFileFormat(cfgTranscodingFileFormat)])
end.
grolschie
Posts: 35
Joined: Mon Jun 14, 2010 10:26 pm

Re: Problem playing a certain TV stream

Post by grolschie »

Thanks for that. The URL I posted above now just sits loading and loading....

But, I have a big problem now. After changing a transcoding setting, I saw a Windows Disk Missing (or something) error, and now all my streams are gone. All the TV and Radio streams are gone. When I view the any of the "Movie", "Music" or "Photo" folders on the player all I now see are only 3 options: "Media Database", "Media Device" and "Media Server". Everything is gone. All my disk drives are visable in Windows Explorer, so I don't know what has happened.

EDIT: The table field in WMS just says: <No data to display>
grolschie
Posts: 35
Joined: Mon Jun 14, 2010 10:26 pm

Re: Problem playing a certain TV stream

Post by grolschie »

It appears that my entire WMS database disappeared. All my TV and radio presets, and local media, gone. I had set it to not show emtpy folders. After a re-scan the local media is back, but no Internet TV streams. I did an export of my radio presets (and have re-imported them), but not my tv presents.

Maybe I clicked something wrong? I quite often click accidentally with my trackpad.
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Problem playing a certain TV stream

Post by Eugene »

grolschie wrote:Thanks for that. The URL I posted above now just sits loading and loading....

But, I have a big problem now. After changing a transcoding setting, I saw a Windows Disk Missing (or something) error, and now all my streams are gone. All the TV and Radio streams are gone. When I view the any of the "Movie", "Music" or "Photo" folders on the player all I now see are only 3 options: "Media Database", "Media Device" and "Media Server". Everything is gone. All my disk drives are visable in Windows Explorer, so I don't know what has happened.

EDIT: The table field in WMS just says: <No data to display>
grolschie wrote:It appears that my entire WMS database disappeared. All my TV and radio presets, and local media, gone. I had set it to not show emtpy folders. After a re-scan the local media is back, but no Internet TV streams. I did an export of my radio presets (and have re-imported them), but not my tv presents.

Maybe I clicked something wrong? I quite often click accidentally with my trackpad.
Backups: Help - Backup.
If define the sequence of clicks leading to the error, then I'll try to fix this problem.
grolschie
Posts: 35
Joined: Mon Jun 14, 2010 10:26 pm

Re: Problem playing a certain TV stream

Post by grolschie »

Oh dear. I didn't see that option. That is a very nice feature. Thank you very much. I have started entering my presets again, and will definitely use the backup feature. Thanks very much.
grolschie
Posts: 35
Joined: Mon Jun 14, 2010 10:26 pm

Re: Problem playing a certain TV stream

Post by grolschie »

Eugene wrote: Settings-Transcoder-Profiles-"Internet-television"-Edit-Transcoding parameters
Try replace on....
Thanks for this. It works. When applied to 4:3 channels it does stretch nicely to 16:9. :)

I have one channel where is seems that it's being cropped at the top and bottom to fit 16:9:
http://live.onestreaming.com/elladatv

Is there a way around this also please? Thanks in advance.
grolschie
Posts: 35
Joined: Mon Jun 14, 2010 10:26 pm

Re: Problem playing a certain TV stream

Post by grolschie »

Correction: Please ignore the part about the missing disk error. That was an message relating to another application that I was running at the same time. I am sorry about that.
Post Reply