[linux-sunxi] Re: Demo h264 encoding app

2015-04-03 Thread Vishal B
R,

Are you saying that The TV-IN section does not have a driver implemented as
yet?

Looking into the kernel sources, i find drivers/media/video/sunxi-csi/
directory which i believe contains the drivers for the TV-IN section.

Again, this inference is based purely on skimming through the code and some
documentation on the CSI0/CSI1 interfaces only. The veracity of the
codebase therein and its usefulness is an assumption on my end right now.

Surely, there is someone who has already checked the CSI0 v4L2 driver and
CSI1 v4L2 driver for Video Input section already?

Please do let me know your thoughts.

regards,
Vishal Borker



On Fri, Apr 3, 2015 at 3:27 AM, Rosimildo DaSilva rosimi...@gmail.com
wrote:

 If you read this thread all the way, you would realize that there is no
 driver for the TV decoder, the block that handles the TV in on AllWinner
 devices.
 Also, if you look when this thread started, it was in 2012, 3 years ago
 and nothing happened.

 Based on the track record of AW, always deceiving the customers, with GPL
 violations and selling H/W without proper functioning software so,
 don't hold your breath you are going to get anywhere with this kind of H/W.

 R


 On Thursday, April 2, 2015 at 9:19:04 AM UTC-5, vis...@nextbitcpu.com
 wrote:

 Hello All,

 I have just purchased and successfully set up the Hummingboard A20
 platform.

 I am interested in developing a real time Media encode solution, and
 intend to do this using a gStreamer pipeline based implementation.

 In these regards, i am interested in any pointers on some sample code
 that could help me test out the TV IN section, encode function, and any
 documentation that could point me to work ( stable ) that could be a
 baseline to the efforts.

 From this thread, i understand there has been quite some work going on in
 this space, and to cut a long chase short, it would be nice to have some
 pointers on my best way forward.

 Please suggest!

 warm regards,
 Vishal B.

 On Friday, October 18, 2013 at 7:30:33 AM UTC+5:30, Jon Smirl wrote:
  I pushed a demo h264 encoding app to:
  https://github.com/jonsmirl/cam
 
  It seems to be working, but the output file is just a blank image.
  I'll keep working on it, but if anyone can see what is wrong with it
  please let me know.
 
  Not much too it, about 1,000 lines of code derived from the
  enc_dec_demo program. I basically deleted all of the display code
  since it is harder to build and left the encoding code.
 
  --
  Jon Smirl
  jons...@gmail.com




-- 
*TVeeBoX - Sales  Marketing Division, *
NextBiT Computing Pvt. Ltd.,
30/2, IInd Floor, R.K. Plaza,
CMH Road, Indiranagar,
Bangalore - 560 038,
India.







*URL: www.nextbitcpu.com http://www.nextbitcpu.comOffice Ph
: +91-80-41133238/29Mobile   : +91-9916116273email :
vis...@nextbitcpu.com vis...@nextbitcpu.comSkype: vishal_borker*

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Re: Demo h264 encoding app

2015-04-03 Thread Julian Calaby
Hi Vishal,

On Fri, Apr 3, 2015 at 5:37 PM, Vishal B vis...@nextbitcpu.com wrote:
 R,

 Are you saying that The TV-IN section does not have a driver implemented as
 yet?

 Looking into the kernel sources, i find drivers/media/video/sunxi-csi/
 directory which i believe contains the drivers for the TV-IN section.

There are three video input devices in SunXi devices:
1. CSI _camera_ input, i.e. from a camera like the one in your phone.
There are two channels: CSI0 and CSI1. I believe there is a driver for
this in the 3.4 kernel which works.
2. TV decoder, i.e. analog video input. Nothing is known about this.
3. DVB decoder. There was work on a driver, but nothing has
materialised as far as I'm aware.

Where exactly are you expecting to get your TV input from?

Thanks,

-- 
Julian Calaby

Email: julian.cal...@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Re: Demo h264 encoding app

2015-04-03 Thread Priit Laes
On Fri, 2015-04-03 at 12:07 +0530, Vishal B wrote:
 R,
 
 Are you saying that The TV-IN section does not have a driver 
 implemented as yet?
 
 Looking into the kernel sources, i find drivers/media/video/sunxi-
 csi/ directory which i believe contains the drivers for the TV-IN 
 section.

Believers are often wrong.

 Again, this inference is based purely on skimming through the code 
 and some documentation on the CSI0/CSI1 interfaces only. The 
 veracity of the codebase therein and its usefulness is an assumption 
 on my end right now.
 
 Surely, there is someone who has already checked the CSI0 v4L2 
 driver and CSI1 v4L2 driver for Video Input section already?
 
 Please do let me know your thoughts.
 
 regards,
 Vishal Borker
 
 
 
 On Fri, Apr 3, 2015 at 3:27 AM, Rosimildo DaSilva 
 rosimi...@gmail.com wrote:
  If you read this thread all the way, you would realize that there 
  is no driver for the TV decoder, the block that handles the TV in 
  on AllWinner devices.
  Also, if you look when this thread started, it was in 2012, 3 
  years ago and nothing happened. 
  
  Based on the track record of AW, always deceiving the customers, 
  with GPL violations and selling H/W without proper functioning 
  software so, don't hold your breath you are going to get 
  anywhere with this kind of H/W.
  
  R
  
  
  On Thursday, April 2, 2015 at 9:19:04 AM UTC-5, 
   vis...@nextbitcpu.comwrote:
   Hello All, 
   
   I have just purchased and successfully set up the Hummingboard 
   A20 platform. 
   
   I am interested in developing a real time Media encode solution, 
   and intend to do this using a gStreamer pipeline based 
   implementation. 
   
   In these regards, i am interested in any pointers on some sample 
   code that could help me test out the TV IN section, encode 
   function, and any documentation that could point me to work ( 
   stable ) that could be a baseline to the efforts. 
   
   From this thread, i understand there has been quite some work 
   going on in this space, and to cut a long chase short, it would 
   be nice to have some pointers on my best way forward. 
   
   Please suggest! 
   
   warm regards, 
   Vishal B. 
   
   On Friday, October 18, 2013 at 7:30:33 AM UTC+5:30, Jon Smirl 
   wrote: 
I pushed a demo h264 encoding app to: 
https://github.com/jonsmirl/cam 

It seems to be working, but the output file is just a blank 
   image. 
I'll keep working on it, but if anyone can see what is wrong 
   with it 
please let me know. 

Not much too it, about 1,000 lines of code derived from the 
enc_dec_demo program. I basically deleted all of the display 
   code 
since it is harder to build and left the encoding code. 

-- 
Jon Smirl 
jons...@gmail.com 
   
 
 
 -- 
 TVeeBoX - Sales  Marketing Division, 
 NextBiT Computing Pvt. Ltd.,
 30/2, IInd Floor, R.K. Plaza,
 CMH Road, Indiranagar,
 Bangalore - 560 038,
 India.
 
 URL: www.nextbitcpu.com
 Office Ph  : +91-80-41133238/29
 Mobile   : +91-9916116273
 email : vis...@nextbitcpu.com
 Skype: vishal_borker
 
 
 
 -- 
 You received this message because you are subscribed to the Google 
 Groups linux-sunxi group.
 To unsubscribe from this group and stop receiving emails from it, 
 send an email to linux-sunxi+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Re: Demo h264 encoding app

2015-04-03 Thread Henrik Nordström
fre 2015-04-03 klockan 12:07 +0530 skrev Vishal B:

 Looking into the kernel sources, i find drivers/media/video/sunxi-csi/
 directory which i believe contains the drivers for the TV-IN section.

That is the digital CSI camera interface, for attaching a digital
cameras. Drivers exists for this.

The chip also seem to have a TV-in function where it supposedly can
decode a PAL/NTSC video signal and encode it in digital form, but very
little is known about this function. Some binary drivers exists in
various CedarX releases.

Additionally the chip also have a digital MPEG transport stream input
interface for digital TV input. Documentation exists for this interface,
but not sure if there is a driver. Also a lack of hardware using this
interface.

Regards
Henrik



-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Re: Demo h264 encoding app

2015-04-03 Thread Henrik Nordström
fre 2015-04-03 klockan 22:41 +0200 skrev Henrik Nordström:

 The chip also seem to have a TV-in function where it supposedly can
 decode a PAL/NTSC video signal and encode it in digital form, but very
 little is known about this function. Some binary drivers exists in
 various CedarX releases.

Looking in old archives I found this:
http://dl.linux-sunxi.org/SDK/A20/A20_SDK_20130319/lichee/linux-3.3/drivers/media/video/sun7i_tvd/

There was some discussion about forward porting of this driver some
years ago (2013), but then died.

There is some v4l references in there so maybe it does provide a usable
interface and the binary CedarX blobs is only for encoding in
jpeg/mpeg/whatever after the video have been digitized, not sure. Never
tried this driver at all.

Regards
Henrik

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Re: Demo h264 encoding app

2015-04-03 Thread Vishal B
Hello Julian,


The Kernel features two drivers:

- sun7i_tvd
- sunxi_csi0

I figure sunxi_csi0 would be the TV in driver on my humming board, which
has a TV-IN Minijack interface. This is supposed to receive YPbPr data from
an external source.

Still trying to get a signal in on there - lack of documentation and
support is indeed hindering big time.

regards,
Vishal Borker




On Fri, Apr 3, 2015 at 5:06 PM, Julian Calaby julian.cal...@gmail.com
wrote:

 Hi Vishal,

 On Fri, Apr 3, 2015 at 5:37 PM, Vishal B vis...@nextbitcpu.com wrote:
  R,
 
  Are you saying that The TV-IN section does not have a driver implemented
 as
  yet?
 
  Looking into the kernel sources, i find drivers/media/video/sunxi-csi/
  directory which i believe contains the drivers for the TV-IN section.

 There are three video input devices in SunXi devices:
 1. CSI _camera_ input, i.e. from a camera like the one in your phone.
 There are two channels: CSI0 and CSI1. I believe there is a driver for
 this in the 3.4 kernel which works.
 2. TV decoder, i.e. analog video input. Nothing is known about this.
 3. DVB decoder. There was work on a driver, but nothing has
 materialised as far as I'm aware.

 Where exactly are you expecting to get your TV input from?

 Thanks,

 --
 Julian Calaby

 Email: julian.cal...@gmail.com
 Profile: http://www.google.com/profiles/julian.calaby/

 --
 You received this message because you are subscribed to a topic in the
 Google Groups linux-sunxi group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/linux-sunxi/D-2cICv9zbI/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 linux-sunxi+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
*TVeeBoX - Sales  Marketing Division, *
NextBiT Computing Pvt. Ltd.,
30/2, IInd Floor, R.K. Plaza,
CMH Road, Indiranagar,
Bangalore - 560 038,
India.







*URL: www.nextbitcpu.com http://www.nextbitcpu.comOffice Ph
: +91-80-41133238/29Mobile   : +91-9916116273email :
vis...@nextbitcpu.com vis...@nextbitcpu.comSkype: vishal_borker*

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: Demo h264 encoding app

2015-04-02 Thread Rosimildo DaSilva
If you read this thread all the way, you would realize that there is no 
driver for the TV decoder, the block that handles the TV in on AllWinner 
devices.
Also, if you look when this thread started, it was in 2012, 3 years ago and 
nothing happened. 

Based on the track record of AW, always deceiving the customers, with GPL 
violations and selling H/W without proper functioning software so, 
don't hold your breath you are going to get anywhere with this kind of H/W.

R


On Thursday, April 2, 2015 at 9:19:04 AM UTC-5, vis...@nextbitcpu.com wrote:

 Hello All, 

 I have just purchased and successfully set up the Hummingboard A20 
 platform. 

 I am interested in developing a real time Media encode solution, and 
 intend to do this using a gStreamer pipeline based implementation. 

 In these regards, i am interested in any pointers on some sample code that 
 could help me test out the TV IN section, encode function, and any 
 documentation that could point me to work ( stable ) that could be a 
 baseline to the efforts. 

 From this thread, i understand there has been quite some work going on in 
 this space, and to cut a long chase short, it would be nice to have some 
 pointers on my best way forward. 

 Please suggest! 

 warm regards, 
 Vishal B. 

 On Friday, October 18, 2013 at 7:30:33 AM UTC+5:30, Jon Smirl wrote: 
  I pushed a demo h264 encoding app to: 
  https://github.com/jonsmirl/cam 
  
  It seems to be working, but the output file is just a blank image. 
  I'll keep working on it, but if anyone can see what is wrong with it 
  please let me know. 
  
  Not much too it, about 1,000 lines of code derived from the 
  enc_dec_demo program. I basically deleted all of the display code 
  since it is harder to build and left the encoding code. 
  
  -- 
  Jon Smirl 
  jons...@gmail.com javascript: 



-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: Demo h264 encoding app

2015-04-02 Thread ditmar . rose
Search the sunxi wiki
http://linux-sunxi.org/CedarX

And for reengineering of video decoder
http://linux-sunxi.org/VE_Planning

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: Demo h264 encoding app

2015-04-02 Thread vishal
Hello All,

I have just purchased and successfully set up the Hummingboard A20 platform.

I am interested in developing a real time Media encode solution, and intend to 
do this using a gStreamer pipeline based implementation.

In these regards, i am interested in any pointers on some sample code that 
could help me test out the TV IN section, encode function, and any 
documentation that could point me to work ( stable ) that could be a baseline 
to the efforts.

From this thread, i understand there has been quite some work going on in this 
space, and to cut a long chase short, it would be nice to have some pointers 
on my best way forward.

Please suggest!

warm regards,
Vishal B.

On Friday, October 18, 2013 at 7:30:33 AM UTC+5:30, Jon Smirl wrote:
 I pushed a demo h264 encoding app to:
 https://github.com/jonsmirl/cam
 
 It seems to be working, but the output file is just a blank image.
 I'll keep working on it, but if anyone can see what is wrong with it
 please let me know.
 
 Not much too it, about 1,000 lines of code derived from the
 enc_dec_demo program. I basically deleted all of the display code
 since it is harder to build and left the encoding code.
 
 -- 
 Jon Smirl
 jonsm...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Re: Demo h264 encoding app

2015-02-12 Thread achun liu
I try to use enc_dec_demo modify , but I did not a31 encoding library.

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: Demo h264 encoding app

2015-02-12 Thread lyc . achun
The a31 encoding can use this demo?

On Friday, October 18, 2013 at 10:00:33 AM UTC+8, Jon Smirl wrote:

 I pushed a demo h264 encoding app to: 
 https://github.com/jonsmirl/cam 

 It seems to be working, but the output file is just a blank image. 
 I'll keep working on it, but if anyone can see what is wrong with it 
 please let me know. 

 Not much too it, about 1,000 lines of code derived from the 
 enc_dec_demo program. I basically deleted all of the display code 
 since it is harder to build and left the encoding code. 

 -- 
 Jon Smirl 
 jons...@gmail.com javascript: 


-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] Re: Demo h264 encoding app

2015-02-12 Thread achun liu
the demo can run on linux? not android.

2015-02-13 9:36 GMT+08:00 lyc.ac...@gmail.com:

 The a31 encoding can use this demo?

 On Friday, October 18, 2013 at 10:00:33 AM UTC+8, Jon Smirl wrote:

 I pushed a demo h264 encoding app to:
 https://github.com/jonsmirl/cam

 It seems to be working, but the output file is just a blank image.
 I'll keep working on it, but if anyone can see what is wrong with it
 please let me know.

 Not much too it, about 1,000 lines of code derived from the
 enc_dec_demo program. I basically deleted all of the display code
 since it is harder to build and left the encoding code.

 --
 Jon Smirl
 jons...@gmail.com

  --
 You received this message because you are subscribed to a topic in the
 Google Groups linux-sunxi group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/linux-sunxi/D-2cICv9zbI/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 linux-sunxi+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.