Jump to content


Photo

Is it possible to compress recorded movies ?


  • Please log in to reply
30 replies to this topic

Re: Is it possible to compress recorded movies ? #21 mrvica

  • Senior Member
  • 1,218 posts

+80
Good

Posted 14 April 2021 - 06:36

you may try it with static version of ffmpeg, as @betacentauri already said your duo2 can´t handle it

John Van Sickle - FFmpeg Static Builds

 

edit: you mentioned duo2, that is mipsel, there are only armhf versions there


Edited by mrvica, 14 April 2021 - 06:38.


Re: Is it possible to compress recorded movies ? #22 Youpla

  • Senior Member
  • 47 posts

0
Neutral

Posted 14 April 2021 - 09:18

That’s the problem. E.g. your duo2 has no hardware acceleration support for video encoding. At least none which ffmpeg can use. The transcoding mechanism can’t be used by ffmpeg.

 

Are you sure ? according to this thread BCM 7424 has VideoCore IV GPU.
But I don't know if it is reliable because it is not confirmed by the wikipedia page.

 


VU+ DUO²  - OpenPLI 7.3 8.1 back to 7.3 for now.


Re: Is it possible to compress recorded movies ? #23 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 14 April 2021 - 10:21

The Duo2 can transcode, but it is very basic.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Is it possible to compress recorded movies ? #24 rantanplan

  • PLi® Contributor
  • 1,758 posts

+81
Good

Posted 14 April 2021 - 10:59

https://wiki.vuplus-...rgleichstabelle

 

Duo2 can hardware transcoding, how that is implemented is another matter.
But it's hardware.
Actually, port 8002 should be set up for this and it should work.
How do you get the transcoding plugin out?
The solution should be apparent from that.

greetings



Re: Is it possible to compress recorded movies ? #25 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 14 April 2021 - 11:27

What do you mean with
 

How do you get the transcoding plugin out?

 

Transcoding support is not a plugin, the basis (i.e. port 8001, per-stream parameters) in integrated in Enigma, for backwards compatibility (i.e. port 8002, global parameters) we use a streamproxy, https://github.com/eriksl/streamproxy/


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Is it possible to compress recorded movies ? #26 rantanplan

  • PLi® Contributor
  • 1,758 posts

+81
Good

Posted 14 April 2021 - 11:41

I know that;-)

The problem with the 8001 port is the conflict with the standard stream.
Via the transcoding plug-in you can see the mentioned encoder of the box.

 

https://github.com/O...c/plugin.py#L55

https://github.com/O...c/plugin.py#L59

 

they would have to be intercepted and taken internally.
Do you actually need ffmpeg? I dont know.
With software transcoding (Solo2) it is  done over it, (i think) so it got very hot.
My idea would be to simply see via transcoding and debuglog what exactly is being done with the Duo2.
The encoder will then show how it is transcoded, right?
These parameters can then be used to store the local files.
But just an idea
 



Re: Is it possible to compress recorded movies ? #27 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 14 April 2021 - 11:47

We don't use the transcoding plugin. The setup is only used to create the config file, which is required for OWIF (if it doesn't exist it disables the transcoding icons).

 

Transcoding doesn't use ffmpeg (no idea about the Solo2), it is all done in hardware, via an encoder dev node.

 

And I don't see why there is a conflict,

http://172.16.1.56:8001/1:0:19:5225:c99:3:eb0000:0:0:0

streams, and this

http://172.16.1.56:8001/1:0:19:5225:c99:3:eb0000:0:0:0?bitrate=1000000

transcodes...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Is it possible to compress recorded movies ? #28 rantanplan

  • PLi® Contributor
  • 1,758 posts

+81
Good

Posted 14 April 2021 - 12:11

It's exactly the way I think it is, without having a transcoding capable box ;-)

I am also of the opinion that this is all much easier on the PC, but it may work better than you think.
You could make a simple script out of it.
Script would select film (ts) and store it as desired.
The only thing missing is exactly the way that is done when transcoding.
As I said, with hardware transcoding this is also possible without ffmpeg.

 

try&error;-)



Re: Is it possible to compress recorded movies ? #29 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 14 April 2021 - 12:16

Agreed, I would never do this on the box ;).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Is it possible to compress recorded movies ? #30 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 14 April 2021 - 20:00


That’s the problem. E.g. your duo2 has no hardware acceleration support for video encoding. At least none which ffmpeg can use. The transcoding mechanism can’t be used by ffmpeg.


Are you sure ? according to this thread BCM 7424 has VideoCore IV GPU.
But I don't know if it is reliable because it is not confirmed by the wikipedia page.

If it don’t work out of the box, we can’t really do anything. We don’t have access to the source code of the drivers and cannot change much in the kernel.
And I guess no one from us has the knowledge what to do to enable ffmpeg hardware support.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Is it possible to compress recorded movies ? #31 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 15 April 2021 - 07:32

If you have a transcode capable box AND the drivers/hardware are capable of transcode recordings and save the results on a device then it should be possible to add an option in the context menu of the mediaplayer to transcode a recording... just like eg decode a recording is made... but someone need to invest some time in it...
For me personally it does not have high priority. I prefer quality and regarding quantity you can better get a bigger harddisk..... GIgabytes are not that expensive anymore. But when someone figured out to get it worked I’m willing to help to get the python code for movieplayer done.

Edited by littlesat, 15 April 2021 - 07:34.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users