Author Topic: LIVE VIDEO WITH SAVE FUNCTION  (Read 12006 times)

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: LIVE VIDEO WITH SAVE FUNCTION
« Reply #15 on: January 02, 2020, 03:33:15 AM »
i mean on the issue of it is not showing the video from all sources.

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: LIVE VIDEO WITH SAVE FUNCTION
« Reply #16 on: January 03, 2020, 12:36:35 AM »
The control was updated and replaced to include a possibility of using different video compressors (x264, MJPEG, IYUV, etc) which need to be installed on the PC prior to using the control.


joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: LIVE VIDEO WITH SAVE FUNCTION
« Reply #17 on: January 03, 2020, 02:53:41 AM »
You could try using the attached modified LiveVideo control, with 3 new properties: RecordVideoToFile, RecordVideoFileName and RecordVideoCompressor.

It only does AVI files which will have different size depending on what video compressor you select.

So Godra, should we download from the above quote? Correct me if i'm wrong.

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: LIVE VIDEO WITH SAVE FUNCTION
« Reply #18 on: January 03, 2020, 03:12:12 PM »
That's correct.

It's the only post with the control attached so I just keep updating and replacing the file there.

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: LIVE VIDEO WITH SAVE FUNCTION
« Reply #19 on: January 05, 2020, 09:09:40 PM »
For those who want to use x264vfw codec, setting it as in the attached picture appears to produce video file size of approximately 11MB per 1 minute of video.

This was true for Video Properties as shown in the 2nd attached picture.
« Last Edit: January 05, 2020, 09:31:46 PM by Godra »

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: LIVE VIDEO WITH SAVE FUNCTION
« Reply #20 on: January 11, 2020, 02:15:51 AM »
Thats really helpful

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: LIVE VIDEO WITH SAVE FUNCTION
« Reply #21 on: February 03, 2020, 08:07:46 PM »
Hi Godra,

I just had chance to try the updated control. Unfortunately it cannot work. There is a warning on the control:
An unrecoverable error has occurred.
Object reference not set to an instance of an object.



Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: LIVE VIDEO WITH SAVE FUNCTION
« Reply #22 on: February 03, 2020, 11:09:20 PM »
It could be that you are trying to use the video compressor that's not installed on your PC or something else.

Try using breakpoints similar to what you did previously.
« Last Edit: February 05, 2020, 01:46:20 PM by Godra »

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: LIVE VIDEO WITH SAVE FUNCTION
« Reply #23 on: February 03, 2020, 11:15:24 PM »
you are right. it's the video compressor issue.
thanks for your help.

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: LIVE VIDEO WITH SAVE FUNCTION
« Reply #24 on: February 03, 2020, 11:31:02 PM »
just one more issue. the start recording instruction does not really work.
when i start the app, it starts recording automatically. i have set the RecordVideoToFile as False.

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: LIVE VIDEO WITH SAVE FUNCTION
« Reply #25 on: February 04, 2020, 01:14:00 PM »
Just double check everything again.

The video file is created upon starting the app but doesn't contain any video until recording is enabled.

smithpetermark@gmail.com

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: LIVE VIDEO WITH SAVE FUNCTION
« Reply #26 on: February 11, 2024, 02:17:29 AM »
I cannot get this control working and in fact now my Solution is throwing errors.

I know this post is old.

I deleted the control and the dll resource and have no errors and will try again.

OK -  reread the instructions and succeeded.  I used the encoder from here btw: https://sourceforge.net/projects/x264vfw/
« Last Edit: February 11, 2024, 08:43:36 AM by smithpetermark@gmail.com »