Re: How to play MPEG PS files?

schorpp <[email protected]> Tue, 7 Jan 2025 23:18:47 +0100
Newsgroups gmane.linux.vdr
Message-ID <[email protected]>
Resend w/o attachments because of list size limit of 140KB.

Am 07.01.25 um 21:53 schrieb Frantisek Rysanek:
>> I got some video files in MPEG PS format.
>>

 >> I was wondering if there is a way to play MPEG PS recordings in VDR, 
or a FUSE program that would make the recordings appear as something 
that VDR recognizes.

All OSS players but totem and mpv play 001.vdr files without conversion 
or renaming here.

xineliboutput built-in xine media player plays all *.mpg and *.vdr files.

> I wonder what dvbsnoop would say about the file, such as:
> 
> dvbsnoop -s sec -nph 0 -if my_ps_file.bin

Maybe it helps to know the details about VDR's old MPEG-PS files 
-Attachment 1- (Only send to Marko directly off list):

  >
  > Check out the other possible values of the "-s" arg:
  > https://dvbsnoop.sourceforge.net/dvbsnoop.html
  >
  > Frank
  >

schorpp@tom3:~$ dvbsnoop -s pes -nph 0 -if 
'/mnt/vdr2-video0/%%@Natural_Born_Killers_Spielfilm_USA_1994_(Natural_Born_Killer/2007-09-09.01.45.50.99.rec/001.vdr'|head
dvbsnoop V1.4.50 -- http://dvbsnoop.sourceforge.net/

------------------------------------------------------------
PES-Packet: 00000001   PID: (Unkown PID), Length: 2048 (0x0800)
from file: 
/mnt/vdr2-video0/%%@Natural_Born_Killers_Spielfilm_USA_1994_(Natural_Born_Killer/2007-09-09.01.45.50.99.rec/001.vdr
------------------------------------------------------------
Packet_start_code_prefix: 0x000001
Stream_id: 224 (0xe0)  [= ITU-T Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 
11172-2 video stream]
PES_packet_length: 2042 (0x07fa)
      reserved1: 2 (0x02)
schorpp@tom3:~$

schorpp@tom3:~$ dvbsnoop -s sec -nph 0 -if 
'/mnt/vdr2-video0/%%@Natural_Born_Killers_Spielfilm_USA_1994_(Natural_Born_Killer/2007-09-09.01.45.50.99.rec/001.vdr' 
  > dvbsnoop-mpegps-vdr-sec.txt -Attachment 2- (Only send to Marko 
directly off list)
Speicherzugriffsfehler (SIGSEGV)

schorpp@tom3:~$ mediainfo 
'/mnt/vdr2-video0/%%@Natural_Born_Killers_Spielfilm_USA_1994_(Natural_Born_Killer/2007-09-09.01.45.50.99.rec/001.vdr'
General
Complete name                            : 
/mnt/vdr2-video0/%%@Natural_Born_Killers_Spielfilm_USA_1994_(Natural_Born_Killer/2007-09-09.01.45.50.99.rec/001.vdr
Format                                   : MPEG-PS
File size                                : 14.4 MiB
Duration                                 : 19 s 600 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 6 146 kb/s
FileExtension_Invalid                    : mpeg mpg m2p vob vro pss evo

Video
ID                                       : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings                          : CustomMatrix / BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : M=3, N=12
Format settings, picture structure       : Frame
Duration                                 : 19 s 600 ms
Bit rate mode                            : Variable
Bit rate                                 : 5 128 kb/s
Maximum bit rate                         : 15.0 Mb/s
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 4:3
Frame rate                               : 25.000 FPS
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.495
Time code of first frame                 : 16:48:28:08
Time code source                         : Group of pictures header
GOP, Open/Closed                         : Open
Stream size                              : 12.0 MiB (83%)

y
tom