mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-15 00:34:05 +09:00
Documentation update for -mp4 feature
This commit is contained in:
31
README.html
31
README.html
@@ -16,6 +16,8 @@ which “-lang” overrides). Format is <code>-lang fr:es:en</code>, where
|
|||||||
French (“fr”) is the first choice, if available, then Spanish (“es”),
|
French (“fr”) is the first choice, if available, then Spanish (“es”),
|
||||||
etc. $LANGUAGE has the same format: <code>-lang</code> (by itself)
|
etc. $LANGUAGE has the same format: <code>-lang</code> (by itself)
|
||||||
suppresses playing of dubbed audio if $LANGUAGE is set.</p></li>
|
suppresses playing of dubbed audio if $LANGUAGE is set.</p></li>
|
||||||
|
<li><p>Support for recording Mirror-mode/Audio-mode (but not HLS) Audio
|
||||||
|
and Video to mp4 file (new option -mp4 [fn]).</p></li>
|
||||||
<li><p>Support for <strong>service discovery using a Bluetooth LE
|
<li><p>Support for <strong>service discovery using a Bluetooth LE
|
||||||
“beacon”</strong> for both Linux/*BSD and Windows (as an alternative to
|
“beacon”</strong> for both Linux/*BSD and Windows (as an alternative to
|
||||||
Bonjour/Rendezvous DNS-SD service discovery). <strong>This can be used
|
Bonjour/Rendezvous DNS-SD service discovery). <strong>This can be used
|
||||||
@@ -33,9 +35,11 @@ below</a>.</p></li>
|
|||||||
<li><p>option <code>-vrtp <rest-of-pipeline></code> bypasses
|
<li><p>option <code>-vrtp <rest-of-pipeline></code> bypasses
|
||||||
rendering by UxPlay, and instead transmits rtp packets of decrypted h264
|
rendering by UxPlay, and instead transmits rtp packets of decrypted h264
|
||||||
or h265 video to an external renderer (e.g. OBS Studio) at an address
|
or h265 video to an external renderer (e.g. OBS Studio) at an address
|
||||||
specified in <code>rest-of-pipeline</code>. (Note: this is video only,
|
specified in <code>rest-of-pipeline</code>. Similarly,
|
||||||
an option “-rtp” which muxes audio and video into a mpeg4 container
|
<code>-artp <rest-of-pipeline></code> forwards decoded audio as
|
||||||
still needs to be created: Pull Requests welcomed).</p></li>
|
L16 RTP packets. Both options can be used together to forward video and
|
||||||
|
audio (as separate concurrent streams) to external
|
||||||
|
applications.</p></li>
|
||||||
<li><p>(for Linux/*BSD Desktop Environments using D-Bus). New option
|
<li><p>(for Linux/*BSD Desktop Environments using D-Bus). New option
|
||||||
<code>-scrsv <n></code> provides screensaver inhibition (e.g., to
|
<code>-scrsv <n></code> provides screensaver inhibition (e.g., to
|
||||||
prevent screensaver function while watching mirrored videos without
|
prevent screensaver function while watching mirrored videos without
|
||||||
@@ -1113,6 +1117,11 @@ and some iPhones) can send h265 video if a resolution “-s wxh” with h
|
|||||||
> 1080 is requested. The “-h265” option changes the default
|
> 1080 is requested. The “-h265” option changes the default
|
||||||
resolution (“-s” option) from 1920x1080 to 3840x2160, and leaves default
|
resolution (“-s” option) from 1920x1080 to 3840x2160, and leaves default
|
||||||
maximum framerate (“-fps” option) at 30fps.</p>
|
maximum framerate (“-fps” option) at 30fps.</p>
|
||||||
|
<p><strong>-mp4 [fn]</strong> Record mirror-mode and audio-mode
|
||||||
|
audio/video to a mp4 file, while watching/listening. File name is
|
||||||
|
fn.n.(format).mp4, (default “fn” = “recording”). The number
|
||||||
|
<code>n</code> = 1,2,… increments with each new connection. “format”
|
||||||
|
(e.g. “H264.AAC”) indicates H264/H265 video, AAC/ALAC audio.</p>
|
||||||
<p><strong>-hls [v]</strong> Activate HTTP Live Streaming support. With
|
<p><strong>-hls [v]</strong> Activate HTTP Live Streaming support. With
|
||||||
this option YouTube videos can be streamed directly from YouTube servers
|
this option YouTube videos can be streamed directly from YouTube servers
|
||||||
to UxPlay (without passing through the client) by clicking on the
|
to UxPlay (without passing through the client) by clicking on the
|
||||||
@@ -1313,6 +1322,13 @@ rtph265pay as appropriate: <em>pipeline</em> should start with any
|
|||||||
rtph26xpay options (such as config_interval= or aggregate-mode =),
|
rtph26xpay options (such as config_interval= or aggregate-mode =),
|
||||||
followed by a sending method: <em>e.g.</em>,
|
followed by a sending method: <em>e.g.</em>,
|
||||||
<code>"config-interval=1 ! udpsink host=127.0.0.1 port=5000</code>“.</p>
|
<code>"config-interval=1 ! udpsink host=127.0.0.1 port=5000</code>“.</p>
|
||||||
|
<p><strong>-artp <em>pipeline</em></strong>: forward decoded audio as
|
||||||
|
L16 RTP packets to somewhere else, without local playback. Uses
|
||||||
|
rtpL16pay (16-bit signed big-endian PCM, 44100Hz stereo):
|
||||||
|
<em>pipeline</em> should start with any rtpL16pay options (such as pt=),
|
||||||
|
followed by a sending method: <em>e.g.</em>,
|
||||||
|
<code>"pt=96 ! udpsink host=127.0.0.1 port=5002"</code>. iOS volume
|
||||||
|
control still works over RTP.</p>
|
||||||
<p><strong>-v4l2</strong> Video settings for hardware h264 video
|
<p><strong>-v4l2</strong> Video settings for hardware h264 video
|
||||||
decoding in the GPU by Video4Linux2. Equivalent to
|
decoding in the GPU by Video4Linux2. Equivalent to
|
||||||
<code>-vd v4l2h264dec -vc v4l2convert</code>.</p>
|
<code>-vd v4l2h264dec -vc v4l2convert</code>.</p>
|
||||||
@@ -1928,10 +1944,11 @@ screensaver while UxPlay is running (Linux/*BSD only). Add password
|
|||||||
support (-pw) using a displayed pin code as a password that changes
|
support (-pw) using a displayed pin code as a password that changes
|
||||||
every time (and not as a one-time pin). Add support for Service
|
every time (and not as a one-time pin). Add support for Service
|
||||||
Discovery using a Bluetooth LE beacon. Add -vrtp option for forwarding
|
Discovery using a Bluetooth LE beacon. Add -vrtp option for forwarding
|
||||||
decrypted h264/5 video to an external renderer (e.g., OBS Studio). Check
|
decrypted h264/5 video to an external renderer (e.g., OBS Studio), and
|
||||||
that option input strings have valid UTF-8 encoding. New option
|
-artp for audio. Check that option input strings have valid UTF-8
|
||||||
<code>-lang fr:es:en</code> to specify language preferences for YouTube
|
encoding. New option <code>-lang fr:es:en</code> to specify language
|
||||||
HLS videos when they offer a choice.</p>
|
preferences for YouTube HLS videos when they offer a choice. New option
|
||||||
|
-mp4 for recording to a mp4 file (Mirror and Audio mode, not HLS)</p>
|
||||||
<p>1.72.2 2025-07-07 Fix bug (typo) in DNS_SD advertisement introduced
|
<p>1.72.2 2025-07-07 Fix bug (typo) in DNS_SD advertisement introduced
|
||||||
with -pw option. Update llhttp to v 9.3.0</p>
|
with -pw option. Update llhttp to v 9.3.0</p>
|
||||||
<p>1.72.1 2025-06-06 minor update: fix regression in -reg option; add
|
<p>1.72.1 2025-06-06 minor update: fix regression in -reg option; add
|
||||||
|
|||||||
25
README.md
25
README.md
@@ -4,10 +4,12 @@
|
|||||||
|
|
||||||
- **NEW in v1.73** (November 2025):
|
- **NEW in v1.73** (November 2025):
|
||||||
|
|
||||||
- Some YouTube app HLS videos now offer alternative language tracks (generated by AI dubbing). Language choices will be made in order of
|
- Some YouTube app HLS videos now offer alternative language tracks (generated by AI dubbing). Language choices will be made in order of
|
||||||
preferences set with option -lang (or by environment variable $LANGUAGE, which "-lang" overrides). Format is `-lang fr:es:en`, where French ("fr") is
|
preferences set with option -lang (or by environment variable $LANGUAGE, which "-lang" overrides). Format is `-lang fr:es:en`, where French ("fr") is
|
||||||
the first choice, if available, then Spanish ("es"), etc. $LANGUAGE has the same format: `-lang` (by itself) suppresses playing of
|
the first choice, if available, then Spanish ("es"), etc. $LANGUAGE has the same format: `-lang` (by itself) suppresses playing of
|
||||||
dubbed audio if $LANGUAGE is set.
|
dubbed audio if $LANGUAGE is set.
|
||||||
|
|
||||||
|
- Support for recording Mirror-mode/Audio-mode (but not HLS) Audio and Video to mp4 file (new option -mp4 [fn]).
|
||||||
|
|
||||||
- Support for **service discovery using a Bluetooth LE "beacon"** for both Linux/\*BSD and Windows (as an alternative to Bonjour/Rendezvous DNS-SD
|
- Support for **service discovery using a Bluetooth LE "beacon"** for both Linux/\*BSD and Windows (as an alternative to Bonjour/Rendezvous DNS-SD
|
||||||
service discovery). **This can be used on networks that do not allow the user to run a DNS_SD service.** The user must run a Bluetooth LE "beacon", (a USB 4.0 or
|
service discovery). **This can be used on networks that do not allow the user to run a DNS_SD service.** The user must run a Bluetooth LE "beacon", (a USB 4.0 or
|
||||||
@@ -22,8 +24,6 @@
|
|||||||
an external renderer (e.g. OBS Studio) at an address specified in `rest-of-pipeline`.
|
an external renderer (e.g. OBS Studio) at an address specified in `rest-of-pipeline`.
|
||||||
Similarly, `-artp <rest-of-pipeline>` forwards decoded audio as L16 RTP packets.
|
Similarly, `-artp <rest-of-pipeline>` forwards decoded audio as L16 RTP packets.
|
||||||
Both options can be used together to forward video and audio (as separate concurrent streams) to external applications.
|
Both options can be used together to forward video and audio (as separate concurrent streams) to external applications.
|
||||||
(Note: an option "-rtp" which muxes audio and video into a mpeg4 container still needs to be created:
|
|
||||||
Pull Requests welcomed).
|
|
||||||
|
|
||||||
- (for Linux/*BSD Desktop Environments using D-Bus). New option `-scrsv <n>` provides screensaver inhibition (e.g., to
|
- (for Linux/*BSD Desktop Environments using D-Bus). New option `-scrsv <n>` provides screensaver inhibition (e.g., to
|
||||||
prevent screensaver function while watching mirrored videos without keyboard or mouse
|
prevent screensaver function while watching mirrored videos without keyboard or mouse
|
||||||
@@ -1103,6 +1103,12 @@ The "-h265" option changes the default resolution ("-s" option) from
|
|||||||
1920x1080 to 3840x2160, and leaves default maximum framerate ("-fps"
|
1920x1080 to 3840x2160, and leaves default maximum framerate ("-fps"
|
||||||
option) at 30fps.
|
option) at 30fps.
|
||||||
|
|
||||||
|
**-mp4 \[fn\]** Record mirror-mode and audio-mode audio/video to a
|
||||||
|
mp4 file, while watching/listening. File name is fn.n.(format).mp4,
|
||||||
|
(default "fn" = "recording"). The number `n` = 1,2,... increments with
|
||||||
|
each new connection. "format" (e.g. "H264.AAC") indicates H264/H265 video,
|
||||||
|
AAC/ALAC audio.
|
||||||
|
|
||||||
**-hls \[v\]** Activate HTTP Live Streaming support. With this option YouTube
|
**-hls \[v\]** Activate HTTP Live Streaming support. With this option YouTube
|
||||||
videos can be streamed directly from YouTube servers to UxPlay (without
|
videos can be streamed directly from YouTube servers to UxPlay (without
|
||||||
passing through the client) by clicking on the AirPlay icon in the
|
passing through the client) by clicking on the AirPlay icon in the
|
||||||
@@ -1950,9 +1956,10 @@ is running (Linux/*BSD only). Add password support (-pw) using a displayed
|
|||||||
pin code as a password that changes every time (and not as a one-time
|
pin code as a password that changes every time (and not as a one-time
|
||||||
pin). Add support for Service Discovery using a
|
pin). Add support for Service Discovery using a
|
||||||
Bluetooth LE beacon. Add -vrtp option for forwarding decrypted h264/5 video
|
Bluetooth LE beacon. Add -vrtp option for forwarding decrypted h264/5 video
|
||||||
to an external renderer (e.g., OBS Studio). Check that option input strings
|
to an external renderer (e.g., OBS Studio), and -artp for audio. Check that
|
||||||
have valid UTF-8 encoding. New option `-lang fr:es:en` to specify language
|
option input strings have valid UTF-8 encoding. New option `-lang fr:es:en`
|
||||||
preferences for YouTube HLS videos when they offer a choice.
|
to specify language preferences for YouTube HLS videos when they offer a choice.
|
||||||
|
New option -mp4 for recording to a mp4 file (Mirror and Audio mode, not HLS)
|
||||||
|
|
||||||
1.72.2 2025-07-07 Fix bug (typo) in DNS_SD advertisement introduced with -pw
|
1.72.2 2025-07-07 Fix bug (typo) in DNS_SD advertisement introduced with -pw
|
||||||
option. Update llhttp to v 9.3.0
|
option. Update llhttp to v 9.3.0
|
||||||
|
|||||||
35
README.txt
35
README.txt
@@ -12,6 +12,9 @@
|
|||||||
("es"), etc. \$LANGUAGE has the same format: `-lang` (by itself)
|
("es"), etc. \$LANGUAGE has the same format: `-lang` (by itself)
|
||||||
suppresses playing of dubbed audio if \$LANGUAGE is set.
|
suppresses playing of dubbed audio if \$LANGUAGE is set.
|
||||||
|
|
||||||
|
- Support for recording Mirror-mode/Audio-mode (but not HLS) Audio and
|
||||||
|
Video to mp4 file (new option -mp4 \[fn\]).
|
||||||
|
|
||||||
- Support for **service discovery using a Bluetooth LE "beacon"** for
|
- Support for **service discovery using a Bluetooth LE "beacon"** for
|
||||||
both Linux/\*BSD and Windows (as an alternative to
|
both Linux/\*BSD and Windows (as an alternative to
|
||||||
Bonjour/Rendezvous DNS-SD service discovery). **This can be used on
|
Bonjour/Rendezvous DNS-SD service discovery). **This can be used on
|
||||||
@@ -30,9 +33,10 @@
|
|||||||
- option `-vrtp <rest-of-pipeline>` bypasses rendering by UxPlay, and
|
- option `-vrtp <rest-of-pipeline>` bypasses rendering by UxPlay, and
|
||||||
instead transmits rtp packets of decrypted h264 or h265 video to an
|
instead transmits rtp packets of decrypted h264 or h265 video to an
|
||||||
external renderer (e.g. OBS Studio) at an address specified in
|
external renderer (e.g. OBS Studio) at an address specified in
|
||||||
`rest-of-pipeline`. (Note: this is video only, an option "-rtp"
|
`rest-of-pipeline`. Similarly, `-artp <rest-of-pipeline>` forwards
|
||||||
which muxes audio and video into a mpeg4 container still needs to be
|
decoded audio as L16 RTP packets. Both options can be used together
|
||||||
created: Pull Requests welcomed).
|
to forward video and audio (as separate concurrent streams) to
|
||||||
|
external applications.
|
||||||
|
|
||||||
- (for Linux/\*BSD Desktop Environments using D-Bus). New option
|
- (for Linux/\*BSD Desktop Environments using D-Bus). New option
|
||||||
`-scrsv <n>` provides screensaver inhibition (e.g., to prevent
|
`-scrsv <n>` provides screensaver inhibition (e.g., to prevent
|
||||||
@@ -815,9 +819,8 @@ framebuffer video, use `<videosink>` = `kmssink`.
|
|||||||
- Tip: to start UxPlay on a remote host (such as a Raspberry Pi) using
|
- Tip: to start UxPlay on a remote host (such as a Raspberry Pi) using
|
||||||
ssh:
|
ssh:
|
||||||
|
|
||||||
```{=html}
|
|
||||||
<!-- -->
|
<!-- -->
|
||||||
```
|
|
||||||
ssh user@remote_host
|
ssh user@remote_host
|
||||||
export DISPLAY=:0
|
export DISPLAY=:0
|
||||||
nohup uxplay [options] > FILE &
|
nohup uxplay [options] > FILE &
|
||||||
@@ -1137,6 +1140,12 @@ The "-h265" option changes the default resolution ("-s" option) from
|
|||||||
1920x1080 to 3840x2160, and leaves default maximum framerate ("-fps"
|
1920x1080 to 3840x2160, and leaves default maximum framerate ("-fps"
|
||||||
option) at 30fps.
|
option) at 30fps.
|
||||||
|
|
||||||
|
**-mp4 \[fn\]** Record mirror-mode and audio-mode audio/video to a mp4
|
||||||
|
file, while watching/listening. File name is fn.n.(format).mp4, (default
|
||||||
|
"fn" = "recording"). The number `n` = 1,2,... increments with each new
|
||||||
|
connection. "format" (e.g. "H264.AAC") indicates H264/H265 video,
|
||||||
|
AAC/ALAC audio.
|
||||||
|
|
||||||
**-hls \[v\]** Activate HTTP Live Streaming support. With this option
|
**-hls \[v\]** Activate HTTP Live Streaming support. With this option
|
||||||
YouTube videos can be streamed directly from YouTube servers to UxPlay
|
YouTube videos can be streamed directly from YouTube servers to UxPlay
|
||||||
(without passing through the client) by clicking on the AirPlay icon in
|
(without passing through the client) by clicking on the AirPlay icon in
|
||||||
@@ -1346,6 +1355,13 @@ appropriate: *pipeline* should start with any rtph26xpay options (such
|
|||||||
as config_interval= or aggregate-mode =), followed by a sending method:
|
as config_interval= or aggregate-mode =), followed by a sending method:
|
||||||
*e.g.*, `"config-interval=1 ! udpsink host=127.0.0.1 port=5000`".
|
*e.g.*, `"config-interval=1 ! udpsink host=127.0.0.1 port=5000`".
|
||||||
|
|
||||||
|
**-artp *pipeline***: forward decoded audio as L16 RTP packets to
|
||||||
|
somewhere else, without local playback. Uses rtpL16pay (16-bit signed
|
||||||
|
big-endian PCM, 44100Hz stereo): *pipeline* should start with any
|
||||||
|
rtpL16pay options (such as pt=), followed by a sending method: *e.g.*,
|
||||||
|
`"pt=96 ! udpsink host=127.0.0.1 port=5002"`. iOS volume control still
|
||||||
|
works over RTP.
|
||||||
|
|
||||||
**-v4l2** Video settings for hardware h264 video decoding in the GPU by
|
**-v4l2** Video settings for hardware h264 video decoding in the GPU by
|
||||||
Video4Linux2. Equivalent to `-vd v4l2h264dec -vc v4l2convert`.
|
Video4Linux2. Equivalent to `-vd v4l2h264dec -vc v4l2convert`.
|
||||||
|
|
||||||
@@ -1998,10 +2014,11 @@ screensaver while UxPlay is running (Linux/\*BSD only). Add password
|
|||||||
support (-pw) using a displayed pin code as a password that changes
|
support (-pw) using a displayed pin code as a password that changes
|
||||||
every time (and not as a one-time pin). Add support for Service
|
every time (and not as a one-time pin). Add support for Service
|
||||||
Discovery using a Bluetooth LE beacon. Add -vrtp option for forwarding
|
Discovery using a Bluetooth LE beacon. Add -vrtp option for forwarding
|
||||||
decrypted h264/5 video to an external renderer (e.g., OBS Studio). Check
|
decrypted h264/5 video to an external renderer (e.g., OBS Studio), and
|
||||||
that option input strings have valid UTF-8 encoding. New option
|
-artp for audio. Check that option input strings have valid UTF-8
|
||||||
`-lang fr:es:en` to specify language preferences for YouTube HLS videos
|
encoding. New option `-lang fr:es:en` to specify language preferences
|
||||||
when they offer a choice.
|
for YouTube HLS videos when they offer a choice. New option -mp4 for
|
||||||
|
recording to a mp4 file (Mirror and Audio mode, not HLS)
|
||||||
|
|
||||||
1.72.2 2025-07-07 Fix bug (typo) in DNS_SD advertisement introduced with
|
1.72.2 2025-07-07 Fix bug (typo) in DNS_SD advertisement introduced with
|
||||||
-pw option. Update llhttp to v 9.3.0
|
-pw option. Update llhttp to v 9.3.0
|
||||||
|
|||||||
Reference in New Issue
Block a user