Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

General Questions • Re: /dev/shm vs a ramdisk

$
0
0
at however fast the gpu/cpu can run the transoder (so, significantly faster than the 24fps of the playout), but video streams from antenna or cable can only write out at the speed of the incoming media stream because it's all in realtime.
I do it the hard way, but with a custom ‘Free-to-Air’ tcl/tk program and here's a typical stream as shown by mediainfo for a file based type.

Code:

Format                                   : MPEG-TSFile size                                : 7.48 GiBDuration                                 : 1 h 34 minOverall bit rate mode                    : VariableOverall bit rate                         : 11.3 Mb/sVideoID                                       : 49 (0x31)Menu ID                                  : 1 (0x1)Format                                   : MPEG VideoFormat version                           : Version 2Format profile                           : Main@HighFormat settings, BVOP                    : YesFormat settings, Matrix                  : CustomFormat settings, GOP                     : VariableFormat settings, picture structure       : FrameCodec ID                                 : 2Duration                                 : 1 h 34 minBit rate mode                            : VariableBit rate                                 : 10.2 Mb/sMaximum bit rate                         : 14.7 Mb/sWidth                                    : 1 920 pixelsHeight                                   : 1 080 pixelsDisplay aspect ratio                     : 16:9Active Format Description                : Full frame 16:9 imageFrame rate                               : 29.970 (30000/1001) FPSColor space                              : YUVChroma subsampling                       : 4:2:0Bit depth                                : 8 bitsScan type                                : InterlacedScan order                               : Top Field FirstCompression mode                         : LossyBits/(Pixel*Frame)                       : 0.164Time code of first frame                 : 11:32:56;06Time code source                         : Group of pictures headerGOP, Open/Closed                         : OpenStream size                              : 6.72 GiB (90%)Audio #1ID                                       : 52 (0x34)Menu ID                                  : 1 (0x1)Format                                   : AC-3Format/Info                              : Audio Coding 3Mode extension                           : CM (complete main)Format settings, Endianness              : BigCodec ID                                 : 129Duration                                 : 1 h 34 minBit rate mode                            : ConstantBit rate                                 : 384 kb/sChannel(s)                               : 6 channelsChannel positions                        : Front: L C R, Side: L R, LFESampling rate                            : 48.0 kHzFrame rate                               : 31.250 FPS (1536 spf)Bit depth                                : 16 bitsCompression mode                         : LossyDelay relative to video                  : -848 msStream size                              : 259 MiB (3%)Language                                 : EnglishAudio #2ID                                       : 53 (0x35)Menu ID                                  : 1 (0x1)Format                                   : AC-3Format/Info                              : Audio Coding 3Mode extension                           : VI (visually impaired)Format settings, Endianness              : BigCodec ID                                 : 129Duration                                 : 1 h 34 minBit rate mode                            : ConstantBit rate                                 : 192 kb/sChannel(s)                               : 2 channelsChannel positions                        : Front: L RSampling rate                            : 48.0 kHzFrame rate                               : 31.250 FPS (1536 spf)Bit depth                                : 16 bitsCompression mode                         : LossyDelay relative to video                  : -656 msStream size                              : 130 MiB (2%)Language                                 : SpanishText #1ID                                       : 49 (0x31)-CC1Menu ID                                  : 1 (0x1)Format                                   : EIA-608Muxing mode                              : A/53 / DTVCC TransportMuxing mode, more info                   : Muxed in Video #1Duration                                 : 1 h 34 minBit rate mode                            : ConstantStream size                              : 0.00 Byte (0%)Text #2ID                                       : 49 (0x31)-1Menu ID                                  : 1 (0x1)Format                                   : EIA-708Muxing mode                              : A/53 / DTVCC TransportMuxing mode, more info                   : Muxed in Video #1Duration                                 : 1 h 34 minBit rate mode                            : ConstantStream size                              : 0.00 Byte (0%)MenuID                                       : 48 (0x30)Menu ID                                  : 1 (0x1)Duration                                 : 1 h 34 minList                                     : 49 (0x31) (MPEG Video) / 52 (0x34) (AC-3, English) / 53 (0x35) (AC-3, Spanish)Language                                 :  / English / Spanish
I use both mpv cache for some, file based cache for others. All go to the ‘ramdrive’ ~/Videos/vram. Here there is no transcoding unless I want to save it as smaller. I use hauppage and recording 4 while watching a few takes very little effort. I tried plex a few years back and thought it was too much. The current gnutv I use in the background is broken in bookworm still, the prior version still works.

Is transcoding required? With gnutv it is not, all the play,pause,seek functionality works on the native recording, as shown above.

Statistics: Posted by CwF — 2025-01-13 22:58



Viewing all articles
Browse latest Browse all 2849

Trending Articles