Autor Thema: SmartDVB  (Gelesen 13890 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline jackjavo

  • Entwickler
  • *****
  • Beiträge: 407
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #15 am: 06 Mai, 2014, 00:17 »
ok i'll send you some test versions with regards to that PIP problem (i might have noticed something, but i didn't see the detereoration but i did see too high cpu usage compared to with timeshift so this might do something for u, presuming high cpu usage results in bad video for u).
The UDP bandwidth still showing 3-4 mbit would be ok, it shows the actual processed data there from inside the app, which before would be the same as outputted, but not now if transcoding is enabled. Did you try increasing the udp buffer (to 600 KB for example?), and do you still see buffer overruns there, otherwise it would be logical that the transcoded stream is also broken if data is still being lost at the send side.

Offline dada

  • Aufpass-Cubie
  • *****
  • Beiträge: 353
  • Ein leerer Kopf nickt leichter
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #16 am: 06 Mai, 2014, 01:03 »
yes, i did increase the buffer size to 500 kb which eliminated buffer overruns but did not improve the video quality on the client.
System:
MB ASUS ROG Maximus Ranger VIII, iGPU Intel 530, 2x8GB RAM HyperX Fury, CPU Intel Core i7-6700K, M2SSD Samsung 950 Pro 512 GB, HD Samsung 2TB, Tevii S660 USB an Rotor, Schaltung über Uncommited Schalter. DVBViewer, SmartDVB, Windows 10 Pro 64 bit.
[close]

Online ritschibie

  • Aufpass-Cubie
  • *****
  • Beiträge: 10503
  • Ich liebe dieses Forum!
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #17 am: 06 Mai, 2014, 17:38 »
Hi

Just wanted to inform on preliminary results of testing 04.xx beta on my system:

- loosing/freezing frames is reduced heavily in the beta. It occurs now mainly if you use menu commands during stream (e.g.
  setting recording time).

- UDP streaming to my Android 4.3 device (60 MBit/s) did first not work at all though having an elaborated install advice from dada
  (thx dada  :) ). Only after inserting the @ before the IP adress in VLCbeta for Android (and in the VPlayer) the network stream
  was received. Unfortunately, the stream appeared mostly as a green tapestry with some artefact picture in the top lines of the IPS panel
  even after an increase of the buffer to 500 KB.

- No other problems seen until now besides the UDP.

Thx for the beta

Ritschie
Intel Core i7-4770K - ASRock Z87 Extreme6/ac - Crucial Ballistix Sport DIMM Kit 16GB, DDR3-1600 - Gigabyte Radeon R9 290 WindForce 3X OC
TBS DVB-S2 Dual Tuner TV Card Dual CI  - DVBViewer pro 5.3 und Smartdvb 4.x.x beta - 80 cm Schüssel, 2xQuad-LNB - Astra (19.2E)/Hotbird (13E)
I-net mit Motzfuchs ; WLAN: Fritz 7390; BS: Windows 10

Offline jackjavo

  • Entwickler
  • *****
  • Beiträge: 407
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #18 am: 06 Mai, 2014, 22:05 »
Hi ritschibie,

Good to hear from you again, were you vacation?

So is it somewhat acceptable now the freeze issue? Also, some time ago you mentioned, if i recall correctly, your records through ci were also broken sometimes. I wonder if this also might have been related to those timeshift issues.

Looks like i'll have to do some more testing with the UDP streaming :). Btw 60 MBit/s sounds like your're streaming the entire transport stream, are you able to see something when streaming single stations or still just mummification artefacts? I'd also like to see if your android device fares better with HTTP streaming, since i was under the impression this might/could work better on more devices. Besides that i use HTTP also to control server/client modes etc.

no problem,
JackJavo


Online ritschibie

  • Aufpass-Cubie
  • *****
  • Beiträge: 10503
  • Ich liebe dieses Forum!
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #19 am: 06 Mai, 2014, 23:21 »
Yeah Jack, had lots of vacation last 4 month  :)

The freeze issue is more than acceptable it practically vanished with the beta! What you should look at is that whenever a menue command is clicked soon afterwards (at least on my system) I get a frame issue be it SD or HD stream. Maybe you can verify that? With frame loss at practically zero I get excellent recordings  :)

My tablet is an Asus TF700 ( http://eee.asus.com/en/transformer-infinity/features ) Infinity Pad with (still) up to date specs. Of course I tried to set up a HTTP streaming but did not succeed yet. Must work on this. The 60 MBit/s related to the max WLan speed from the tablet to the WLan router.
Maybe someone here already succeeded in putting up the HTTP stream and gives a little install help?

All the best
Ritschie
Intel Core i7-4770K - ASRock Z87 Extreme6/ac - Crucial Ballistix Sport DIMM Kit 16GB, DDR3-1600 - Gigabyte Radeon R9 290 WindForce 3X OC
TBS DVB-S2 Dual Tuner TV Card Dual CI  - DVBViewer pro 5.3 und Smartdvb 4.x.x beta - 80 cm Schüssel, 2xQuad-LNB - Astra (19.2E)/Hotbird (13E)
I-net mit Motzfuchs ; WLAN: Fritz 7390; BS: Windows 10

Offline dada

  • Aufpass-Cubie
  • *****
  • Beiträge: 353
  • Ein leerer Kopf nickt leichter
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #20 am: 06 Mai, 2014, 23:54 »
I created ffmpeg logs for transcoded UDP streaming: https://www.dropbox.com/s/6iwiz959bzscnn5/ffmpeg-20140506-233552.log
https://www.dropbox.com/s/5l4ogh5qt2doq40/ffmpeg-20140506-233550.log
Having trouble to get HTTP streaming going although I think I know what I am doing  :-\
However, I installed the test version in "testsmartdvb" (in "program files")  to not corrupt 0.3.5. Could this be the reason why clients can't show the stream? I tried the ts version with /smartdvb.ts appended.
System:
MB ASUS ROG Maximus Ranger VIII, iGPU Intel 530, 2x8GB RAM HyperX Fury, CPU Intel Core i7-6700K, M2SSD Samsung 950 Pro 512 GB, HD Samsung 2TB, Tevii S660 USB an Rotor, Schaltung über Uncommited Schalter. DVBViewer, SmartDVB, Windows 10 Pro 64 bit.
[close]

Offline jackjavo

  • Entwickler
  • *****
  • Beiträge: 407
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #21 am: 07 Mai, 2014, 01:37 »
@rischibie: I cannot really recreate that here locally (the fame loss when selecting menu commands, but i'll look at it closer tomorrow, getting late here now)..
@dada: thanks for the ffmpeg logs, first one seems reasonable, i'll need to check it better tomorrow. Second one is small and doesn't seem to process any input, was it tuned to a working frequency/station at that moment? Might be that for some reason your system has problems with ffmpeg, could be performance related, but not sure.
With regards to the HTTP streaming, what are your settings in tools > settings > http streaming? The host/port entered there should be the one from the machine where you are streaming the HTTP stream, so contrary to UDP you don't enter the address from the receiving side (client). You should also be able to access the normal /smartdvb http stream (without the .TS), i've had reports that that worked better with android for some user. Also, about your HD problems, might also be that the transport stream format simply isn't well liked by android and it's clients, it's not the best suported or well liked format on windows players either i know from that past. Maybe for android some better transcode alternative might be looked at (there's also the .FLV transcode at this moment, although that was more setup for the webinterface in the future, not with android at mind). I'm talking about the container format that's send beit with UDP or HTTP, this is the same DVB ts format, but through transcode could be modified to other types ofcourse perhaps better suited for streaming to android devices. I'm not much into android to be honest so i would have to investigate that some.

Late here i'll get back to this tomorrow :)
best regards and thanks for the testing, all the best to you too btw Ritschibie!.
jack

Offline jackjavo

  • Entwickler
  • *****
  • Beiträge: 407
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #22 am: 07 Mai, 2014, 01:50 »
something else I remembered which I thought I might mention. Some other user reported being able to stream to an old android device, using http/transocoding (latter necessary for hd for him), with the mxplayer though, so might be worth a try too, or you might even have that player installed too perhaps (either of you).
goodnight :).
edit: I read what this user wrote. He did set the audio bitrate to 64k (instead of the 128k it's set to now) and also the resolution to -s 320x200 (you might need to preplace/remove the %resolution% ffmpeg command line parameter), this might be a more android compatible screen size (I saw you asking about ffmpeg cmd line parameters in the shout dada). Btw I'm thinking it might be a good idea to add some kind of profiles or presets for this because not all people will want or like to mess with ffmpeg cmd line.
edit2: also specifically related to UDP streaming, I read somewhere others had more success with a player called GoodPlayer on Android. But like mentioned previously this is not a natively supported streaming option on android so one would expect this might be more problematic on more android devices.
edit3: dada, also about HTTP streaming, when you first setup this did you get the message that you needed to register the interfaces by running smartdvb with administrator privileges at least once? (this is required by the used http API, to register/bind the entered http address on your machine, should only be needed one time after the registration is done the app can be run normally again without admin privileges)..
« Letzte Änderung: 07 Mai, 2014, 11:28 von jackjavo »

Offline jackjavo

  • Entwickler
  • *****
  • Beiträge: 407
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #23 am: 08 Mai, 2014, 15:59 »
dada: did you have more luck with the HTTP streaming (btw is this perhaps also with transcoding enabled or disabled?).

Btw i don't think the seperate 0.3.5 installation could hamper other installations, smartdvb is setup quite portable (only exception being if you use application data folder, but that's just config .ini data)

Also about http streaming when you look at the smartdvb.log do you see lines like:

>Streamer listening for requests on the following url: http://192.168.0.102:8080/smartdvb/
>15:48:42 - 760630 : Streamer listening for requests on the following url: http://192.168.0.102:8080/smartdvb/

this would indicate the streamer initialized correctly and is waiting for connections.

Also about the ffmpeg reports, i had some time now to investigate that, i think it might simply be timing related. The option '-analyzeduration 2000000' gives ffmpeg 2 seconds to analyze the stream, no problem with my i5 but your leverage may vary of course :), so try increasing this option to 20000000 or even higher, or simply remove it ffmpeg waits for quite long time by default. I tried to reduce init times as much as possible ofcourse to spead up the streaming. This also might be made somewhat easier by adding some additional config for this too (slow system, medium system, high speed system etc etc).
The second almost empty ffmpeg log would indicate this would be the problem on your system with regards to transcoding, which seems logical ofcourse :)

br

Offline dada

  • Aufpass-Cubie
  • *****
  • Beiträge: 353
  • Ein leerer Kopf nickt leichter
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #24 am: 09 Mai, 2014, 19:45 »
Hi. The not-working HTTP streaming was a firewall problem of the host PC, although I had enabled access to Smart in the list. Turning it off entirely solved all problems with streaming to another PC or android device. The firewall had blocked access to the stream.
Yes, I saw that you implemented 2 sec for stream analysis but have not tested this yet. However I reduced audio to 64 but did not see any difference in the Bandwidths. Analysis time is a good point because transcoding occasionally seemed to work, I''test that.
System:
MB ASUS ROG Maximus Ranger VIII, iGPU Intel 530, 2x8GB RAM HyperX Fury, CPU Intel Core i7-6700K, M2SSD Samsung 950 Pro 512 GB, HD Samsung 2TB, Tevii S660 USB an Rotor, Schaltung über Uncommited Schalter. DVBViewer, SmartDVB, Windows 10 Pro 64 bit.
[close]

Offline jackjavo

  • Entwickler
  • *****
  • Beiträge: 407
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #25 am: 09 Mai, 2014, 21:39 »
Hi. Ohh ok :) Of course when streaming you always need have firewalls at mind (beit software or hardware). I honestly didn't think of that in your situation because you mentioned that UDP streaming worked ok, normally from my limited experience btw, firewalls have more trouble with passing UDP packets through on strange ports. I chose HTTP mainly because there should be less problems when using the HTTP protocol in combination with firewalls since mostly these are setup to allow such traffic due to browsers etc. Might be though that the firewall has problems with the odd port HTTP requests (usually port 80 is used for HTTP requests/responses).
Btw your record transcode issues you mentioned through pm might also be -analyzeduration related, worth a try also :). Thanks for the extremely extensive tests you've done, also good to know everything works on older xp system (haven't done much tests with xp myself lately). So even HD works better with Android with HTTP? That's how i would have expected it, since that protocol seems to be natively supported by most android systems, they should be able to handle that better. And did you end up using the MX player or VLC? I did some tests myself and the VLC beta's  i tried seem to have problem with transport streams, which windows VLC play without problems..
edit: btw also transport stream should be supported quite well by android (3.0+), natively even, so i was kinda mistaken above. So unless you have a very old Android OS on your device .TS streams support should be ok. And even those older versions could run .TS with the right player, just no native android support, it all depends on the software too of course. Also audio bandwith is usually not comparable to video bandwidth and thus you should be able to stream audio only in quite a good quality..
« Letzte Änderung: 09 Mai, 2014, 21:50 von jackjavo »

Offline dada

  • Aufpass-Cubie
  • *****
  • Beiträge: 353
  • Ein leerer Kopf nickt leichter
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #26 am: 09 Mai, 2014, 22:36 »
you are right. I did not suspect the firewall because UDP worked ok and I had the setup right, or so I thought. On android device (JB 4.1.2) the vplayer seemed to work best but the MXplayer or the VLC beta also performed and also HD was no problem except the buffer problem on the client which I have not looked at thoroughly. And also yes, the ts stream worked very well on my android device. I did not use (purposely) port 80 but several other ones which should not have been blocked by the firewall. I'll try the transcoding records with increased analysis times and report!
System:
MB ASUS ROG Maximus Ranger VIII, iGPU Intel 530, 2x8GB RAM HyperX Fury, CPU Intel Core i7-6700K, M2SSD Samsung 950 Pro 512 GB, HD Samsung 2TB, Tevii S660 USB an Rotor, Schaltung über Uncommited Schalter. DVBViewer, SmartDVB, Windows 10 Pro 64 bit.
[close]

Offline dh

  • Einmalposter
  • *
  • Beiträge: 9
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #27 am: 10 Mai, 2014, 16:25 »
Hi,

SmartDVB crashes if a plugin wants to open its own window.

Cheers dh

Offline jackjavo

  • Entwickler
  • *****
  • Beiträge: 407
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #28 am: 10 Mai, 2014, 16:33 »
@dada: ok i'll await futher reports :). Btw about the HTTP HD streaming, is that with and without transcoding? You didn't have stream problems streaming full hd without transcoding concerning fluent video? I would expect this to also work btw especially on local LAN, bandwidth should be more than sufficient.
@dh: i think this is a known and hopefully fixed issue with the current beta, i'll send you a pm about this..

Offline dada

  • Aufpass-Cubie
  • *****
  • Beiträge: 353
  • Ein leerer Kopf nickt leichter
Re: SmartDVB 0.4.0 Beta 1 released
« Antwort #29 am: 10 Mai, 2014, 22:42 »
streaming HD video worked fine with (ts) and without transcoding on PC and android, I only had some buffer problems on the client side. The clients seemed to be waiting for signal. I will have to look at that further. Video quality was very good but was all local lan or wlan.
System:
MB ASUS ROG Maximus Ranger VIII, iGPU Intel 530, 2x8GB RAM HyperX Fury, CPU Intel Core i7-6700K, M2SSD Samsung 950 Pro 512 GB, HD Samsung 2TB, Tevii S660 USB an Rotor, Schaltung über Uncommited Schalter. DVBViewer, SmartDVB, Windows 10 Pro 64 bit.
[close]