Go to advanced search

by linuxstb
Wed Jul 10, 2013 7:45 am
Forum: Graphics, sound and multimedia
Topic: audo/video sync in dvb-t
Replies: 12
Views: 4293

Re: audo/video sync in dvb-t

Hi txutxe, Are you sure your TV channels are using DTS, and not AC-3 (or EAC-3) ? AC-3 audio is very common, but I'm not aware of any broadcasters using DTS, and would be extremely surprised if anyone was using it for SD TV. Where in the world are you? Have you tried running "top" on your Pi (e.g. v...
by linuxstb
Fri Jul 05, 2013 7:35 am
Forum: OpenMAX
Topic: how to get clock running
Replies: 5
Views: 2327

Re: how to get clock running

What does your code look like that sends the video packets to video_decode ? Are you setting the timestamps there?
by linuxstb
Thu Jul 04, 2013 6:47 am
Forum: Graphics, sound and multimedia
Topic: audo/video sync in dvb-t
Replies: 12
Views: 4293

Re: audo/video sync in dvb-t

Bit of a shameless plug:

https://github.com/linuxstb/pidvbip/

This is my tvheadend client for the Pi. It's still under development, and is a bit rough around the edges, but is working well for watching live TV, and I haven't noticed any A/V sync issues, with any audio codec.
by linuxstb
Wed Jul 03, 2013 8:30 am
Forum: General discussion
Topic: Request to Dom - more info on firmware commits
Replies: 3
Views: 683

Request to Dom - more info on firmware commits

Hi Dom, Firstly, thanks for all the work you're doing for us Pi hackers. I've noticed that most (if not all) of your firmware commits seem to be in response to bug reports/feature requests made in various places around the internet - these forums, the github issue tracker, probably elsewhere (xbmc f...
by linuxstb
Wed Jun 26, 2013 1:24 pm
Forum: OpenMAX
Topic: OpenMAX tear down
Replies: 13
Views: 4368

Re: OpenMAX tear down

From memory, I think I've also seen other leftovers on the GPU, if I can recreate, I'll post the details. Ideally create a simple program (e.g. something based on hello_video code) that shows the problem. After a bit more testing, all I seem to get (in addition to the EGL stuff) is the video_decode...
by linuxstb
Wed Jun 26, 2013 12:24 pm
Forum: OpenMAX
Topic: Problem tearing down video playback pipeline
Replies: 1
Views: 1480

Re: Problem tearing down video playback pipeline

I'm not 100% sure (it's now working fine for me, but I need feedback from users of my app), but I think I may have resolved this issue by enabling OMX_IndexParamBrcmLazyImagePoolDestroy as described here: http://home.nouwen.name/RaspberryPi/documentation/ilcomponents/prop.html#OMX_IndexParamBrcmLazy...
by linuxstb
Wed Jun 26, 2013 11:07 am
Forum: OpenMAX
Topic: OpenMAX tear down
Replies: 13
Views: 4368

Re: OpenMAX tear down

Yes, I was running a recent (i.e. week or two old) firmware. I've just updated again to be sure (running "rpi-update" with no arguments) and my problems remain. If it helps, here is an examnple of the output of "vcdbg reloc" after my app crashes. [ 555] 0xb73eae0: used 3.0M (refcount 1 lock count 0,...
by linuxstb
Wed Jun 26, 2013 9:43 am
Forum: OpenMAX
Topic: OpenMAX tear down
Replies: 13
Views: 4368

Re: OpenMAX tear down

The issue is that the memory is allocated on the GPU - not in Linux space. BUT that said, it should clean up after itself - if it isn't then that's likely a bug somewhere. Have you got simple example code that exhibits the problem? I've been playing a little with the hello_pi samples to try and get...
by linuxstb
Wed Jun 26, 2013 7:53 am
Forum: OpenMAX
Topic: OpenMAX tear down
Replies: 13
Views: 4368

Re: OpenMAX tear down

You're definitely not alone with this - I'm getting the same problems with my pidvbip app.
by linuxstb
Wed Jun 26, 2013 7:52 am
Forum: OpenMAX
Topic: Problem tearing down video playback pipeline
Replies: 1
Views: 1480

Problem tearing down video playback pipeline

Hi, I'm the author of pidvbip, a Pi client for tvheadend. When a user changes TV channel in my client, it attempts to completely close the openmax pipeline (video_decode, image_fx, clock, video_scheduler, video_render, audio_render) before re-opening it. This seems to work fine the majority of the t...
by linuxstb
Thu Jun 06, 2013 11:44 am
Forum: OpenMAX
Topic: Gstreamer : strange artifact @ 1080 > 5 fps
Replies: 3
Views: 1784

Re: Gstreamer : strange artifact @ 1080 > 5 fps

What gstreamer command-line are you using to stream, and what client are you using to view it?
by linuxstb
Mon Jun 03, 2013 8:03 am
Forum: Advanced users
Topic: Updated GPU firmware
Replies: 308
Views: 201894

Re: Updated GPU firmware

Hi,

Anyone know what the most recent commit is about - "firmware: increase PCM buffer size again for ape audio" ?

Thanks.
by linuxstb
Fri May 31, 2013 9:37 am
Forum: Graphics programming
Topic: error message "svgalib: Cannot open /dev/mem/"
Replies: 9
Views: 3149

Re: error message "svgalib: Cannot open /dev/mem/"

Do you even need a graphical library? What about something like ncurses, which will have the advantage of being usable if you access the Pi remotely via ssh.
by linuxstb
Thu May 30, 2013 7:36 am
Forum: OpenMAX
Topic: Camera settings in OpenMAX
Replies: 7
Views: 5890

Re: Camera settings in OpenMAX

I was playing a bit more last night, and as far as I can see, every setting available in raspivid is accessible via OpenMAX. See my camera setup function here - https://github.com/linuxstb/pidvbip/blob/master/omx_utils.c#L519 For the values of the various enumerations, look at the includes in /opt/v...
by linuxstb
Wed May 29, 2013 10:15 pm
Forum: OpenMAX
Topic: Camera settings in OpenMAX
Replies: 7
Views: 5890

Re: Camera settings in OpenMAX

All, I'm now getting camera output working with openmax (in a window displayed on top of live TV in my pidvbip app), simply using the camera component tunneled to a video_render component - nothing else. Based on the Pi OpenMAX docs at http://home.nouwen.name/RaspberryPi/documentation/ilcomponents/c...
by linuxstb
Wed May 29, 2013 2:15 pm
Forum: OpenMAX
Topic: Camera settings in OpenMAX
Replies: 7
Views: 5890

Re: Camera settings in OpenMAX

hjimbens, Thanks a lot for sharing - that really is the bare bones, so very useful to know that's all that's needed. I was trying to follow the setup sequence at http://home.nouwen.name/RaspberryPi/documentation/ilcomponents/camera.html and was struggling because I didn't know what value to use for ...
by linuxstb
Wed May 29, 2013 8:37 am
Forum: OpenMAX
Topic: Camera settings in OpenMAX
Replies: 7
Views: 5890

Re: Camera settings in OpenMAX

Hi hjimbens,

Any chance of you sharing some or all of your app? I'm also wanting to access the camera from openmax, but am struggling to get started with the initial configuration/setup of the camera component.

Thanks.
by linuxstb
Sat Mar 23, 2013 12:13 am
Forum: OpenMAX
Topic: Tvheadend transcoding using OpenMAX
Replies: 15
Views: 17269

Re: Tvheadend transcoding using OpenMAX

My plan is to use the transcode_v2 branch of Tvheadend by John Törnblom and modify it so that it uses the omxtx code by linuxstb / Dickon Hood. I can't claim any credit for omxtx - it's all dickon's work, I simply published the first version on github, after which dickon created his own repository ...
by linuxstb
Mon Feb 18, 2013 6:08 pm
Forum: OpenMAX
Topic: Interlaced video output
Replies: 7
Views: 8058

Re: Interlaced video output

Hi Dom, Yes, that's exactly what happens - 50% of the time it's OK, 50% it's out of sync. I see that in my app, and also with omxplayer as you suggested. It would be great if you could fix this. I've created a 60 second sample file (1080i @ 50Hz) if it helps, which I've been testing with CEA mode 20...
by linuxstb
Mon Feb 18, 2013 5:31 pm
Forum: OpenMAX
Topic: Hardware accelerated video scaling
Replies: 4
Views: 2834

Re: Hardware accelerated video scaling

Yes. If you use the video_render component (the standard way to play video), then the default behaviour is for it to scale full-screen. You need to do something special to not display it full-screen.
by linuxstb
Sat Feb 16, 2013 2:35 pm
Forum: OpenMAX
Topic: Interlaced video output
Replies: 7
Views: 8058

Re: Interlaced video output

Thanks for the reply. Does the GPU handle deinterlacing of HD content now? I thought it was only supported for SD content. But my main TV only supports 1080i, so in any case deinterlacing on the Pi isn't a universal solution. You say it's a complicated issue, but what if this functionaility is limit...
by linuxstb
Wed Feb 13, 2013 9:22 am
Forum: OpenMAX
Topic: Interlaced video output
Replies: 7
Views: 8058

Interlaced video output

Hi, I've written my own openmax video player (a client for tvheadend - https://github.com/linuxstb/pidvbip ) and am having problems with interlaced channels. If I configure my Pi (in config.txt - my app doesn't yet support changing video modes) to 1080i (group 1, mode 20) then play back a 1080i H264...
by linuxstb
Tue Feb 12, 2013 2:18 pm
Forum: OpenMAX
Topic: Setting the audio output device
Replies: 8
Views: 22007

Re: Setting the audio output device

@OtherCrashOverride , Are you sure that this can actually be done on the Pi though? My understanding was that the Pi's openmax implementation was on the GPU, with just a thin wrapper running on the ARM to pass messages and data between the ARM and the GPU. I can't see how you can integrate ARM-based...
by linuxstb
Fri Feb 08, 2013 1:19 pm
Forum: OpenMAX
Topic: ilclient_state_transition() - why is it random?
Replies: 0
Views: 841

ilclient_state_transition() - why is it random?

Hi, As the subject says, the ilclient_state_transtion() function in the ilclient lib explictly randomises the order in which the provided list of components are transitioned to the new state. Does anyone know why it does this? It doesn't make any logical sense to me (if the function works in any ord...

Go to advanced search