作者: toylet 時間: 2012-11-21 20:43 標題: Linux support for Mygica X8558 PRO
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2012-11-21 21:23
can you scan any channel, what is the kernel version ?
作者: toylet 時間: 2012-11-21 21:33
提示: 作者被禁止或刪除 內容自動屏蔽
作者: keaniny 時間: 2012-11-21 22:18
期待 ... 結果 ~

如 Mygica x8558 Pro 可完全 support, 即刻要仆去買返張 ~
作者: toylet 時間: 2012-11-21 22:27
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2012-11-22 03:56
from linux kernel driver, the following chips are "mentioned"
#define LGS8GXX_PROD_LGS8913 0
#define LGS8GXX_PROD_LGS8GL5 1
#define LGS8GXX_PROD_LGS8G42 3
#define LGS8GXX_PROD_LGS8G52 4
#define LGS8GXX_PROD_LGS8G54 5
#define LGS8GXX_PROD_LGS8G75 6
they may or may not work.
to toylet, can you "scan" the channel without mythtv, it is because a simple "scan" will tell alot of thing.
作者: db3 時間: 2012-11-22 11:40
等報告, 如果 SUPPORT 呢個星期六去買
作者: VADER 時間: 2012-11-22 13:36
我們都在監視你......
作者: VADER 時間: 2012-11-22 13:37
你成功了
作者: db3 時間: 2012-11-22 13:56
暫時見到最平 hk$410 金的士, 比各位 ching 參考
作者: toylet 時間: 2012-11-22 17:40
提示: 作者被禁止或刪除 內容自動屏蔽
作者: ricoba 時間: 2012-11-22 17:52
That's a good news, looking forward for your MythTV testing.
作者: toylet 時間: 2012-11-22 20:00
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2012-11-22 20:15
which modules were loaded. what is the dmesg ?
do you have the command "scan" or "t_scan" in your system ?
作者: toylet 時間: 2012-11-22 20:37
提示: 作者被禁止或刪除 內容自動屏蔽
作者: toylet 時間: 2012-11-22 21:22
提示: 作者被禁止或刪除 內容自動屏蔽
作者: toylet 時間: 2012-11-22 21:46
提示: 作者被禁止或刪除 內容自動屏蔽
作者: toylet 時間: 2012-11-22 23:55
提示: 作者被禁止或刪除 內容自動屏蔽
作者: toylet 時間: 2012-11-23 00:05
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2012-11-23 05:10
8558 is using atbm8830, it may be wrongly identified as d689 as well. can you unplug the d689 and do the "scan" again. w_scan will use the first adaptor (/dev/dvb/adaptor0) by default. so your result above may come from d689. i can watch tv with the command
scan /usr/share/dvb/dvb-t/hk-HongKong > ~/channels.conf
vlc channels.conf
i think scandvb will do the same thing.
作者: toylet 時間: 2012-11-23 17:38
提示: 作者被禁止或刪除 內容自動屏蔽
作者: toylet 時間: 2012-11-23 20:59
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2012-11-23 22:55
this is my channels.conf, i use vlc to see digital tv
- J2:586000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:821:0:82
- iNews:586000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:831:0:83
- High Definition Jade:586000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:851:0:85
- Asia:602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:121:0:12
- TVS:602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:131:0:13
- CCTV-1:602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:151:0:15
- SZTV:602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:171:0:17
- Jade:482000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:811:0:1
- Pearl:482000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:841:0:2
- Home :482000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:111:0:11
- World :482000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:161:0:16
作者: toylet 時間: 2012-11-23 23:00
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2012-11-24 06:50
i am using archlinux. scan was come from linuxtv-dvb-apps
scan /usr/share/dvb/dvb-t/hk-HongKong > channels.conf
my device is d689.
wait, 8558 pro has dual tuner, plus d689, so you should have 3 /dev/dvb/adaptor ?
作者: toylet 時間: 2012-11-24 13:10
提示: 作者被禁止或刪除 內容自動屏蔽
作者: toylet 時間: 2012-11-24 15:54
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2012-11-24 16:58
see this
http://askubuntu.com/questions/1 ... ream-record-for-vlc
作者: toylet 時間: 2012-11-24 18:09
提示: 作者被禁止或刪除 內容自動屏蔽
作者: toylet 時間: 2012-11-24 19:56
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2012-11-24 20:44
i try your code and do not get greenish screen. maybe there is some options for each channel.
作者: toylet 時間: 2012-11-24 20:45
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2012-11-24 20:51
no, mine is d689.
作者: toylet 時間: 2012-11-24 22:42
提示: 作者被禁止或刪除 內容自動屏蔽
作者: toylet 時間: 2012-11-25 17:31
提示: 作者被禁止或刪除 內容自動屏蔽
作者: toylet 時間: 2012-11-25 17:41
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2012-11-26 05:06
本帖最後由 chancho 於 2012-11-26 12:49 編輯
very good, hope you enjoy your card. you know vlc can do streaming, so you can watch tv on other computer.
ps. i only found 2 shops in ssp selling tv cards, hope other c-hing share their experience.
作者: toylet 時間: 2012-11-26 15:44
提示: 作者被禁止或刪除 內容自動屏蔽
作者: chancho 時間: 2012-11-26 16:58
no, my system is a tiny i3-2100 connect to my TV in living room mainly for watching tv and movies, and also web surfing. i have a rt-n16 (tomatousb) connected to a usb hard drive for nas (and bt). so, no need for video streaming.
作者: toylet 時間: 2012-11-28 17:52
提示: 作者被禁止或刪除 內容自動屏蔽
作者: ksng 時間: 2012-11-28 21:53
錄到.... 但是個畫面.... 亦失去次音軌和字幕.... Problem of libmux_ts_plugin?
還有: Jade 無事, 無綠色 ...
toylet 發表於 2012-11-24 19:56
I also got similar problem when watching ATV CCTV and SZTV or playing their recorded files.
Problem is the ATV h264 encoding for these 2 channels not compatible with ffmpeg based players. There was also problem for ATV World during Olympic period this year after changing to h264. Then a few weeks later, the problem suddenly disappeared ... probably they've changed the h264 characteristics to make it more widely compatible. I've sent an email to ATV regarding CCTV and SZTV problem but got no response.
作者: ksng 時間: 2012-11-28 22:03
Did you use Mygica X8558 Pro?
My /dev/dvb/adapter0 and /dev/dvb/adapter1 are the dual tuners of X85 ...
toylet 發表於 2012-11-24 20:45
I've got X8558 Pro and ASUS u3100. Both got greenish problem for CCTV.
BTW, I found one physical issue with 8558 Pro due to the slot arrangement of most motherboards being in the order --- PCI-E x16 (for display card), then PCI-E (for X8558Pro), then the 2 PCI slots. There's very narrow space between PCIE x16 & PCIE slots, affecting air flow from the fan of my Nvidia GeForce 9300 display card. As a result, temperature of the Nvidia GPU is 15 deg Celsius higher after installing 8558 Pro.
作者: toylet 時間: 2012-11-28 22:07
提示: 作者被禁止或刪除 內容自動屏蔽
作者: toylet 時間: 2012-11-28 22:10
提示: 作者被禁止或刪除 內容自動屏蔽
作者: ksng 時間: 2012-11-28 22:17
Do you have VLC streaming examples to share
The command line as used in my streaming script is something like ...
cvlc .... --programs=11 -I dummy --sout '#standard{access=http,mux=ts,dst=:8084}' 1>/dev/null 2>/dev/null
作者: ksng 時間: 2012-11-28 22:23
I am using Asrock E350M1 iTX motherboard, so this is not an issue.
Would sticking heat-sinks to the 3 big chips in X8558 Pro solve all "green box" problem
toylet 發表於 2012-11-28 22:07
IcIc, so you're using xvba + vaapi for h264 acceleration.
The CCTV problem is not related to high temperature (actually high temp is for the display card, not 8558). I got same green problem when using asus u3100 adapter.
作者: toylet 時間: 2012-11-29 00:01
提示: 作者被禁止或刪除 內容自動屏蔽
作者: ksng 時間: 2012-11-29 08:09
Could you please post the full command-line?
Could you record/stream Home/World/CCTV-1/SZTV using m ...
toylet 發表於 2012-11-29 00:01
my vlc (2.0.3) seems to have problem tuning to a frequency. Error is,
VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89e)
[0x8d1bb8] dummy interface: using the dummy interface module...
[0x7f55a0006fa8] dtv access error: cannot set frontend tuning parameters: Invalid argument
[0x7f55a0006fa8] dtv access error: tuning to 586000000 Hz failed
[0x7f55a0006fa8] main access error: Digital broadcasting
[0x7f55a0006fa8] main access error: The selected digital tuner does not support the specified parameters.
Please check the preferences.
----------------------
Still I can use vlc to stream with help of tzap and dvbsnoop as follows:
1. run tzap in a terminal, e.g. tzap -c channel.conf "jade" --- the channel name can be any channel of the carrier frequency, so even "jade" is specified here, vlc can still stream, say, ATV home, TVB pearl, etc.
2. on another terminal, run following to stream TVB Pearl:
dvbsnoop -s ts -tsraw -b|cvlc fd://0 --programs=2 --sout '#standard{access=http,mux=ts,dst=:8080}'
作者: toylet 時間: 2012-11-29 16:20
提示: 作者被禁止或刪除 內容自動屏蔽
作者: ksng 時間: 2012-11-29 17:11
回復 49# toylet
I have 8558Pro on my server running Debian Squeeze, and a asus u3100 on my desktop running Linux Mint 13.
作者: keaniny 時間: 2012-11-29 17:20
回復 50# ksng
咦, squeeze default kernel 2.6.32 都 support 得到?
我仲以為要上 wheezy ~
作者: ksng 時間: 2012-11-29 19:44
回復 51# keaniny
I have to compile the v4l-dvb drivers from source.
作者: ksng 時間: 2012-11-29 19:57
亦搵到另一條有趣的 thread! 好似兮香港人問的....
Can I record two programs in the same freq into two files?
http://forum.videolan.org/viewtopic.php?f=4&t=102828
Can I record two programs in the same freq into two ...
toylet 發表於 2012-11-25 17:41
Even if it can, it's not quite practical since the recordings of the 2 programs need to start and end at the same time. For example we cannot start recording Jade at 10:00 and then Pearl at 10:30.
My recording scripts can also record multiple programs simultaneously and they can start at same or different times. For this purpose, I wrote 2 small C programs: relay.c and tscat.c. 'relay' simply read TS data from stdin, and store into temporarily buffers (total buffer size is limited so new data would overwrite old ones) and is ready for piping to multiple receivers via fifos. 'tscat' is a problem, which when runs, sends a signal to 'relay', asking it to pipe TS data to it. 'tscat' then simply rewrite the TS data to stdout.
Let's say we need to record 2 programs: ATV Home starting at 10:00, and TVB Jade starting at 10:30. Then at 10:00, my script would perform the followings:
1. run 'tzap -c /etc/dvb/channels.conf "jade"' to get the tuner tuned.
2. run 'dvbsnoop -adapter 0 -s ts -tsraw -b | /tmp/relay 0'. TS data are then sent to 'relay' continuously.
3. tscat 0 /tmp/fifo0_16713 | cvlc fd://0 --programs=11 --sout file/ts:/common/tv/file1.ts 1>/dev/null 2>&1
tscat sends a signal to relay requesting it to pipe the TS data into fifo /tmp/fifo0_16713. tscat then pipe the data to vlc via stdout.
At 10:30, recording of TVB Jade starts as follows simply by another instance of tscat + vlc:
tscat 0 /tmp/fifo0_23456 | cvlc fd://0 --programs=1 --sout file/ts:/common/tv/file2.ts 1>/dev/null 2>&1
This tscat instance sends a signal to relay, request it to send the TS data also to it via /tmp/fifo0_23456. Hence relay will then be sending data to 2 clients.
My script takes care of the time duration of each recording. When one of the programs finishes recording, it kills its corresponding tscat + vlc. If all recordings of an adapter has finished, it kills tzap + dvbsnoop as well.
作者: toylet 時間: 2012-11-30 00:58
提示: 作者被禁止或刪除 內容自動屏蔽
作者: ksng 時間: 2012-11-30 07:41
回復 54# toylet
absolutely no problem in recording all the audio and subtitle tracks. I also have no issue in watching or recording all the channels, including Jade/Home/Pearl/World, etc, except CCTV & SZTV which have h264 compatibility issue.
My channels.conf is as follows:
jade:482000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_
32:HIERARCHY_NONE:811:0:1
pearl:482000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1
_32:HIERARCHY_NONE:841:0:2
home:482000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_
32:HIERARCHY_NONE:111:0:11
world:482000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1
_32:HIERARCHY_NONE:161:0:16
j2:586000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:H
IERARCHY_NONE:0:0:82
inews:586000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_3
2:HIERARCHY_NONE:0:0:83
jadehd:586000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_
32:HIERARCHY_NONE:0:0:85
hdtv:602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:
HIERARCHY_NONE:0:0:12
cctv:602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:
HIERARCHY_NONE:0:0:15
sztv:602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:
HIERARCHY_NONE:0:0:17
作者: toylet 時間: 2012-11-30 18:15
提示: 作者被禁止或刪除 內容自動屏蔽
作者: toylet 時間: 2012-11-30 22:37
提示: 作者被禁止或刪除 內容自動屏蔽
作者: ksng 時間: 2012-11-30 22:46
回復 56# toylet
Don't have DVBSNOOP has much update. You may download a source tarball from http://sourceforge.net/projects/dvbsnoop, then untar it, run ./autogen.sh, make, make.
作者: toylet 時間: 2012-11-30 23:18
提示: 作者被禁止或刪除 內容自動屏蔽
作者: toylet 時間: 2012-12-1 00:48
提示: 作者被禁止或刪除 內容自動屏蔽
作者: ksng 時間: 2012-12-1 07:38
Anyway, 照計只靠 VLC 就 stream + record 到, 因為打 vlc channels.conf 兮可以即時睇哂所有台 (all subtitle & audio tracks)!!
Yes it should work. Make sure that in your cvlc command line, you're typing ... programS=xx ..., not ... program=xx ... . vlc accept both syntax, but without the 's', all subtitle tracks and the audio tracks except the first one are all stripped away!
作者: toylet 時間: 2012-12-1 17:08
提示: 作者被禁止或刪除 內容自動屏蔽
作者: ksng 時間: 2012-12-1 20:22
回復 62# toylet
Your second sentence is correct: 不用 programs 就 default 無哂 subtitle 和 audio traccks.
I got same pain 3 years ago when my recording scripts one day suddenly couldn't record subtitles and the other audio tracks. I finally realized that I've accidentally changed 'programs' to 'program', and vlc didn't complain. I could only come to a conclusion that both of them are accepted by vlc as correct, but without 's', vlc only records the video stream, and the first audio stream, and throws away all the other streams.
作者: ksng 時間: 2012-12-1 23:40
本帖最後由 ksng 於 2012-12-1 23:41 編輯
I just found that recording of multiple programs can be done using tzap, dvbstream and vlc as follows:
1. start tzap, eg tzap -a 0 -c /etc/channels.conf "jade"
2. dvbstream -c 0 -o 8192|cvlc fd://0 --programs=2 --sout "file/ts:file1.ts"
Then at another time, a new recording can be started:
3. dvbstream -c 0 -o 8192|cvlc fd://0 --programs=1 --sout "file/ts:file2.ts"
This is simpler than my current approach using my own relay + tscat. Due to 8192 being specified as the PID, the whole transponder is streamed, hence all subtitle and audio tracks are preserved in the recordings.
The option '8192' was not available for dvbstream 3 years ago when I wrote my recording script.
作者: toylet 時間: 2012-12-4 22:00
提示: 作者被禁止或刪除 內容自動屏蔽

