mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
- new externremux.sh mencoder config options: audio pid by language code
(-alang) and verbosity (-msglevel) (thanks to Pekko Tiitto)
This commit is contained in:
parent
19e8cf2a28
commit
09e0a0176b
@ -185,3 +185,7 @@ wtor
|
||||
|
||||
Javier Bradineras
|
||||
for providing Spanish language texts
|
||||
|
||||
Pekko Tiitto
|
||||
for providing a git mirror of streamdev's lost CVS repository
|
||||
for suggesting to use mencoder params -alang and -msglevel in externremux
|
||||
|
2
HISTORY
2
HISTORY
@ -1,6 +1,8 @@
|
||||
VDR Plugin 'streamdev' Revision History
|
||||
---------------------------------------
|
||||
|
||||
- new externremux.sh mencoder config options: audio pid by language code
|
||||
(-alang) and verbosity (-msglevel) (thanks to Pekko Tiitto)
|
||||
- writer must not spend too much time waiting in select() without checking
|
||||
if the thread has been cancelled
|
||||
- added Spanish translation (thanks to Javier Bradineras)
|
||||
|
@ -44,6 +44,8 @@ ABR_MONO=64
|
||||
###
|
||||
# mencoder binary
|
||||
MENCODER=mencoder
|
||||
# verbosity from all=-1 to all=9 (-msglevel ...)
|
||||
MENCODER_MSGLEVEL=all=1
|
||||
### video part
|
||||
# Default video codec (e.g. lavc/x264/copy)
|
||||
MENCODER_VC=lavc
|
||||
@ -52,6 +54,8 @@ MENCODER_LAVC_VOPTS=vcodec=mpeg4
|
||||
# Default video options if x264 is used (-ovc x264 -x264encopts ...)
|
||||
MENCODER_X264_VOPTS=threads=auto
|
||||
### audio part
|
||||
# Audio language to use if several audio PIDs are available (-alang ...)
|
||||
MENCODER_ALANG=eng
|
||||
# Default audio codec (e.g. lavc/mp3lame/faac/copy)
|
||||
MENCODER_AC=mp3lame
|
||||
# Default audio options if lavc is used (-oac lavc -lavcopts ...)
|
||||
@ -193,14 +197,18 @@ function remux_mencoder
|
||||
startReply
|
||||
exec 3<&0
|
||||
echo $MENCODER \
|
||||
${MENCODER_MSGLEVEL:+-msglevel $MENCODER_MSGLEVEL} \
|
||||
-ovc $VC $VOPTS \
|
||||
-oac $AC $AOPTS \
|
||||
${MENCODER_ALANG:+-alang $MENCODER_ALANG} \
|
||||
${WIDTH:+-vf scale=$WIDTH:$HEIGHT -zoom} \
|
||||
${FPS:+-ofps $FPS} \
|
||||
-o "$FIFO" -- - >&2
|
||||
$MENCODER \
|
||||
${MENCODER_MSGLEVEL:+-msglevel $MENCODER_MSGLEVEL} \
|
||||
-ovc $VC $VOPTS \
|
||||
-oac $AC $AOPTS \
|
||||
${MENCODER_ALANG:+-alang $MENCODER_ALANG} \
|
||||
${WIDTH:+-vf scale=$WIDTH:$HEIGHT -zoom} \
|
||||
${FPS:+-ofps $FPS} \
|
||||
-o "$FIFO" -- - 0<&3 >/dev/null &
|
||||
|
Loading…
Reference in New Issue
Block a user