Open leonardonencioni6 opened 3 years ago
For this videotape, was there blank black space at the end? And did you have deck control enabled or a running time added into the settings? I've run into this issue before when there is a stretch of black recorded at the end of a tape. It's from vrecord waiting for the video to end. You can terminate the terminal or just wait for awhile after clicking exit (and let the spinning wheel of doom spin for a bit) and it will end eventually, but terminated the terminal will not negatively effect the capture. Alternatively, you can also hit the "STOP" button on your deck if the you have the deck in "Local" mode and that will end the recording. When you terminate the terminal, the "vrecord_input" log is not always created.
I'm using a sony dcr-hc51e to capture dv footage. I can start vrecord gui and start recording with no issues, but when the video on the camera ends I can't close ffplay window, I necessarily have to force quit. I tried to close the window before the footage ends and that seems to work fine. I also get "rom1394_0 warning: read failed: 0x0000fffff0000414" but idk if that's somehow connected to the issue, since it also comes out when I use dvgrab (although "sudo dvgrab" doesn't show that error message)
This is the terminal output:
leonardo@leonardo-System-Product-Name:~$ test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv) test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile brew update brew upgrade vrecord vrecord -g Already up-to-date. Warning: amiaopensource/amiaos/vrecord 2021-01-25 already installed libDeckLinkAPI.so: cannot open shared object file: No such file or directory [decklink @ 0x355fb40] Could not create DeckLink iterator. Make sure you have DeckLink drivers 10.11.2 or newer installed. Summary: Copying video from Default DV Device. Technician=test. Inputs recorded to /home/leonardo/Desktop/test.dv and Auxiliary Files created in /home/leonardo/Desktop Hit enter to start recording
Close the playback window to stop recording. ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10.2.0 (Homebrew GCC 10.2.0_4) configuration: --prefix=/home/linuxbrew/.linuxbrew/Cellar/ffmpegdecklink/4.4 --disable-shared --enable-version3 --cc=gcc-10 --host-cflags= --host-ldflags= --enable-gpl --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libfontconfig --disable-libjack --disable-indev=jack --enable-libiec61883 --enable-nonfree --enable-decklink --extra-cflags=-I/home/linuxbrew/.linuxbrew/include --extra-ldflags=-L/home/linuxbrew/.linuxbrew/include libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 rom1394_0 warning: read failed: 0x0000fffff0000414 Input #0, iec61883, from 'auto': 0KB vq= 0KB sq= 0B f=0/0
Duration: N/A, start: 0.000000, bitrate: 30336 kb/s Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25000 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s Output #0, rawvideo, to '/home/leonardo/Desktop/test.dv':0B f=0/0
Metadata: encoder : Lavf58.76.100 Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 25000 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Output #1, rawvideo, to 'pipe:': Metadata: encoder : Lavf58.76.100 Stream #1:0: Video: dvvideo, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 25000 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:0 -> #1:0 (copy) Input #0, dv, from 'pipe:': aq= 0KB vq= 0KB sq= 0B f=0/0
Duration: N/A, start: 0.000000, bitrate: 28800 kb/s Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25000 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s /home/linuxbrew/.linuxbrew/bin/vrecord: line 2372: 3928 Killed "${PLAYER_COMMAND[@]}"
this is the log produced:
computer_name: leonardo-System-Product-Name computer_model_name: Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz computer_cores: 4 user_name: leonardo operating_system_VERSION: #17-Ubuntu SMP Wed Apr 14 20:12:43 UTC 2021 vrecord version: 2020-10-21 datetime_start: 2021-05-04T18:48:37 FILE_PATH: /home/leonardo/Desktop/test.dv AVFCTL_INPUT_CHOICE: Default DV Device WAVEFORM_SCALE_CHOICE: digital SIGNAL_VIEW_CHOICE: Broadcast Range MONITOR_AUDIO_CHOICE: Yes PLAYBACKVIEW_CHOICE: Unfiltered DV_CONTAINER_CHOICE: DV
TECHNICIAN: t Capture-Record command: /home/linuxbrew/.linuxbrew/opt/ffmpegdecklink/bin/ffmpeg-dl -nostdin -nostats -f iec61883 -i auto -map 0:v -c copy -f rawvideo /home/leonardo/Desktop/test.dv -map 0:v -f rawvideo -c copy - Playback command: /home/linuxbrew/.linuxbrew/opt/ffmpegdecklink/bin/ffplay-dl -v info -hide_banner -stats -autoexit -window_title mode:record - input:'Default DV Device' - to end recording press q, esc, or close video window -i - -af channelmap=0|1:stereo
vrecord environment:
VRECORD_VARS_FILE="/tmp/v__homelinuxbrew.linuxbrew_bin_vrecord_variables.txt" OS_TYPE="linux" RESOURCE_PATH="/home/linuxbrew/.linuxbrew/opt/vrecord" DEFAULTFONT="/usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf" CORE_COUNT="4" OPEN_COMMAND="xdg-open" ZCAT_COMMAND="zcat" COMPUTER_MODEL_NAME="Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz" DIR_SELECTION_DIALOG="Select an existing folder (or drag/drop one below)." CAPTURELOGSUFFIX="_vrecord_input.log" TIMECODELOGSUFFIX="_frame_timecodes.txt" BREW_PREFIX="/home/linuxbrew/.linuxbrew/opt/ffmpegdecklink" FFMPEG_BIN="/home/linuxbrew/.linuxbrew/opt/ffmpegdecklink/bin/ffmpeg-dl" FFPLAY_BIN="/home/linuxbrew/.linuxbrew/opt/ffmpegdecklink/bin/ffplay-dl" FFPROBE_BIN="/home/linuxbrew/.linuxbrew/opt/ffmpegdecklink/bin/ffprobe-dl"