Updated mplayer diff

7 views
Skip to first unread message

Philip Langdale

unread,
Dec 22, 2010, 12:15:59 PM12/22/10
to crystalhd-...@googlegroups.com
Hi all,

Here's my updated mplayer diff with improved interlaced support (at
least for PAFF) and a few minor other cleanups.

--phil

mplayer.diff

Philip Langdale

unread,
Dec 23, 2010, 1:23:33 AM12/23/10
to crystalhd-...@googlegroups.com

I've updated the diff again as I've now addressed the input-full
problem I had with
interlaced DVD content; I now try to read the second field before returning from
decode() and that seems to stabilise the buffer.

--phil

mplayer.diff

Naren (Narendra) Sankar

unread,
Jan 4, 2011, 4:51:37 PM1/4/11
to crystalhd-...@googlegroups.com
With this patch, have you seen issues with macroblocking on seeking? Forward or backwards doesn't matter.


Naren Sankar (+1 408 218 6327)
Architect/PLM
Broadcom Corp.

--phil

--
To post to this group, send email to
crystalhd-...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/crystalhd-development?hl=en

Philip Langdale

unread,
Jan 4, 2011, 11:44:08 PM1/4/11
to crystalhd-...@googlegroups.com
On Tue, Jan 4, 2011 at 1:51 PM, Naren (Narendra) Sankar
<nsa...@broadcom.com> wrote:
> With this patch, have you seen issues with macroblocking on seeking? Forward or backwards doesn't matter.

Not per se, but the behaviour of the device after a seek is definitely
different than from a fresh start - the
pipeline seems to build much deeper before frames are delivered. I
have seen macroblocking in situations
where the pipeline fills up yet frames don't seem to show up on the
output reliably and then it appears to
be dropping frames. I could imagine this is more likely to happen after a seek.

--phil

Naren (Narendra) Sankar

unread,
Jan 5, 2011, 2:39:26 AM1/5/11
to crystalhd-...@googlegroups.com
Does mplayer seek to a valid seek point or just random point?

In case of H.264 for example valid seek points would be IDR frames or RAP SEI. These allow the decoder to start decoding correctly per the compliance spec.

With this behavior it seems mplayer seeks not necessarily to valid seek points.

Naren

ebsi

unread,
Jan 8, 2011, 7:01:35 PM1/8/11
to crystalhd-...@googlegroups.com
Hi,

i face the following problem with mpeg2 :

this appears in the kernel log :

kernel: Tx Err:: DWORD UNAligned Tx Addr. Not Updating

after that the decoding stops.


Naren (Narendra) Sankar

unread,
Jan 8, 2011, 7:10:19 PM1/8/11
to crystalhd-...@googlegroups.com
What application are you using? What is the OS and what version of crystalhd library and drivers?

More information would be useful.

ebsi

unread,
Jan 8, 2011, 7:14:57 PM1/8/11
to crystalhd-...@googlegroups.com, Naren (Narendra) Sankar
Archlinux 32bit, kernel 2.6.37, xine, driver and libs in the latest git version.

Naren (Narendra) Sankar

unread,
Jan 8, 2011, 7:46:58 PM1/8/11
to ebsi...@gmail.com, crystalhd-...@googlegroups.com
Is this repeatable?

The error indicates the firmware gave a unaligned address to the driver which shouldn't happen.

And does this happen with more than one clip?

ebsi

unread,
Jan 8, 2011, 7:51:30 PM1/8/11
to Naren (Narendra) Sankar, crystalhd-...@googlegroups.com
It is happening for me with every mpeg2 stream / clip i decode.

Naren (Narendra) Sankar

unread,
Jan 10, 2011, 4:27:33 PM1/10/11
to ebsi, crystalhd-...@googlegroups.com
In file crystalhd_fleafuncs.c

In function - crystalhd_flea_update_tx_buff_info

In the printk for the error

Can you print out the actual address that the Firmware returned for TxBuffInfo.DramBuffAdd ?

And also - do you get this error using the gstreamer plugin as well or just the xine plugin?

Thanks

Naren Sankar (+1 408 218 6327)
Architect/PLM
Broadcom Corp.

Reply all
Reply to author
Forward
0 new messages