@@ -284,8 +284,8 @@ _gtk_vbox_list() {
284
284
SELECTION=" $( _get_index_of_value " ${! VARIABLE_NAME} " " ${OPTION_LIST[@]} " ) "
285
285
if [[ " ${VARIABLE_NAME} " == " DECKLINK_INPUT_CHOICE" ]] ; then
286
286
LIST=" <input>_get_decklink_input_list</input>"
287
- elif [[ " ${VARIABLE_NAME} " == " AVFCTL_INPUT_CHOICE " ]] ; then
288
- LIST=" <input>_get_avfctl_input_list </input>"
287
+ elif [[ " ${VARIABLE_NAME} " == " DVRESCUE_INPUT_CHOICE " ]] ; then
288
+ LIST=" <input>_get_dvrescue_input_list </input>"
289
289
elif [[ " ${VARIABLE_NAME} " == " AUDIO_DEV_CHOICE" ]] ; then
290
290
LIST=" <input>_get_audio_device_list</input>"
291
291
else
@@ -334,12 +334,12 @@ _gtk_vbox_list() {
334
334
<action type=\" clear\" >DECKLINK_INPUT_CHOICE</action>
335
335
<action type=\" refresh\" >DECKLINK_INPUT_CHOICE</action>
336
336
</button>"
337
- elif [[ " ${VARIABLE_NAME} " == " AVFCTL_INPUT_CHOICE " ]] ; then
337
+ elif [[ " ${VARIABLE_NAME} " == " DVRESCUE_INPUT_CHOICE " ]] ; then
338
338
echo "
339
339
<button>
340
340
<label>Rescan</label>
341
- <action type=\" clear\" >AVFCTL_INPUT_CHOICE </action>
342
- <action type=\" refresh\" >AVFCTL_INPUT_CHOICE </action>
341
+ <action type=\" clear\" >DVRESCUE_INPUT_CHOICE </action>
342
+ <action type=\" refresh\" >DVRESCUE_INPUT_CHOICE </action>
343
343
</button>"
344
344
elif [[ " ${VARIABLE_NAME} " == " AUDIO_DEV_CHOICE" ]] ; then
345
345
echo "
@@ -395,16 +395,14 @@ _setup_vrecord_input(){
395
395
GRAB_INPUT+=(-raw_format " ${PIXEL_FORMAT} " )
396
396
GRAB_INPUT+=(-i " ${DECKLINK_INPUT_CHOICE} " )
397
397
elif [[ " ${DEVICE_INPUT_CHOICE} " = 1 ]] ; then
398
- if [[ " ${OS_TYPE } " = " linux " ]] ; then
398
+ if [[ " ${DVRESCUE_INPUT_CHOICE } " = ' FFmpeg iec61883 Default ' ]] ; then
399
399
GRAB_INPUT+=(-f iec61883)
400
400
GRAB_INPUT+=(-i auto)
401
- elif [[ " ${OS_TYPE} " = " macOS" ]] ; then
402
- AVFCTL_INPUT_INDEX=" $( echo " ${AVFCTL_INPUT_CHOICE} " | cut -c 2) "
403
- GRAB_INPUT+=(-device " ${AVFCTL_INPUT_INDEX} " )
404
- GRAB_INPUT+=(-cmd capture)
405
- GRAB_INPUT+=(-)
401
+ else
402
+ DVRESCUE_INPUT_INDEX=" $( echo " ${DVRESCUE_INPUT_CHOICE} " | cut -d " " -f1 | sed ' s|:$||g' ) "
403
+ GRAB_INPUT+=(" device://${DVRESCUE_INPUT_INDEX} " )
404
+ GRAB_INPUT+=(--capture)
406
405
fi
407
- MIDDLEOPTIONS+=(-c copy -map 0)
408
406
elif [[ " ${DEVICE_INPUT_CHOICE} " = 2 ]] ; then
409
407
_set_ffmpeg_loglevel
410
408
# Mac Options
@@ -444,11 +442,7 @@ _setup_vrecord_process(){
444
442
PIPE_OUTPUT+=(-)
445
443
WINDOW_NAME=" mode:${RUNTYPE} - video:'${VIDEO_INPUT} ' audio:'${AUDIO_INPUT} ' - to end recording press q, esc, or close video window"
446
444
elif [[ " ${DEVICE_INPUT_CHOICE} " = 1 ]] ; then
447
- PIPE_OUTPUT=(-c copy)
448
- PIPE_OUTPUT+=(-map 0)
449
- PIPE_OUTPUT+=(-f rawvideo)
450
- PIPE_OUTPUT+=(-)
451
- WINDOW_NAME=" mode:${RUNTYPE} - input:'${AVFCTL_INPUT_INDEX} ' - to end recording press q, esc, or close video window"
445
+ WINDOW_NAME=" mode:${RUNTYPE} - DV input:'${DVRESCUE_INPUT_INDEX} ' - to end recording press q, esc, or close video window"
452
446
elif [[ " ${DEVICE_INPUT_CHOICE} " = 2 ]] ; then
453
447
PIPE_OUTPUT+=(-c:a pcm_s16le -ar 48k)
454
448
PIPE_OUTPUT+=(-f wav)
@@ -486,7 +480,7 @@ _setup_vrecord_process(){
486
480
fi
487
481
RECORD_COMMAND+=(" ${PIPE_OUTPUT[@]} " )
488
482
elif [[ " ${DEVICE_INPUT_CHOICE} " = 1 ]] ; then
489
- if [[ " ${OS_TYPE } " = " linux " ]] ; then
483
+ if [[ " ${DVRESCUE_INPUT_CHOICE } " = ' FFmpeg iec61883 Default ' ]] ; then
490
484
if [[ " ${RUNTYPE} " = " record" ]] ; then
491
485
VRECORD_STEPS=" 2" # Steps: record | player
492
486
else
@@ -497,18 +491,20 @@ _setup_vrecord_process(){
497
491
RECORD_COMMAND+=(-f " ${FORMAT} " " ${VRECORD_OUTPUT} " )
498
492
RECORD_COMMAND+=(-map 0:v -f rawvideo -c copy -)
499
493
else
494
+ VRECORD_STEPS=" 2" # Steps: record | player
495
+ RECORD_COMMAND=(dvrescue)
496
+ RECORD_COMMAND+=(" ${GRAB_INPUT[@]} " )
500
497
if [[ " ${RUNTYPE} " = " record" ]] ; then
501
- VRECORD_STEPS=" 3" # Steps: record | ff_record | player
502
- else
503
- VRECORD_STEPS=" 2" # Steps: record | player
498
+ RECORD_COMMAND+=(--merge-output-concealed)
499
+ RECORD_COMMAND+=(--merge-ignore-speed)
500
+ RECORD_COMMAND+=(--cc-format scc)
501
+ RECORD_COMMAND+=(--cc-output " ${VRECORD_OUTPUT} .dvrescue.scc" )
502
+ RECORD_COMMAND+=(--xml-output " ${VRECORD_OUTPUT} .dvrescue.xml" )
503
+ RECORD_COMMAND+=(--merge " ${VRECORD_OUTPUT} " )
504
504
fi
505
- RECORD_COMMAND=(avfctl)
506
- RECORD_COMMAND+=(" ${GRAB_INPUT[@]} " )
507
- FF_RECORD_COMMAND=(" ${FFMPEG_BIN} " -nostdin -nostats " ${TIME_LIMIT[@]} " )
508
- FF_RECORD_COMMAND+=(-i -)
509
- FF_RECORD_COMMAND+=(-map 0:v -c copy)
510
- FF_RECORD_COMMAND+=(-f " ${FORMAT} " " ${VRECORD_OUTPUT} " )
511
- FF_RECORD_COMMAND+=(-map 0:v -f rawvideo -c copy -)
505
+ RECORD_COMMAND+=(--merge-output-concealed)
506
+ RECORD_COMMAND+=(--merge-output-speed)
507
+ RECORD_COMMAND+=(--merge -)
512
508
fi
513
509
elif [[ " ${DEVICE_INPUT_CHOICE} " = 2 ]] ; then
514
510
VRECORD_STEPS=" 2" # Steps: record | player (record is adjusted if actually recording)
@@ -583,17 +579,17 @@ _get_avfoundation_inputs(){
583
579
done < <( " ${FFMPEG_BIN} " -nostdin -hide_banner -f avfoundation -list_devices 1 -i dummy 2>&1 | grep -A 10 " AVFoundation audio devices" | grep -o " \[[0-9]\].*" | cut -d " " -f2-)
584
580
}
585
581
586
- _get_avfctl_inputs (){
587
- # set avfctl input options
588
- unset AVFCTL_DEVICES
589
- while read avfctl_device ; do
590
- AVFCTL_DEVICES +=(" ${avfctl_device } " )
591
- done < <( avfctl -list_devices 2>&1 | grep -A 10 " Devices: " | grep -o " \[[0-9]\].* " )
592
- if [[ " ${# AVFCTL_DEVICES[@] } " = 1 ]] ; then # default to first input if only one
593
- AVFCTL_INPUT_CHOICE= " ${AVFCTL_DEVICES[0]} "
582
+ _get_dvrescue_inputs (){
583
+ # set dvrescue input options
584
+ unset DVRESCUE_DEVICES
585
+ while read dvrescue_device ; do
586
+ DVRESCUE_DEVICES +=(" ${dvrescue_device } " )
587
+ done < <( dvrescue -list_devices | grep " \[DV\] " )
588
+ if [[ " ${OS_TYPE } " = ' linux ' ]] ; then
589
+ DVRESCUE_DEVICES+=( " FFmpeg iec61883 Default " )
594
590
fi
595
- if [[ " ${OS_TYPE } " = " linux " ]] ; then
596
- AVFCTL_DEVICES+=( ' Default DV Device ' )
591
+ if [[ " ${# DVRESCUE_DEVICES[@] } " = 1 ]] ; then # default to first input if only one
592
+ DVRESCUE_INPUT_CHOICE= " ${DVRESCUE_DEVICES[0]} "
597
593
fi
598
594
}
599
595
@@ -635,11 +631,11 @@ _set_up_edit_form() {
635
631
FFMPEG_STATUS_TMP=" $( _maketemp .ffmpeg.status.txt) "
636
632
DECKCONTROL_STATUS_TMP=" $( _maketemp .deckcontrol.status.txt) "
637
633
DECKCONTROL_TIMECODE_TMP=" $( _maketemp .deckcontrol.timecode.txt) "
638
- AVFCTL_STATUS_TMP =" $( _maketemp .avfctl .status.txt) "
634
+ DVRESCUE_STATUS_TMP =" $( _maketemp .dvrescue .status.txt) "
639
635
echo " " > " ${FFMPEG_STATUS_TMP} "
640
636
echo " disabled" > " $DECKCONTROL_STATUS_TMP "
641
637
echo " --:--:--:--" > " $DECKCONTROL_TIMECODE_TMP "
642
- echo " disabled" > " $AVFCTL_STATUS_TMP "
638
+ echo " disabled" > " $DVRESCUE_STATUS_TMP "
643
639
644
640
STARTUP_VIEW_TMP=$( _maketemp .startup.txt)
645
641
echo " MAIN" > " ${STARTUP_VIEW_TMP} "
@@ -915,19 +911,19 @@ if [[ "${OS_TYPE}" = "linux" ]] ; then
915
911
STATUS_CMD=' dvcont status '
916
912
elif [[ " ${OS_TYPE} " = " macOS" ]] ; then
917
913
DV_REPACK_CMD=' { avfctl -cmd ff -foreground; avfctl -cmd rew; }'
918
- DV_RW_CMD=' avfctl -cmd rew '
919
- DV_PLAY_CMD=' avfctl -cmd play '
920
- DV_STOP_CMD=' avfctl -cmd stop '
921
- DV_FF_CMD=' avfctl -cmd ff '
922
- STATUS_CMD=" avfctl -status 2>&1 | grep -o 'Device \[.*' | sed 's|Device ||g;s| status||g' "
914
+ DV_RW_CMD=' dvrescue "device://${DVRESCUE_INPUT_INDEX}" -cmd rew '
915
+ DV_PLAY_CMD=' dvrescue "device://${DVRESCUE_INPUT_INDEX}" -cmd play '
916
+ DV_STOP_CMD=' dvrescue "device://${DVRESCUE_INPUT_INDEX}" -cmd stop '
917
+ DV_FF_CMD=' dvrescue "device://${DVRESCUE_INPUT_INDEX}" -cmd ff '
918
+ STATUS_CMD=' dvrescue "device://${DVRESCUE_INPUT_INDEX}" -status 2>&1'
923
919
fi
924
920
925
- AVFCTL_INPUT_GUI =$( cat << AVFCTL_FORM
926
- <frame DVRescue avfctl input options>
921
+ DVRESCUE_INPUT_GUI =$( cat << DVRESCUE_FORM
922
+ <frame DVRescue input options>
927
923
<vbox>
928
924
<hbox>
929
925
<hbox space-expand="true">
930
- $( _gtk_vbox_list " AVFCTL_INPUT_CHOICE " " -1 " " Select a DV Device" " ${AVFCTL_DEVICES [@]} " )
926
+ $( _gtk_vbox_list " DVRESCUE_INPUT_CHOICE " " 400 " " Select a DV Device" " ${DVRESCUE_DEVICES [@]} " )
931
927
</hbox>
932
928
<vbox>
933
929
<frame dvpackager options>
@@ -984,49 +980,49 @@ AVFCTL_INPUT_GUI=$(cat << AVFCTL_FORM
984
980
<label>Status</label>
985
981
</text>
986
982
<entry editable="false" has-frame="false">
987
- <variable export="false">avfctl_status </variable>
988
- <input file>"${AVFCTL_STATUS_TMP } "</input>
983
+ <variable export="false">dvrescue_status </variable>
984
+ <input file>"${DVRESCUE_STATUS_TMP } "</input>
989
985
</entry>
990
986
</vbox>
991
987
<timer milliseconds="true" interval="300" visible="false" disabled="true">
992
- <variable export="false">avfctl_timer </variable>
988
+ <variable export="false">dvrescue_timer </variable>
993
989
<visible>disabled</visible>
994
- <action>${STATUS_CMD} > "${AVFCTL_STATUS_TMP } " &</action>
995
- <action>refresh:avfctl_status </action>
990
+ <action>${STATUS_CMD} > "${DVRESCUE_STATUS_TMP } " &</action>
991
+ <action>refresh:dvrescue_status </action>
996
992
</timer>
997
993
<togglebutton>
998
994
<label>Deck Control</label>
999
995
<default>false</default>
1000
- <variable export="false">avfctl_toggle </variable>
996
+ <variable export="false">dvrescue_toggle </variable>
1001
997
<input file stock="gtk-execute"></input>
1002
- <action>if true enable:avfctl_timer </action>
1003
- <action>if true enable:avfctl_status </action>
998
+ <action>if true enable:dvrescue_timer </action>
999
+ <action>if true enable:dvrescue_status </action>
1004
1000
<action>if true enable:avfctl_repack</action>
1005
- <action>if true enable:avfctl_rewind </action>
1006
- <action>if true enable:avfctl_play </action>
1007
- <action>if true enable:avfctl_stop </action>
1008
- <action>if true enable:avfctl_ff </action>
1009
- <action>if false disable:avfctl_timer </action>
1010
- <action>if false disable:avfctl_status </action>
1001
+ <action>if true enable:dvrescue_rewind </action>
1002
+ <action>if true enable:dvrescue_play </action>
1003
+ <action>if true enable:dvrescue_stop </action>
1004
+ <action>if true enable:dvrescue_ff </action>
1005
+ <action>if false disable:dvrescue_timer </action>
1006
+ <action>if false disable:dvrescue_status </action>
1011
1007
<action>if false disable:avfctl_repack</action>
1012
- <action>if false disable:avfctl_rewind </action>
1013
- <action>if false disable:avfctl_play </action>
1014
- <action>if false disable:avfctl_stop </action>
1015
- <action>if false disable:avfctl_ff </action>
1008
+ <action>if false disable:dvrescue_rewind </action>
1009
+ <action>if false disable:dvrescue_play </action>
1010
+ <action>if false disable:dvrescue_stop </action>
1011
+ <action>if false disable:dvrescue_ff </action>
1016
1012
</togglebutton>
1017
1013
</hbox>
1018
1014
<hbox>
1019
- $( _get_deckcontrol_button " avfctl_repack" " " " Repack" " ${DV_REPACK_CMD} " )
1020
- $( _get_deckcontrol_button " avfctl_rewind " " gtk-media-rewind" " Rewind" " ${DV_RW_CMD} " )
1021
- $( _get_deckcontrol_button " avfctl_play " " gtk-media-play" " Play" " ${DV_PLAY_CMD} " )
1022
- $( _get_deckcontrol_button " avfctl_stop " " gtk-media-stop" " Stop" " ${DV_STOP_CMD} " )
1023
- $( _get_deckcontrol_button " avfctl_ff " " gtk-media-forward" " FF" " ${DV_FF_CMD} " )
1015
+ $( _get_deckcontrol_button " avfctl_repack" " " " Repack" " ${DV_REPACK_CMD} " )
1016
+ $( _get_deckcontrol_button " dvrescue_rewind " " gtk-media-rewind" " Rewind" " ${DV_RW_CMD} " )
1017
+ $( _get_deckcontrol_button " dvrescue_play " " gtk-media-play" " Play" " ${DV_PLAY_CMD} " )
1018
+ $( _get_deckcontrol_button " dvrescue_stop " " gtk-media-stop" " Stop" " ${DV_STOP_CMD} " )
1019
+ $( _get_deckcontrol_button " dvrescue_ff " " gtk-media-forward" " FF" " ${DV_FF_CMD} " )
1024
1020
</hbox>
1025
1021
</vbox>
1026
1022
</hbox>
1027
1023
</frame>
1028
1024
</frame>
1029
- AVFCTL_FORM
1025
+ DVRESCUE_FORM
1030
1026
)
1031
1027
1032
1028
AUDIO_INPUT_GUI=$( cat << AUDIO_INPUT_FORM
@@ -1110,7 +1106,7 @@ export MAIN_DIALOG='
1110
1106
<frame Input Options>
1111
1107
<notebook page="' " ${DEVICE_INPUT_CHOICE} " ' " tab-labels="Decklink|DV|Audio|Config">
1112
1108
' " ${DECKLINK_INPUT_GUI} " '
1113
- ' " ${AVFCTL_INPUT_GUI } " '
1109
+ ' " ${DVRESCUE_INPUT_GUI } " '
1114
1110
' " ${AUDIO_INPUT_GUI} " '
1115
1111
' " ${OPTIONAL_TOOLS_GUI} " '
1116
1112
<variable>DEVICE_INPUT_CHOICE</variable>
@@ -2046,7 +2042,7 @@ _review_all_options(){
2046
2042
fi
2047
2043
_review_option " STANDARD_CHOICE" " ${STANDARD_OPTIONS[@]} "
2048
2044
elif [[ " ${DEVICE_INPUT_CHOICE} " = " 1" ]] ; then
2049
- _review_option -n " AVFCTL_INPUT_CHOICE " " ${AVFCTL_DEVICES [@]} "
2045
+ _review_option -n " DVRESCUE_INPUT_CHOICE " " ${DVRESCUE_DEVICES [@]} "
2050
2046
elif [[ " ${DEVICE_INPUT_CHOICE} " = " 2" ]] ; then
2051
2047
_review_option -n " AUDIO_DEV_CHOICE" " ${AUDIO_DEVICES[@]} "
2052
2048
fi
2158
2154
2159
2155
_get_decklink_inputs
2160
2156
_get_avfoundation_inputs
2161
- _get_avfctl_inputs
2157
+ _get_dvrescue_inputs
2162
2158
2163
2159
if [[ " ${OS_TYPE} " = " linux" ]] ; then
2164
2160
while read audio_device ; do
2316
2312
if [[ " ${DEVICE_INPUT_CHOICE} " = " 0" ]] ; then
2317
2313
_report -d " Summary: ${VIDEOCODECNAME} /${FORMAT} ${PIXEL_FORMAT} file from ${STANDARD} ${VIDEO_INPUT} ${AUDIO_INPUT} . ${TECHNICIAN_TEXT} Frame MD5s=${FRAMEMD5_CHOICE} , QCTools XML=${QCTOOLSXML_CHOICE} . Inputs recorded to ${VRECORD_OUTPUT} and Auxiliary Files created in ${LOGDIR} . ${DURATION_TEXT} "
2318
2314
elif [[ " ${DEVICE_INPUT_CHOICE} " = " 1" ]] ; then
2319
- _report -d " Summary: Copying video from ${AVFCTL_INPUT_CHOICE } . ${TECHNICIAN_TEXT} Inputs recorded to ${VRECORD_OUTPUT} and Auxiliary Files created in ${LOGDIR} . ${DURATION_TEXT} "
2315
+ _report -d " Summary: Copying video from ${DVRESCUE_INPUT_CHOICE } . ${TECHNICIAN_TEXT} Inputs recorded to ${VRECORD_OUTPUT} and Auxiliary Files created in ${LOGDIR} . ${DURATION_TEXT} "
2320
2316
elif [[ " ${DEVICE_INPUT_CHOICE} " = " 2" ]] ; then
2321
2317
_report -d " Summary: Recording audio from ${AUDIO_DEV_CHOICE} . ${TECHNICIAN_TEXT} Inputs recorded to ${VRECORD_OUTPUT} and Auxiliary Files created in ${LOGDIR} . ${DURATION_TEXT} "
2322
2318
fi
@@ -2410,55 +2406,35 @@ if [[ "${VERBOSE_GTKDIALOG}" = "Y" ]] ; then
2410
2406
echo " STEPS ${VRECORD_STEPS} "
2411
2407
echo " PLAY ${PLAYER_COMMAND[@]} "
2412
2408
echo " RECORD ${RECORD_COMMAND[@]} "
2413
- echo " FFRECORD ${FF_RECORD_COMMAND[@]} "
2414
2409
fi
2415
2410
if [[ " ${VRECORD_STEPS} " = " 2" ]] ; then
2416
- _writeingestlog " Capture- Record command" " ${RECORD_COMMAND[@]} "
2411
+ _writeingestlog " Record command" " ${RECORD_COMMAND[@]} "
2417
2412
_writeingestlog " Playback command" " ${PLAYER_COMMAND[@]} "
2418
2413
" ${RECORD_COMMAND[@]} " 2> >( tee " ${VRECORD_INPUT_TMP} " 1>&2 ) | \
2419
2414
if [[ " ${DEVICE_INPUT_CHOICE} " = 0 ]] && [[ " ${QCTOOLSXML_CHOICE} " = " Yes, concurrent with recording" ]]; then
2420
2415
tee >( " ${PLAYER_COMMAND[@]} " ) | " ${QCLI_COMMAND_PIPE[@]} "
2421
2416
else
2422
2417
" ${PLAYER_COMMAND[@]} "
2423
2418
fi
2424
- elif [[ " ${VRECORD_STEPS} " = " 3" ]] ; then
2425
- _writeingestlog " Capture command" " ${RECORD_COMMAND[@]} "
2426
- _writeingestlog " Record command" " ${FF_RECORD_COMMAND[@]} "
2427
- _writeingestlog " Playback command" " ${PLAYER_COMMAND[@]} "
2428
- " ${RECORD_COMMAND[@]} " 2> >( tee " ${VRECORD_INPUT_TMP} " 1>&2 ) | \
2429
- " ${FF_RECORD_COMMAND[@]} " 2> >( tee " ${VRECORD_INPUT_TMP} " 1>&2 ) | \
2430
- if [[ " ${DEVICE_INPUT_CHOICE} " = 0 ]] && [[ " ${QCTOOLSXML_CHOICE} " = " Yes, concurrent with recording" ]]; then
2431
- tee >( " ${PLAYER_COMMAND[@]} " ) | " ${QCLI_COMMAND_PIPE[@]} "
2432
- else
2433
- " ${PLAYER_COMMAND[@]} "
2434
- fi
2435
2419
else
2436
2420
_report_unexpected_error VRECORD_STEPS
2437
2421
fi
2438
2422
# capture errors from components of recording pipe
2439
2423
RESULTING_EXIT_CODES=(" ${PIPESTATUS[@]} " )
2440
2424
P1_ERR=" ${RESULTING_EXIT_CODES[0]} "
2441
2425
P2_ERR=" ${RESULTING_EXIT_CODES[1]} "
2442
- P3_ERR=" ${RESULTING_EXIT_CODES[2]} "
2443
2426
2444
2427
if [[ " ${VRECORD_STEPS} " = " 2" ]] ; then
2445
- _writeingestlog " Capture- Record exit code" " ${P1_ERR} "
2428
+ _writeingestlog " Record exit code" " ${P1_ERR} "
2446
2429
_writeingestlog " Playback exit code" " ${P2_ERR} "
2447
- elif [[ " ${VRECORD_STEPS} " = " 3" ]] ; then
2448
- _writeingestlog " Capture exit code" " ${P1_ERR} "
2449
- _writeingestlog " Record exit code" " ${P2_ERR} "
2450
- _writeingestlog " Playback exit code" " ${P3_ERR} "
2451
2430
fi
2452
2431
2453
2432
if [[ ! -s " ${VRECORD_OUTPUT} " ]] ; then
2454
2433
if [[ " $P1_ERR " != " 0" ]] ; then
2455
- _report_unexpected_error P1_ERR " ${RECORD_COMMAND[@]} // ${FF_RECORD_COMMAND[@]} // ${ PLAYER_COMMAND}"
2434
+ _report_unexpected_error P1_ERR " ${RECORD_COMMAND[@]} // ${PLAYER_COMMAND} "
2456
2435
fi
2457
2436
if [[ " $P2_ERR " != " 0" && -n " $P2_ERR " ]] ; then
2458
- _report_unexpected_error P2_ERR " ${RECORD_COMMAND[@]} // ${FF_RECORD_COMMAND[@]} // ${PLAYER_COMMAND} "
2459
- fi
2460
- if [[ " $P3_ERR " != " 0" && -n " $P3_ERR " ]] ; then
2461
- _report_unexpected_error P3_ERR " ${RECORD_COMMAND[@]} // ${FF_RECORD_COMMAND[@]} // ${PLAYER_COMMAND} "
2437
+ _report_unexpected_error P2_ERR " ${RECORD_COMMAND[@]} // ${PLAYER_COMMAND} "
2462
2438
fi
2463
2439
fi
2464
2440
0 commit comments