Sign up here and you can log into the forum!

Auto framerate/resolution plugin for WDLXTV

Here is the place to inquire about app.bins--Only currently available apps for sigma 8655 based wdtv's belong in this forum. requests go in 'Application Questions'

Re: Auto framerate/resolution plugin for WDLXTV   

Postby psychodad » Wed Jun 23, 2010 4:01 am

saying autores.sh is a big collection of errors is really harsh because its the script file :lol:
ok, autores.log says the plugin loads correctly.
leds are on and you have no /tmp/autores.tmp file during playback, that means some error occured. maybe the file extension of your video is unknown to
the script. please tell me the file name of the video you are playing and where it is located.

you can watch what the script is doing when playing files. to do so get the wdtvext app.bin: http://www.mediafire.com/?0yqyotiimqg
put it on your usb stick too and reboot the wd. this enables logging to /tmp/dmaosd.log
now you can watch on console whats going on when starting videos with: tail -f /tmp/dmaosd.log
psychodad
Developer
 
Posts: 186
Joined: Thu May 06, 2010 8:42 am

Re: Auto framerate/resolution plugin for WDLXTV   

Postby inspectah_deck » Wed Jun 23, 2010 5:14 am

sorry didn´t mean to critisize your hard work, i was waiting for this functionality since i bought the wd 2nd gen 2 years ago, thought it was some kind of log and the errors are there because it´s not working for me. :oops: :)

thanks for the tip with the wdtvext app.bin.
it´s working now, i found the problem: :D
it was because of the sound.
Code: Select all
*****************************************************************************************************
*                                                                                                   *
*                         auto resolution/framerate plugin by psychodad                             *
*                                                                                                   *
*****************************************************************************************************
ERROR: current audio output mode is invalid, exiting ...
*****************************************************************************************************
ID: [The Dark Knight.mkv / 11.40GB]
pure_rnd_player_stop_cb[1235], player->state = 2
pure_rnd_player_stop_cb[1235], player->state = 2
0 :(1/0) 1
1 :(5/2) 10728
2 :(9/8) 1920X1080
3 :(1/18) 0
4 :(19/20) The Dark Knight.mkv
10 :(105/45) file-get:*:video/x-matroska::DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=00000000001000000000000000000000
0 :(1/0) 1
1 :(5/2) 10728
2 :(9/8) 1920X1080
3 :(1/18) 0
4 :(19/20) The Dark Knight.mkv
10 :(105/45) file-get:*:video/x-matroska::DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=00000000001000000000000000000000

my setting was set to stereo sound, because i don´t have a dts receiver, when i choose digital, everything works fine (except for the 25fps movies sound stuttering at 1080p50hz, but i think this is a problem with the firmware itself).
how do i have to change the conf to always force stereo output over hdmi?
inspectah_deck
WDTVer
 
Posts: 22
Joined: Wed Jun 16, 2010 4:49 pm

Re: Auto framerate/resolution plugin for WDLXTV   

Postby psychodad » Wed Jun 23, 2010 5:46 am

ERROR: current audio output mode is invalid, exiting ...


ups, thats maybe a bug you found. you are using a wd gen2 right?
script should work for stereo mode too of course. can you please do me a favor?
please set audio output to digital and the look into the file /conf/config for the AUDIO_OUT setting. then set audio output to stereo and do the same again.
please let me know the AUDIO_OUT setting for both cases. maybe its different on wd gen2, i own a wd live only.

until i fixed this you can force stereo by setting:

audio_modes="
*:stereo
"

in /conf/autores.conf
psychodad
Developer
 
Posts: 186
Joined: Thu May 06, 2010 8:42 am

Re: Auto framerate/resolution plugin for WDLXTV   

Postby inspectah_deck » Wed Jun 23, 2010 6:13 am

i only own a wd live, sold my wd 2gen some time ago, sorry can´t help you there.

thx for all the help, it´s working like a charm now. :D
this is really the best functionality since the launch of the wdtv. ;)
inspectah_deck
WDTVer
 
Posts: 22
Joined: Wed Jun 16, 2010 4:49 pm

Re: Auto framerate/resolution plugin for WDLXTV   

Postby thespecialist » Wed Jun 23, 2010 6:14 am

inspectah_deck wrote:this is really the best functionality since the launch of the wdtv. ;)

+1.
I couldn't use the WDTV Live without this plugin anymore, seriously :)
thespecialist
Developer
 
Posts: 410
Joined: Sat Apr 24, 2010 6:59 am

Re: Auto framerate/resolution plugin for WDLXTV   

Postby psychodad » Wed Jun 23, 2010 7:46 am

thx specialist, im glad to hear that :)

nevertheless, there must be a reason why it says invalid audio mode if you set stereo in the wd config menu. please post the contents of your conf/config file if you set to stereo and check again if script fails then. i want to fix that.
psychodad
Developer
 
Posts: 186
Joined: Thu May 06, 2010 8:42 am

Re: Auto framerate/resolution plugin for WDLXTV   

Postby KAD » Wed Jun 23, 2010 9:11 am

so after getting my daughter off the tv, I got a chance to breifly try this last night, on my wdtvlive it didn't seem to work, led's did not power off, resolution on the tv did not change, tried playing several files 1080p m2ts files with 23.976fps, tried 480p mkv with 29fps, etc but then I'm using sterio setting for audio, so I'll try on digital when I get home

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4006
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Auto framerate/resolution plugin for WDLXTV   

Postby Alicia » Wed Jun 23, 2010 10:29 am

thespecialist wrote:
inspectah_deck wrote:this is really the best functionality since the launch of the wdtv. ;)

+1.
I couldn't use the WDTV Live without this plugin anymore, seriously :)


That's why I also like to enjoy it, but I am one of the early adopters with a WDTV Gen1, and afaik it's not available for Gen1.... :|

I read a ffmpeg binary for gen1 is needed. Has anyone already picked that up ?
1.03.01-WDLXTV 0.5.8.1 + Cylent ShowcaseV2 Mod + pure-ftpd + nfs
User avatar
Alicia
DLX'er
 
Posts: 180
Joined: Sun Apr 25, 2010 12:08 pm
Location: the Netherlands

Re: Auto framerate/resolution plugin for WDLXTV   

Postby migube » Wed Jun 23, 2010 11:54 am

t's how my file looks like;
output_modes="
60fps:108060
50fps:1080p50
24fps:1080p24
23.976:1080p23
Dbox:576i
\.iso$:1080p50
*:1080p60|1080p50|1080p24|1080p23|1080i60|1080i50|720p60|720p50|576p50|576i50|480p60|480i60
"

with Dbox I select TV recordings in the Dbox folders to 576i
with 24fps, I rename some iso files so that it's recognized, as iso's don't work with ffmeg.

debug via tail -f /tmp/dmaosd.log
-----
WdTvLive - LG BD390 - Philips 47PFL8404h - Yamaha RXV-667 - DM7000 - Synology 107+ - HP Touchpad (Webos)
migube
Global Moderator
 
Posts: 162
Joined: Thu Apr 08, 2010 7:23 am

Re: Auto framerate/resolution plugin for WDLXTV   

Postby psychodad » Wed Jun 23, 2010 12:25 pm

your dbox setting is missing the frequency. use 576i50 instead 576i.
psychodad
Developer
 
Posts: 186
Joined: Thu May 06, 2010 8:42 am

PreviousNext

Return to WDLXTV-G2 & WDLXTV-Live/Plus app.bins

Who is online

Users browsing this forum: No registered users and 1 guest