mipops / dvrescue

Archivist-made software that supports data migration from DV tapes into digital files suitable for long-term preservation. Snapshot daily builds are at https://mediaarea.net/download/snapshots/binary/dvrescue/.
BSD 3-Clause "New" or "Revised" License
94 stars 20 forks source link

dvplay issue #479

Open jfeakes opened 2 years ago

jfeakes commented 2 years ago

Fresh install of dvrescue through homebrew. All ffmpeg text is piped out but then receiving the following error and an exit when running dvplay command on known good PAL .dv file. This error also occurs on dvrescue's sample files.

[Parsed_tile_2 @ 0x7f35b00a7e40] Option 'init_padding' not found0 Error initializing filter 'tile' with args 'layout=8x4:init_padding=31:overlap=31:padding=1'

Any help much appreciated.

libbyhopfauf commented 2 years ago

@jfeakes were dvplay commands working for you with a previous version?

jfeakes commented 2 years ago

@jfeakes were dvplay commands working for you with a previous version?

Hi. I've had it working on other setups in the past which I imagine were earlier versions. This is a fresh 18.04 Ubuntu install so no previous versions have been used on this system.

privatezero commented 2 years ago

@jfeakes does it make a difference if you install from the latest Ubuntu release from MediaArea (as opposed to the Homebrew install)

jfeakes commented 2 years ago

@jfeakes does it make a difference if you install from the latest Ubuntu release from MediaArea (as opposed to the Homebrew install)

Unfortunately not. Removed homebrew install and installed from MediaArea along with dependencies. Exact same error shows when attempting dvplay again.

privatezero commented 2 years ago

I can't say for certain as I don't have a machine running 18.04 and don't have time today to dive super deep, but this looks to me like possibly an FFmpeg version issue.

Is your version of FFmpeg still one of the 3.x.x versions? I think you should be able to get up to one of the version 4s via snap install ffmpeg - might be worth a shot!

dericed commented 2 years ago

@jfeakes Are you seeing this warning in the terminal output when you run that command?

https://github.com/mipops/dvrescue/blob/main/tools/dvplay#L128-L129

Could you send me an ffmpeg output for the version you're running so I could compare to the requirements.

jfeakes commented 2 years ago

@jfeakes Are you seeing this warning in the terminal output when you run that command?

https://github.com/mipops/dvrescue/blob/main/tools/dvplay#L128-L129

Could you send me an ffmpeg output for the version you're running so I could compare to the requirements.

Hi, no can't see that error. Here is full ffmpeg output for the command:


ffplay version 3.4.11-0ubuntu0.1ffmpeg version 3.4.11-0ubuntu0.1 Copyright (c) 2003-2022 the FFmpeg developers Copyright (c) 2000-2022 the FFmpeg developers

  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  WARNING: library configuration mismatch
  WARNING: library configuration mismatch
  avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavutil      55. 78.100 / 55. 78.100
  libavdevice    57. 10.100 / 57. 10.100
  libavcodec     57.107.100 / 57.107.100
  libavfilter     6.107.100 /  6.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavresample   3.  7.  0 /  3.  7.  0
  libavdevice    57. 10.100 / 57. 10.100
  libswscale      4.  8.100 /  4.  8.100
  libavfilter     6.107.100 /  6.107.100
  libswresample   2.  9.100 /  2.  9.100
  libavresample   3.  7.  0 /  3.  7.  0
  libpostproc    54.  7.100 / 54.  7.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
[dv @ 0x55ed86f20900] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'MA452.dv':
  Metadata:
    timecode        : 00:00:00:15
  Duration: 01:02:23.84, start: 0.000000, bitrate: 28800 kb/s
    Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3], 25000 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
    Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
Output #0, rawvideo, to 'pipe:':
  Metadata:
    timecode        : 00:00:00:15
    encoder         : Lavf57.83.100
    Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 25000 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
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 16:15 DAR 4:3], 25000 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
    Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
[Parsed_tile_2 @ 0x7f5bec0a7e40] Option 'init_padding' not found0   
Error initializing filter 'tile' with args 'layout=8x4:init_padding=31:overlap=31:padding=1```
jfeakes commented 2 years ago

I can't say for certain as I don't have a machine running 18.04 and don't have time today to dive super deep, but this looks to me like possibly an FFmpeg version issue.

Is your version of FFmpeg still one of the 3.x.x versions? I think you should be able to get up to one of the version 4s via snap install ffmpeg - might be worth a shot!

Thanks for the idea. As I'm running Ubuntu 18.04 I think the latest supported release is 3.4.11

dericed commented 2 years ago

Might say #wontfix on this as ffmpeg at that age wouldn't be ideal for handling dv. I do wonder why the version check didn't work though. @jfeakes could you give the output of ffmpeg -version on your machine. I'm guessing this ffmpeg is also too old to support the -version command.