Re: [Sony RX100 VII] Camera does not seem to return a JPEG image in LiveView mode

Marcus Meissner <[email protected]> Thu, 5 Nov 2020 11:59:27 +0100
Newsgroups gmane.comp.multimedia.gphoto.user
Organization SUSE Software Solutions Ger many GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany , GF: Felix Imendörffer, HRB 36809, AG Nürnber g
Message-ID <[email protected]>
HI,

We have this id as DSC-RX100M7  (probably just a different product name, same firmware) ... 

The libgphoto2 2.5.26 we have some fixes also for sony preview capture.

Ciao, Marcus

On Thu, Nov 05, 2020 at 10:55:01AM +0000, Munshine wrote:
> Hello :)
> 
> Here are the results of the commands:
> gphoto2 --auto-detect
> USB PTP Class Camera usb:001,018
> lsusb | grep Sony
> Bus 001 Device 018: ID 054c:0cae Sony Corp. DSC-RX100M7
> And "gphoto2 --capture-image-and-download" does work ! I didn't realise. It's a start :)
> 
> On Nov 5 2020, at 10:41 am, Marcus Meissner <[email protected]> wrote:
> > On Wed, Nov 04, 2020 at 08:08:21PM +0000, Munshine wrote:
> > > Hello!
> > >
> > > I'm a newbie trying to turn his Sony RX100 VII into a webcam. I've been following this very clear tutorial (https://medium.com/nerdery/dslr-webcam-setup-for-linux-9b6d1b79ae22), although I'm getting stuck at a certain point:
> > > When I execute gphoto2 --stdout --capture-movie | ffmpeg -hwaccel nvdec -c:v mjpeg_cuvid -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0
> > > I get the following message:
> > > *** Error ***
> > > Sorry, your Sony camera does not seem to return a JPEG image in LiveView mode
> > > ERROR: Movie capture error... Exiting.
> > > Movie capture finished (0 frames)
> > > pipe:: Invalid data found when processing input
> > >
> > > Unfortunately, I'm really not an advanced linux/gphoto user, so I don't know how to troubleshoot this.
> > > All I can say is that I just found this gtihub issue (https://github.com/gphoto/libgphoto2/issues/180) with a similar message, but I'm not sure it actually is the same issue as me.
> > > I'm using LinuxMint 20, using gphoto2 2.5.23 and libgphoto2 2.5.25.
> >
> > WWhat is
> > gphoto2 --auto-detect
> > reporting? if it is reporting USB PTP generic class camera, please also report
> > lsusb | grep Sony
> > The usb id is interesting for us to track it, but not necessary required for support.
> > gphoto2 --summary >summary.txt
> > Please include summary.txt in your reply:
> > also report if capture works:
> > gphoto2 --capture-image-and-download
> >
> > Ciao, Marcus

> Camera summary:
> Manufacturer: Sony Corporation
> Model: DSC-RX100M7
>   Version: 1.00
>   Serial Number: 00000000000000008081886002899338
> Vendor Extension ID: 0x11 (1.0)
> Vendor Extension Description: Sony PTP Extensions
> 
> Capture Formats: 
> Display Formats: JPEG, Unknown(b301), ARW
> 
> Device Capabilities:
> 	File Download, No File Deletion, File Upload
> 	No Image Capture, No Open Capture, Sony Capture
> 
> Storage Devices Summary:
> 
> Device Property Summary:
> Compression Setting(0x5004):(readwrite) (type=0x2) Enumeration [16,20,19,18,4,3,2] value: 16
> White Balance(0x5005):(readwrite) (type=0x4) Enumeration [2,4,32785,32784,6,32769,32770,32771,32772,7,32816,32786,32800,32801,32802] value: Automatic (2)
> F-Number(0x5007):(readwrite) (type=0x4) Range [0 - 65535, step 1] value: f/2.8 (280)
> Focus Mode(0x500a):(readwrite) (type=0x4) Enumeration [2,32773,32772,32774,1] value: Manual Focus (1)
> Exposure Metering Mode(0x500b):(readwrite) (type=0x4) Enumeration [32769,32770,32772,32773,32771,32774] value: 32769
> Flash Mode(0x500c):(readwrite) (type=0x4) Enumeration [] value: Flash off (2)
> Exposure Programme Mode(0x500e):(readwrite) (type=0x4) Enumeration [32848,32849,32850,32851] value: 32848
> Exposure Bias Compensation(0x5010):(readwrite) (type=0x3) Enumeration [] value: 0.0 stops (0)
> Still Capture Mode(0x5013):(readwrite) (type=0x4) Enumeration [1,32786,32789,2,32816,32817,32818,32772,32771,32773,32776,32777,32780,32781,32782,32783,33591,34103,35127,33655,34167,35191,33553,34065,35089,33569,34081,33585,34097,33590,34102,35126,33654,34166,35190,33552,34064,35088,33568,34080,33584,34096,32808,32792,32809,32793] value: Single Shot (1)
> DOC Compensation(0xd200):(readwrite) (type=0x3) Enumeration [] value: 0
> DRangeOptimize(0xd201):(readwrite) (type=0x2) Enumeration [1,31,17,18,19,20,21,32,33,34,35,36,37,38] value: 1
> Image size(0xd203):(readwrite) (type=0x2) Enumeration [] value: 1
> Shutter speed(0xd20d):(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 65661
> Property 0xd20e:(readwrite) (type=0x2) Enumeration [] value: 15
> Colour temperature(0xd20f):(readwrite) (type=0x4) Range [2500 - 9900, step 100] value: 5500
> CC Filter(0xd210):(readwrite) (type=0x2) Range [164 - 220, step 1] value: 228
> Aspect Ratio(0xd211):(readwrite) (type=0x2) Enumeration [1,3,2,4] value: 1
> Focus status(0xd213):(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd214:(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 4294967295
> Objects in memory(0xd215):(readwrite) (type=0x4) Range [0 - 65535, step 1] value: 0
> Property 0xd217:(readwrite) (type=0x2) Enumeration [] value: 1
> Battery Level(0xd218):(readwrite) (type=0x1) Range [-1 - 100, step 1] value: 70
> Picture Effect(0xd21b):(readwrite) (type=0x4) Enumeration [32768,32769,32770,32771,32772,32773,32784,32800,32801,32816,32832,32848,32849,32850,32851,32864,32912,32880,32881,32882,32896,32897,32898,32928,32929,32930,32931,32932,32933,32934,32944,32960,32961,32962] value: 32768
> AB Filter(0xd21c):(readwrite) (type=0x2) Range [164 - 220, step 2] value: 228
> Property 0xd21d:(readwrite) (type=0x2) Range [0 - 2, step 1] value: 0
> ISO(0xd21e):(readwrite) (type=0x6) Enumeration [] value: 16777215
> Property 0xd220:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd221:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd222:(readwrite) (type=0x4) Enumeration [1,17,16] value: 1
> Property 0xd223: error 2002 on query.
> Property 0xd224:(readwrite) (type=0x3) Enumeration [2000,1700,1300,1000,700,300,0,-300,-700,-1000,-1300,-1700,-2000] value: 0
> Property 0xd226:(readwrite) (type=0x6) Enumeration [16777215,100,125,160,200,250,320,400,500,640,800,1000,1250,1600,2000,2500,3200,4000,5000,6400,8000,10000,12800,33554431,16777316,16777416,16777616,16778016,16778816,16780416,16783616,16790016,16802816,50331647,33554532,33554632,33554832,33555232,33556032,33557632,33560832,33567232,33580032] value: 16777215
> Property 0xd227:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd228:(readwrite) (type=0x2) Enumeration [4,5] value: 5
> Property 0xd229:(readwrite) (type=0x6) Enumeration [] value: 65661
> Property 0xd22a:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd22b:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd235:(readwrite) (type=0x2) Enumeration [0,1] value: 1
> Property 0xd23e:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd23f:(readwrite) (type=0x2) Enumeration [0,1,2,3,4,5,6,7,8,9,10] value: 0
> Property 0xd240:(readwrite) (type=0x2) Enumeration [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19] value: 1
> Property 0xd241:(readwrite) (type=0x2) Enumeration [8,9,3] value: 9
> Property 0xd242:(readwrite) (type=0x4) Enumeration [4,25,5,27,29,31] value: 4
> Property 0xd243:(readwrite) (type=0x4) Enumeration [2,4] value: 2
> Property 0xd244:(readwrite) (type=0x4) Enumeration [2,4,6] value: 4
> Property 0xd245:(readwrite) (type=0x2) Enumeration [1,2] value: 1
> Property 0xd246:(readwrite) (type=0x2) Enumeration [1,2,4] value: 1
> Property 0xd247:(readwrite) (type=0x2) Enumeration [0,1,2,3,17,18,19,20] value: 0
> Property 0xd248:(readwrite) (type=0x2) Enumeration [] value: 4
> Property 0xd249:(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 0
> Property 0xd24a:(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 0
> Property 0xd24b:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd24c:(readwrite) (type=0x2) Range [0 - 0, step 1] value: 0
> Property 0xd24d:(readwrite) (type=0x2) Enumeration [0,1,2,3,4] value: 0
> Property 0xd24e:(readwrite) (type=0x4) Enumeration [] value: 1
> Property 0xd24f:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd250:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd25b:(readwrite) (type=0x2) Enumeration [0,1] value: 1
> Property 0xd25c:(readwrite) (type=0x6) Range [1000 - 1000, step 100] value: 1000
> Property 0xd25d:(readwrite) (type=0x6) 16777216
> Property 0xd25f:(readwrite) (type=0x2) Enumeration [1,3,4] value: 1
> Property 0xd260:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd265:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd266:(readwrite) (type=0x2) Enumeration [0,1] value: 0
> Autofocus(0xd2c1):(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Capture(0xd2c2):(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2c3:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2c5:(readwrite) (type=0x4) Enumeration [1,2] value: 1
> Still Image(0xd2c7):(readwrite) (type=0x4) Enumeration [1,2] value: 1
> Movie(0xd2c8):(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2c9:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2ca:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2d1:(readwrite) (type=0x3) Range [-7 - 7, step 1] value: 2
> Property 0xd2d5:(readwrite) (type=0x4) Enumeration [1,2] value: 1
> Property 0xd2d6:(readwrite) (type=0x4) Enumeration [1,2] value: 1
> Property 0xd2d7:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2d8:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2d9:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2dd:(readwrite) (type=0x1) Range [-1 - 1, step 1] value: 2
> Property 0xd2de:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> 


> _______________________________________________
> Gphoto-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gphoto-user


-- 
Marcus Meissner,SUSE LINUX GmbH; Maxfeldstrasse 5; D-90409 Nuernberg; Zi. 3.1-33,+49-911-740 53-432,,serv=loki,mail=wotan,type=real <[email protected]>