Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error converting: Filtering and streamcopy cannot be used together #504

Open
TheLinuxGuy opened this issue Sep 29, 2024 · 0 comments
Open

Comments

@TheLinuxGuy
Copy link

Description

I'm looking for help understanding this error, but also this may be a bug affecting everyone running a conversion for a file of this specific type.

I'm not running anything crazy in terms of setting and the vast majority of my conversions with unmanic 99% have worked flawlessly, thank you for the software!

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behaviour: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

Version: 0.2.8+925008e+dirty

OS: Unraid, unmanic runs in the VM from official repo.

root@f4b4209b0472:/# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
root@f4b4209b0472:/# uname -a
Linux f4b4209b0472 6.1.106-Unraid #1 SMP PREEMPT_DYNAMIC Wed Aug 21 23:36:07 PDT 2024 x86_64 x86_64 x86_64 GNU/Linux
root@f4b4209b0472:/#

Installation Method Used

Manually installed and run or run through Docker?

  • Unraid official docker container from appstore.

Additional Information

Any additional information, configuration or data that might be necessary to
reproduce the issue.

Plugins
Screenshot 2024-09-29 at 11 42 46 AM

Command
ffmpeg -hide_banner -loglevel info -init_hw_device qsv=hw -filter_hw_device hw -i '/library/tv/The X-Files/Season 9/S09E19-20 - The Truth Bluray-720p.mkv' -strict -2 -max_muxing_queue_size 2048 -vf hwupload=extra_hw_frames=64,format=qsv -map 0:v:0 -map 0:a:0 -map 0:v:1 -c:v:0 hevc_qsv -preset slow -tune film -b:v:0 5M -look_ahead 1 -c:a:0 copy -c:v:1 copy -y '/tmp/unmanic/unmanic_file_conversion-jpyxh-1727500149/S09E19-20 - The Truth Bluray-720p-jpyxh-1727500149-WORKING-1-1.mkv'

Log

LOG:

libva info: VA-API version 1.22.0

libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so

libva info: Found init function __vaDriverInit_1_22

libva info: va_openDriver() returns 0

libva info: VA-API version 1.22.0

libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so

libva info: Found init function __vaDriverInit_1_22

libva info: va_openDriver() returns 0

libva info: VA-API version 1.22.0

libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so

libva info: Found init function __vaDriverInit_1_22

libva info: va_openDriver() returns 0

libva info: VA-API version 1.22.0

libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so

libva info: Found init function __vaDriverInit_1_22

libva info: va_openDriver() returns 0

Input #0, matroska,webm, from '/library/tv/The X-Files/Season 9/S09E19-20 - The Truth Bluray-720p.mkv':

   Metadata:

     title : PAHE.in | The X-FIles S09 720p BluRay

     encoder : libebml v1.3.1 + libmatroska v1.4.2

     creation_time : 2015-12-23T17:42:56.000000Z

   Duration: 01:26:51.12, start: 0.000000, bitrate: 1014 kb/s

   Chapters:

     Chapter #0:0: start 0.000000, end 385.719000

       Metadata:

         title : 00:00:00.000

     Chapter #0:1: start 385.719000, end 434.059000

       Metadata:

         title : 00:06:25.719

     Chapter #0:2: start 434.059000, end 802.510000

       Metadata:

         title : 00:07:14.059

     Chapter #0:3: start 802.510000, end 939.814000

       Metadata:

         title : 00:13:22.510

     Chapter #0:4: start 939.814000, end 1141.640000

       Metadata:

         title : 00:15:39.814

     Chapter #0:5: start 1141.640000, end 1332.665000

       Metadata:

         title : 00:19:01.640

     Chapter #0:6: start 1332.665000, end 1483.357000

       Metadata:

         title : 00:22:12.665

     Chapter #0:7: start 1483.357000, end 1771.228000

       Metadata:

         title : 00:24:43.357

     Chapter #0:8: start 1771.228000, end 2041.873000

       Metadata:

         title : 00:29:31.228

     Chapter #0:9: start 2041.873000, end 2094.092000

       Metadata:

         title : 00:34:01.873

     Chapter #0:10: start 2094.092000, end 2178.176000

       Metadata:

         title : 00:34:54.092

     Chapter #0:11: start 2178.176000, end 2269.350000

       Metadata:

         title : 00:36:18.176

     Chapter #0:12: start 2269.350000, end 2351.432000

       Metadata:

         title : 00:37:49.350

     Chapter #0:13: start 2351.432000, end 2606.938000

       Metadata:

         title : 00:39:11.432

     Chapter #0:14: start 2606.938000, end 2746.911000

       Metadata:

         title : 00:43:26.938

     Chapter #0:15: start 2746.911000, end 3019.934000

       Metadata:

         title : 00:45:46.911

     Chapter #0:16: start 3019.934000, end 3248.745000

       Metadata:

         title : 00:50:19.934

     Chapter #0:17: start 3248.745000, end 3355.143000

       Metadata:

         title : 00:54:08.745

     Chapter #0:18: start 3355.143000, end 3421.251000

       Metadata:

         title : 00:55:55.143

     Chapter #0:19: start 3421.251000, end 3686.933000

       Metadata:

         title : 00:57:01.251

     Chapter #0:20: start 3686.933000, end 3907.821000

       Metadata:

         title : 01:01:26.933

     Chapter #0:21: start 3907.821000, end 4040.995000

       Metadata:

         title : 01:05:07.821

     Chapter #0:22: start 4040.995000, end 4127.749000

       Metadata:

         title : 01:07:20.995

     Chapter #0:23: start 4127.749000, end 4396.309000

       Metadata:

         title : 01:08:47.749

     Chapter #0:24: start 4396.309000, end 4449.070000

       Metadata:

         title : 01:13:16.309

     Chapter #0:25: start 4449.070000, end 4555.843000

       Metadata:

         title : 01:14:09.070

     Chapter #0:26: start 4555.843000, end 4638.634000

       Metadata:

         title : 01:15:55.843

     Chapter #0:27: start 4638.634000, end 4830.159000

       Metadata:

         title : 01:17:18.634

     Chapter #0:28: start 4830.159000, end 5163.867000

       Metadata:

         title : 01:20:30.159

     Chapter #0:29: start 5163.867000, end 5211.124000

       Metadata:

         title : 01:26:03.867

   Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)

     Metadata:

       title : http://pahe.in

       BPS : 962123

       BPS-eng : 962123

       DURATION : 01:26:51.039000000

       DURATION-eng : 01:26:51.039000000

       NUMBER_OF_FRAMES: 124940

       NUMBER_OF_FRAMES-eng: 124940

       NUMBER_OF_BYTES : 626707848

       NUMBER_OF_BYTES-eng: 626707848

       _STATISTICS_WRITING_APP: mkvmerge v8.4.0 ('A better way to fly') 64bit

       _STATISTICS_WRITING_APP-eng: mkvmerge v8.4.0 ('A better way to fly') 64bit

       _STATISTICS_WRITING_DATE_UTC: 2015-12-23 17:42:56

       _STATISTICS_WRITING_DATE_UTC-eng: 2015-12-23 17:42:56

       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

   Stream #0:1(eng): Audio: aac (HE-AAC), 48000 Hz, stereo, fltp (default)

     Metadata:

       BPS : 50606

       BPS-eng : 50606

       DURATION : 01:26:51.093000000

       DURATION-eng : 01:26:51.093000000

       NUMBER_OF_FRAMES: 122135

       NUMBER_OF_FRAMES-eng: 122135

       NUMBER_OF_BYTES : 32964181

       NUMBER_OF_BYTES-eng: 32964181

       _STATISTICS_WRITING_APP: mkvmerge v8.4.0 ('A better way to fly') 64bit

       _STATISTICS_WRITING_APP-eng: mkvmerge v8.4.0 ('A better way to fly') 64bit

       _STATISTICS_WRITING_DATE_UTC: 2015-12-23 17:42:56

       _STATISTICS_WRITING_DATE_UTC-eng: 2015-12-23 17:42:56

       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

   Stream #0:2: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 1280x668, 90k tbr, 90k tbn (attached pic)

     Metadata:

       filename : cover.jpg

       mimetype : image/jpeg

[vost#0:2/copy @ 0x55ae3222fb80] Filtergraph 'hwupload=extra_hw_frames=64,format=qsv' was defined, but codec copy was selected.

Filtering and streamcopy cannot be used together.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant