1 [2] MLD-5.x / Feature requests / ffmpeg für gpu encoding
 

Offline rfehr

  • MLD-Developer
  • Expert Member
  • ******
  • Posts: 1507
    • View Profile
ffmpeg für gpu encoding
« Reply #15 on: January 30, 2018, 23:00:57 »
Hi,

gibt es beim aufruf vom ffmeg, irgen was wie verbose als paramter,
um vieleicht mal mehr zu sehen, was fehlt , oder fehlen könnte.

Gruß,
 Roland
1x OctopusNet 4x DVB-C
1x Zotac ITX-A Atom 330
1x RPI2 als Client
1x BananaPi
1x Wetekplay
1x MCC 100
2x RPI3
2x RPi4
1x https://www.zotac.com/at/product/mini_pcs/pi335

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
ffmpeg für gpu encoding
« Reply #16 on: February 02, 2018, 00:22:07 »
Ich hab die fehlende lib zum unstable Paket hinzugefügt.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline vdr_rossi

  • Adv. Member
  • ***
  • Posts: 140
    • View Profile
ffmpeg für gpu encoding
« Reply #17 on: February 03, 2018, 09:48:41 »
Moin,

habe mit Freude die Nachricht gelesen und gleich probiert:
Code: [Select]
vdr1> time ffmpeg -i 00001.ts -vcodec hevc_nvenc -cq 51 test_hevc_out.ts
ffmpeg version 3.3.5 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
  configuration: --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --disable-opencl --enable-libmfx --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
[mpegts @ 0x55d0aa4102e0] start time for stream 5 is not set in estimate_timings_from_pts
[mpegts @ 0x55d0aa4102e0] PES packet size mismatch
    Last message repeated 1 times
Input #0, mpegts, from '00001.ts':
  Duration: 00:59:36.78, start: 31875.599011, bitrate: 13493 kb/s
  Program 132
    Stream #0:0[0x196e]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x1978](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:2[0x1979](mis): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0:3[0x197b](mul): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0:4[0x197a](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s
    Stream #0:5[0x1983](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_nvenc))
  Stream #0:1 -> #0:1 (mp2 (native) -> mp2 (native))
Press [q] to stop, [?] for help
[hevc_nvenc @ 0x55d0aa48fdc0] OpenEncodeSessionEx failed: unsupported device (2)
[hevc_nvenc @ 0x55d0aa48fdc0] No NVENC capable devices found
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!

real    0m0,334s
user    0m0,153s
sys     0m0,180s
Es steckt eine MSI GT 1030 Grafikkarte mit GP108 Pascal Chip in der Maschine.
Der kann das -> https://developer.nvidia.com/ffmpeg
Fehlt eventl. --enable-nvenc ?

1 [2] MLD-5.x / Feature requests / ffmpeg für gpu encoding
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.