Files
HiSTBLinuxV100R005C00SPC060/sample/pvr
2024-08-12 23:03:27 +08:00
..
2024-08-12 23:03:27 +08:00
2024-08-12 23:03:27 +08:00
2024-08-12 23:03:27 +08:00
2024-08-12 23:03:27 +08:00
2024-08-12 23:03:27 +08:00
2024-08-12 23:03:27 +08:00
2024-08-12 23:03:27 +08:00
2024-08-12 23:03:27 +08:00
2024-08-12 23:03:27 +08:00

sample_pvr_play:

Purpose: sample_pvr_play to play the streams recorded by running the pvr_rec sample.

    The operations such as play, pause, fast forward, rewind, slow forward, see, step forward, etc are supported.



Command: sample_pvr_play file_name [vo_format]

      file_name: name of the file to be played, including the storage path

      The value vo_format is 1080P_60, 1080P_50, 1080i_60, 1080i_50, 720P_60, or 720P_50. The default value is 1080P_60.

      

      When streams are being played, the command line interface is displayed. The following operations are supported:

         n: normal play

         p: pause

         f: fast forward(2x/4x/8x/16x/32x)

         s: slow forward(2x/4x/8x/16x/32x)

         r: fast reward(2x/4x/8x/16x/32x)

         t: step forward one frame

         k: seek to start

         e: seek to end

         l: seek forward 5 second

         j: seek reward 5 second

         x: destroy play channel and create again

         h: help

         q: quit

      

Note: The running of the commands depends on the font libraries in /sample/higo/res. To ensure that the font libraries are found, run the commands in the sample directory.





//////////////////////////////////////////////////////////////////////////////////

sample_pvr_multifile_play£º

Purpose: sample_pvr_multifile_play to play the stream files named by a specifically rule.

		The sample use the rule such as the follwing, the first several characters is the same, the last 3 characters increased one by one:

		rec_xxx_001.ts

	  rec_xxx_002.ts

	  rec_xxx_003.ts



Command: sample_pvr_multifile_play file_name [vo_format]

      file_name: name of the file to be played, including the storage path

      The value vo_format is 1080P_60, 1080P_50, 1080i_60, 1080i_50, 720P_60, or 720P_50. The default value is 1080P_60.



      When streams are being played, the command line interface is displayed. The following operations are supported:

         n: normal play

         p: pause

         f: fast forward(2x/4x/8x/16x/32x)

         s: slow forward(2x/4x/8x/16x/32x)

         r: fast reward(2x/4x/8x/16x/32x)

         t: step forward one frame

         k: seek to start

         e: seek to end

         l: seek forward 5 second

         j: seek reward 5 second

         x: destroy play channel and create again

         h: help

         q: quit



//////////////////////////////////////////////////////////////////////////////////

sample_pvr_rec:

Purpose: sample_pvr_rec to record streams by using the personal video recorder (PVR).

    The streams can be played during recording. Only one-channel program can be recorded, and the program list is searched automatically before recording.



Command: sample_pvr_rec file_path freq [SymbolRate] [qamtype or polarization] [vo_format]

      file_path: path of the recorded file. You do not need to enter the file name, because the file name is automatically generated based on the audio/video packet IDs (PIDs).

      Fields [SymbolRate], [qamtype or polarization] and [vo_format] are optional.

      SymbolRate:

          For cable, default 6875

          For satellite, default 27500

      qamtype or polarization:

          For cable, used as qamtype, value can be 16|32|[64]|128|256|512 defaut[64]

          For satellite, used as polarization, value can be [0] horizontal | 1 vertical defaut[0]

      vo_format:

          The value of vo_format can be 1080P_60, 1080P_50, 1080i_60, 1080i_50, 720P_60, or 720P_50. The default value is 

          1080i_50.

      

    After the preceding command is executed, programs are searched and the program list is displayed. Recording starts only after a played program is selected.   



//////////////////////////////////////////////////////////////////////////////////

sample_pvr_rec_allts:

Purpose: sample_pvr_rec_allts To record all ts packets

    It is only used to record. Check whether the speed of storage devices meets requirements.



Usage: sample_pvr_rec_allts file_path freq [SymbolRate] [qamtype or polarization] 

      File_path: Path of the recorded file. You do not need to enter the file name, because it is generated automatically based on the audio/video packet IDs (PIDs).

      Fields [SymbolRate], [qamtype or polarization] are optional.

      SymbolRate:

          For cable, default 6875

          For satellite, default 27500

      qamtype or polarization:

          For cable, used as qamtype, value can be 16|32|[64]|128|256|512 defaut[64]

          For satellite, used as polarization, value can be [0] horizontal | 1 vertical defaut[0]



//////////////////////////////////////////////////////////////////////////////////

sample_pvr_timeshift:

Purpose: time shift sample of the PVR.

    Switch between live broadcast and replay is supported. During replay, pausing, fast forwarding, rewinding, slow forwarding, seek, step forwarding, and resetting are supported.



Usage: sample_pvr_timeshift file_path freq [SymbolRate] [qamtype or polarization] [vo_format]

      file_path: Path of the replayed file. The file name is not required because it is generated automatically based on the audio and video pid.

      Fields [SymbolRate], [qamtype or polarization] and [vo_format] are optional.

      SymbolRate:

          For cable, default 6875

          For satellite, default 27500

      qamtype or polarization:

          For cable, used as qamtype, value can be 16|32|[64]|128|256|512 defaut[64]

          For satellite, used as polarization, value can be [0] horizontal | 1 vertical defaut[0]

      vo_format:

          The value of vo_format can be 1080P_60, 1080P_50, 1080i_60, 1080i_50, 720P_60, or 720P_50. The default value is 

          1080i_50.



      After time shift is started, the command line interface is displayed, on which the following operations are allowed.

         l: live play

         n: normal play

         p: pause/play

         f: fast forward (4x)

         s: slow forward (4x)

         r: fast rewind (4x)

         h: help

         q: quit



Note:

     To pause a live program, press p. To replay a program from the pausing place, also press p.

     To enter the live broadcast mode from the replay mode, press 1.

     To enter the normal play mode from the pause mode, press p or n. To enter the normal play mode from the trick play mode, press n. Do not press p, which only pauses the ongoing program.

    

//////////////////////////////////////////////////////////////////////////////////

sample_pvr_eth_timeshift:

Purpose: IPTV time shift sample of the PVR.

    Switch between live broadcast and replay is supported. During replay, pausing, fast forwarding, rewinding, slow forwarding, seek, step forwarding, and resetting are supported.



Usage: sample_pvr_timeshift file_path multiaddr udpport [vo_format]

      file_path: Path of the replayed file. The file name is not required because it is generated automatically based on the audio and video pid.

      multiaddr: Multicast address of stream sender.

      udpport: UDP port number

      vo_format:

          The value of vo_format can be 1080P_60, 1080P_50, 1080i_60, 1080i_50, 720P_60, or 720P_50. The default value is 

          1080i_50.



      After time shift is started, the command line interface is displayed, on which the following operations are allowed.

         l: live play

         n: normal play

         p: pause/play

         f: fast forward (4x)

         s: slow forward (4x)

         r: fast rewind (4x)

         h: help

         q: quit



Note:

     To pause a live program, press p. To replay a program from the pausing place, also press p.

     To enter the live broadcast mode from the replay mode, press 1.

     To enter the normal play mode from the pause mode, press p or n. To enter the normal play mode from the trick play mode, press n. Do not press p, which only pauses the ongoing program.