|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
xine a/v sync issuesFor anyone interested, this is how I got "almost perfect" a/v sync with
xine. By the end you will find a bash script. It creates a custom xine config (will not overwrite yours) and start fbxine with the movie you supplied in the command line. Also, it can drive any number dxr3 cards (just change the card= line to the card ID to use), and it can support alsa and oss for audio. The key config options that made enough difference for me are: audio.synchronization.av_sync_method:resample audio.synchronization.force_rate:48000 audio.synchronization.resample_mode:on The above enable resampling of audio. Resampling seems to make xine a lot more accurate. dxr3.encoding.alt_play_mode:0 dxr3.sync_every_frame:1 The above seem to allow xine to maintain a/v sync. I still have some a/v issues, but: 1. they are at most 200 ms 2. they mostly appear at the beginning of a few movies 3. they disappear after 15-30 mins of playback There is still one major issue with xine and dxr3. Subtitles (tested .srt and .sub files) are displayed with wrong timing. Here it is: --- #!/bin/bash card=1 # select the card: 1, 2, 3, etc audio=oss # select audio: alsa oss cat >$HOME/.xine/config.card$card <<EOF video.driver:dxr3 audio.driver:$audio # If you use alsa # you have to set alsa_id=EM8300-$card to em8300 kernel module options audio.device.alsa_default_device:default:EM8300-$card audio.device.alsa_front_device:default:EM8300-$card # if you use oss audio.device.oss_device_name:/dev/dsp audio.device.oss_device_number:$card audio.device.oss_mixer_number:$card audio.oss_sync_method:getodelay audio.synchronization.av_sync_method:resample audio.synchronization.force_rate:48000 audio.synchronization.resample_mode:on dxr3.device_number:$[card - 1] dxr3.encoding.add_bars:0 dxr3.encoding.alt_play_mode:0 dxr3.sync_every_frame:1 dxr3.correct_durations:0 dxr3.preferred_tvmode:pal dxr3.videoout_mode:widescreen tv EOF export LC_ALL=en_US export XINERC="$HOME/.xine/config.card$card" fbxine -A $audio -V dxr3 "${@}" --- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Dxr3-devel mailing list Dxr3-devel@... https://lists.sourceforge.net/lists/listinfo/dxr3-devel |
|
|
Re: xine a/v sync issuesCosta Tsaousis wrote:
> There is still one major issue with xine and dxr3. Subtitles (tested > .srt and .sub files) are displayed with wrong timing. > Just for completeness, I just tested xine on plain X11 output (no dxr3), and it seems to have the same problem. External subtitles appear with wrong timing, while other major players (vlc, mplayer) show the subtitles correctly. So, this should not be considered a dxr3 related problem. Regards, Costa ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Dxr3-devel mailing list Dxr3-devel@... https://lists.sourceforge.net/lists/listinfo/dxr3-devel |
|
|
XINE and tv out troubleAfter a lot of reading and tinkering I finally got Xine to play a movie on my TV via the S Video line on my Hollywood plus card. The problem is that I see the left half (roughly) of the image. This is true of the XINE logo that appears on the TV as well. Part of the reason I am posting is that I am tired and am going to ask y'all before I pack it in for the night. This is a debian box. Anybody know what would cause this? (Sound is fine.) Details uname -a Linux skynet 2.6.26-2-686 #1 SMP Thu May 28 15:39:35 UTC 2009 i686 GNU/Linux Machine is an 800 MHz PIII. Card is using the ADV7175A chipset. lspci -vvv 00:0d.0 Multimedia controller: Sigma Designs, Inc. REALmagic Hollywood Plus DVD Decoder (rev 01) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 64 Interrupt: pin A routed to IRQ 11 Region 0: Memory at f4000000 (32-bit, non-prefetchable) [size=1M] Kernel driver in use: Sigma Designs EM8300 relevant dmesg [ 673.435408] em8300-0: EM8300 8300 (rev 1) <6>bus: 0, devfn: 104, irq: 11, <6>memory: 0xf4000000. [ 673.435521] em8300-0: mapped-memory at 0xd8d00000 [ 673.435758] em8300-0: using MTRR [ 673.442933] em8300-0: unable to identify model... [ 673.442956] em8300-0: Chip revision: 1 [ 734.904398] adv717x.o: ADV7175A chip detected [ 749.189432] firmware: requesting em8300.bin [ 751.842427] em8300-0: Microcode version 0x29 loaded [ 752.097063] em8300-0: Analog audio enabled [ 752.120663] em8300-0: Analog audio enabled [ 753.074986] em8300-0: adjusting scr: 175476 ------------------------------------------------------------------------------ _______________________________________________ Dxr3-devel mailing list Dxr3-devel@... https://lists.sourceforge.net/lists/listinfo/dxr3-devel |
|
|
Re: XINE and tv out troubleHi,
On Wed, Jun 24, 2009 at 11:58:29PM -0700, Clendon Gibson wrote: > After a lot of reading and tinkering I finally got Xine to play a > movie on my TV via the S Video line on my Hollywood plus card. > > The problem is that I see the left half (roughly) of the image. This > is true of the XINE logo that appears on the TV as well. > > Part of the reason I am posting is that I am tired and am going to ask > y'all before I pack it in for the night. > > This is a debian box. > > Anybody know what would cause this? Your log shows: > [ 673.442933] em8300-0: unable to identify model... This means that there was some problem identifying your card, so it was unable to set the right parameters. Since you say your card is an Hollywood+ (rather than a DXR3), you should try to load the em8300 module with either "card_model=3" or "card_model=4" option. If neither works, then you'll have to play with the various em8300 and adv717x options... Anyway, it'd be interesting to understand why your card was not identified propery. When you have a working configuration, it would be nice to send your /sys/class/em8300/em8300-0/device/model file (with the form filled). Cheers, Nicolas ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Dxr3-devel mailing list Dxr3-devel@... https://lists.sourceforge.net/lists/listinfo/dxr3-devel |
| Free embeddable forum powered by Nabble | Forum Help |