[Solved] Issues with transcoding with FFmpeg and MEncoder
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
[Solved] Issues with transcoding with FFmpeg and MEncoder
Hi Guys,
I've came back to UMS after a long break, last time I've used it was way before the webGUI was introduced. I didn't playback any files during that period but that's not relevant. Right now I'm experiencing a issue which I don't recall was happening back then. Right now most videos I try to transcode using FFmpeg fail. My TV gives me a "Can't read file" error message whenever I try to playback a video this way. It happens for most videos that I try to play. On the other hand MEncoder seems to start every time without issues but the video is always stuttering. I'm running a computer with an Intel i7 6700 CPU, 16GB RAM and nVidia GTX 1060 6GB GPU. Computer is connected via a wireless connection to the router and I tested the TV using both wired and wireless connection. I'm using a older Panasonic LCD TV, of that's useful. I've tried playback using GPU Acceleration on and off. I've also tried running different versions of UMS 14.5, 14.1, 13.10, 13.9. Results are pretty much the same all over the board. Well with the one exception that on version 13 after trying to playback the same file a few times it would sometimes eventually start the video, but not always. I can't get that to work on any of the 14 versions. I'm attaching Trace logs from version 14.5. I've tried to play the same .mkv file twice with different audio and subtitle streams using FFmpeg and then gave one try using MEncoder. I hope any of this info is helpful. Does anybody have any pointers as to what could be the issue for me? I can do more tests if that will be helpful.
I've came back to UMS after a long break, last time I've used it was way before the webGUI was introduced. I didn't playback any files during that period but that's not relevant. Right now I'm experiencing a issue which I don't recall was happening back then. Right now most videos I try to transcode using FFmpeg fail. My TV gives me a "Can't read file" error message whenever I try to playback a video this way. It happens for most videos that I try to play. On the other hand MEncoder seems to start every time without issues but the video is always stuttering. I'm running a computer with an Intel i7 6700 CPU, 16GB RAM and nVidia GTX 1060 6GB GPU. Computer is connected via a wireless connection to the router and I tested the TV using both wired and wireless connection. I'm using a older Panasonic LCD TV, of that's useful. I've tried playback using GPU Acceleration on and off. I've also tried running different versions of UMS 14.5, 14.1, 13.10, 13.9. Results are pretty much the same all over the board. Well with the one exception that on version 13 after trying to playback the same file a few times it would sometimes eventually start the video, but not always. I can't get that to work on any of the 14 versions. I'm attaching Trace logs from version 14.5. I've tried to play the same .mkv file twice with different audio and subtitle streams using FFmpeg and then gave one try using MEncoder. I hope any of this info is helpful. Does anybody have any pointers as to what could be the issue for me? I can do more tests if that will be helpful.
- Attachments
-
- ums_dbg_2024-09-01-13-52.zip
- (628.75 KiB) Downloaded 364 times
Re: Issues with transcoding with FFmpeg and MEncoder
From what I can tell there is a filter being applied and this is causing errors.
My only guess is that some of the Mencoder options are being applied to FFmpeg as you have the deinterlace filter and force FPS options enabled in Mencoder settings.
See if turning these off helps.
I don't know where this is coming from as it is not something that shows for me when I transcode.
It might be from Panasonic-Viera.conf as it has "KeepAspectRatioTranscoding = true" so try commenting out this line (add # to the beginning).
It could be something has broken this if it now plays.
Code: Select all
Starting "C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i "H:\Anime Mangi\Cowboy_Bebop_Knockin__on_Heaven_s_Door_(2001)_[1080p,BluRay,x264,flac]_-_THORA.mkv" -filter_complex pad=iw:iw/(16/9):0:(oh-ih)/2,scale=1772:996 -map 0:V -map 0:a:1 -bufsize 31250k -maxrate 31250k -crf 23 -ac 2 -ab 448k -c:a copy -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -f mpegts \\.\pipe\ffmpegvideo_103_1725191517192
...
...
Started playing Cowboy_Bebop_Knockin__on_Heaven_s_Door_(2001)_[1080p,BluRay,x264,flac]_-_THORA.mkv (FFmpeg Video) on your Cookie_Monster
The full filename of which is: H:\Anime Mangi\Cowboy_Bebop_Knockin__on_Heaven_s_Door_(2001)_[1080p,BluRay,x264,flac]_-_THORA.mkv and the address of the renderer is: 192.168.0.78
[vist#0:0/h264 @ 000001db8865d880] [dec:h264 @ 000001db8865ca40] Using auto hwaccel type dxva2 with new default device.
[out#0/mpegts @ 000001db8a2f8400] Codec AVOption b (set bitrate (in bits/s)) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Result of \\.\pipe\ffmpegvideo_103_1725191517192: true
[fc#0 @ 000001db8859fe40] Cannot find a matching stream for unlabeled input pad pad:default
Error binding filtergraph inputs/outputs: Invalid argument
EOF
Process C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe has a return code of -22! Maybe an error occurred... check the log file
See if turning these off helps.
I don't know where this is coming from as it is not something that shows for me when I transcode.
Code: Select all
pad=iw:iw/(16/9):0:(oh-ih)/2,scale=1772:996
It could be something has broken this if it now plays.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: Issues with transcoding with FFmpeg and MEncoder
Thank you so much for getting back to me!
I had the de-interlacing filter off before and it still did stutter, I tried applying the filter as I've seen some interlacing. Nonetheless I did disable with along with the FPS option. Unfortunately there is no effect
.
I've edited the configuration file but the issue with FFmpeg persists. I forgot to mention that I tried forcing the Panasonic TV profile at one point but it didn't help. I'm attaching a new log file. First try is with FFmpeg and the second is MEncoder. Do you think there is anything else I could try?
I had the de-interlacing filter off before and it still did stutter, I tried applying the filter as I've seen some interlacing. Nonetheless I did disable with along with the FPS option. Unfortunately there is no effect

I've edited the configuration file but the issue with FFmpeg persists. I forgot to mention that I tried forcing the Panasonic TV profile at one point but it didn't help. I'm attaching a new log file. First try is with FFmpeg and the second is MEncoder. Do you think there is anything else I could try?
- Attachments
-
- ums_dbg_2024-09-01-17-20.zip
- (617.07 KiB) Downloaded 335 times
Re: Issues with transcoding with FFmpeg and MEncoder
Does this happen on other videos or just this one?
Comparing the FFmpeg log with what comes up for me when transcoding I don't see any streams coming up in yours, which is making the process end as it reached EOF.
I don't see that error about the pad this time.
It might be this is an incomplete download so there is nothing actually there to transcode. Does this play on your computer?
For Mencoder there are some warnings that some bitrates are too high but not sure if this is part of the cause.
One other factor is your network bandwidth may be too low but can't tell as a speed test is not run.
Try turning on "Use automatic maximum bandwidth" so this speed test can run.
Comparing the FFmpeg log with what comes up for me when transcoding I don't see any streams coming up in yours, which is making the process end as it reached EOF.
I don't see that error about the pad this time.
It might be this is an incomplete download so there is nothing actually there to transcode. Does this play on your computer?
For Mencoder there are some warnings that some bitrates are too high but not sure if this is part of the cause.
Code: Select all
x264 [warning]: frame MB size (111x60) > level limit (3600)
x264 [warning]: DPB size (4 frames, 26640 mbs) > level limit (2 frames, 18000 mbs)
x264 [warning]: VBV bitrate (31250) > level limit (17500)
x264 [warning]: VBV buffer (31250) > level limit (17500)
x264 [warning]: MB rate (159680) > level limit (108000)
Try turning on "Use automatic maximum bandwidth" so this speed test can run.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: Issues with transcoding with FFmpeg and MEncoder
Many of these problems were just fixed and will be available in the next release (v14.50)...see this item...
viewtopic.php?t=16089
However, I still have a couple types of videos that still do not play correctly even with this code change. I am awaiting a response on this item.
viewtopic.php?t=16105
viewtopic.php?t=16089
However, I still have a couple types of videos that still do not play correctly even with this code change. I am awaiting a response on this item.
viewtopic.php?t=16105
Re: Issues with transcoding with FFmpeg and MEncoder
@mik_s
The file itself is fine. I'm able to play it on my PC without any issues, I think I've watched it twice from this file. Actually I think I was able to play it via FFmpeg on UMS 13.10 but it played after a few tries. I can try and roll back to 13.10 and see if it will run there again if you think that will be helpful.
As to other videos, most of them won't play via FFmpeg. I did some tests and found a couple that actually play. I'm attaching new logs, the first four videos crashed and the last two played right away.
I've turned on automatic network bandwidth rating. Looking at what that benchmark rated the speed is not great. Not sure yet where the issues is, I'll try to get a better quality cable tomorrow and see it that makes a difference. But MEncoder videos don't play smoothly nonetheless. I've turned the automatic network bandwidth rating to be able to fiddle around with transcoding quality and see if MEncoder videos started to play better but didn't get any luck.
Right now I've just attached logs fro FFmpeg. I thought it's better to go with a "one disaster at a time" approach
.
@binary512
Thanks for reaching out as well. Actually right now I'm running UMS 14.5. I saw in the change logs for 14.5 and in your posts as well that there were some fixes for FFmpeg playback so I decided to give it a go. Unfortunately it's still having issues for me, though different than yours as I don't seem to get the -22 error code anywhere, so I've decided to reach out for help.
The file itself is fine. I'm able to play it on my PC without any issues, I think I've watched it twice from this file. Actually I think I was able to play it via FFmpeg on UMS 13.10 but it played after a few tries. I can try and roll back to 13.10 and see if it will run there again if you think that will be helpful.
As to other videos, most of them won't play via FFmpeg. I did some tests and found a couple that actually play. I'm attaching new logs, the first four videos crashed and the last two played right away.
I've turned on automatic network bandwidth rating. Looking at what that benchmark rated the speed is not great. Not sure yet where the issues is, I'll try to get a better quality cable tomorrow and see it that makes a difference. But MEncoder videos don't play smoothly nonetheless. I've turned the automatic network bandwidth rating to be able to fiddle around with transcoding quality and see if MEncoder videos started to play better but didn't get any luck.
Right now I've just attached logs fro FFmpeg. I thought it's better to go with a "one disaster at a time" approach

@binary512
Thanks for reaching out as well. Actually right now I'm running UMS 14.5. I saw in the change logs for 14.5 and in your posts as well that there were some fixes for FFmpeg playback so I decided to give it a go. Unfortunately it's still having issues for me, though different than yours as I don't seem to get the -22 error code anywhere, so I've decided to reach out for help.
- Attachments
-
- ums_dbg_2024-09-02-19-26.zip
- (706.35 KiB) Downloaded 348 times
Re: Issues with transcoding with FFmpeg and MEncoder
Network speed is a bit low but should be fine if you are not playing 4K videos. If some play OK then it is fast enough but it may stutter.
It could be worth trying a wired connection instead of wireless if you can to rule this out.
It will be helpful if you can play that same video on 13.10 and do logs so I can compare the transcoding command and see what has changed.
As I don't know much about transcoding I'll leave the logs from FFmpeg which should help @Subjunk see the problem.
Comparing them I see videos 1 2 and 4 are the same and as a guess it is failing on the subtitles and not reading the streams.
However there is a mix of ASS and PGS subtitles so nothing in common with that.
Video 3 gets further but has a different error "Error binding filtergraph inputs/outputs: Invalid argument" and gives the return code -22.
Video 5 and 6 are working and this is the output I would expect and these use either ASS or PGS subtitles which rules out that guess.
Video 1
Video 2
Video 3
Video 4
Video 5
Video 6
It could be worth trying a wired connection instead of wireless if you can to rule this out.
It will be helpful if you can play that same video on 13.10 and do logs so I can compare the transcoding command and see what has changed.
As I don't know much about transcoding I'll leave the logs from FFmpeg which should help @Subjunk see the problem.
Comparing them I see videos 1 2 and 4 are the same and as a guess it is failing on the subtitles and not reading the streams.
However there is a mix of ASS and PGS subtitles so nothing in common with that.
Video 3 gets further but has a different error "Error binding filtergraph inputs/outputs: Invalid argument" and gives the return code -22.
Video 5 and 6 are working and this is the output I would expect and these use either ASS or PGS subtitles which rules out that guess.
Video 1
Code: Select all
Starting "C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i "H:\Anime Mangi\[Coalgirls]_Macross_Frontier_Movies_(1280x720_Blu-ray_FLAC)\[Coalgirls]_Macross_Frontier_Movie_1_-_The_False_Songstress_(1280x720_Blu-ray_FLAC)_[7B63541F].mkv" -filter_complex "subtitles=H\\:/Anime Mangi/\[Coalgirls\]_Macross_Frontier_Movies_(1280x720_Blu-ray_FLAC)/\[Coalgirls\]_Macross_Frontier_Movie_1_-_The_False_Songstress_(1280x720_Blu-ray_FLAC)_\[7B63541F\].mkv:si=0" -bufsize 12000k -maxrate 11000k -crf 22 -ac 2 -ab 448k -c:a ac3 -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -f mpegts \\.\pipe\ffmpegvideo_103_1725297749686
Reading pipe: \\.\pipe\ffmpegvideo_103_1725297749686
Successfully initialized buffer to 52,428,800 bytes.
Attaching thread: ffmpeg.exe-7
Process ID (C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe): 3052
buffered: 0 bytes / inputs: 0
ffmpeg version 2024-06-09-git-94f2274a8b-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
...
...
libpostproc 58. 2.100 / 58. 2.100
[Parsed_subtitles_0 @ 0000027a95741900] libass API version: 0x1702000
[Parsed_subtitles_0 @ 0000027a95741900] libass source: commit: 0.17.2-17-gad42889c85fc61a003ad6d4cdb985f56de066f91
[Parsed_subtitles_0 @ 0000027a95741900] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 8.5.0 (COMPLEX)
[Parsed_subtitles_0 @ 0000027a95741900] Using font provider directwrite (with GDI)
...
...
buffered: 0 bytes / inputs: 0
Stopping process 3052: ffmpeg.exe-7
Destroying buffer
EOF
Code: Select all
Starting "C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i "H:\Anime Mangi\Ghost_in_the_Shell_Arise_Ep_1_[1080p,BluRay,aac,x264]_-_THORA.mkv" -filter_complex "subtitles=H\\:/Anime Mangi/Ghost_in_the_Shell_Arise_Ep_1_\[1080p\,BluRay\,aac\,x264\]_-_THORA.mkv:si=0" -bufsize 12000k -maxrate 11000k -crf 23 -ac 2 -ab 448k -c:a copy -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -f mpegts \\.\pipe\ffmpegvideo_103_1725297794920
Reading pipe: \\.\pipe\ffmpegvideo_103_1725297794920
Successfully initialized buffer to 52,428,800 bytes.
Attaching thread: ffmpeg.exe-8
Process ID (C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe): 4992
buffered: 0 bytes / inputs: 0
ffmpeg version 2024-06-09-git-94f2274a8b-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
...
...
libpostproc 58. 2.100 / 58. 2.100
[Parsed_subtitles_0 @ 00000243f4a61fc0] libass API version: 0x1702000
[Parsed_subtitles_0 @ 00000243f4a61fc0] libass source: commit: 0.17.2-17-gad42889c85fc61a003ad6d4cdb985f56de066f91
[Parsed_subtitles_0 @ 00000243f4a61fc0] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 8.5.0 (COMPLEX)
[matroska,webm @ 00000243f4e50c80] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[Parsed_subtitles_0 @ 00000243f4a61fc0] Using font provider directwrite (with GDI)
...
...
buffered: 0 bytes / inputs: 0
Stopping process 4992: ffmpeg.exe-8
Destroying buffer
EOF
Code: Select all
Starting "C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i "H:\Anime Mangi\Lodoss OVA\[AniDL] Lodoss.tou.Senki.02.1080pBDD.AIznjie.BiznjieX265.mkv" -filter_complex "subtitles=H\\:/Anime Mangi/Lodoss OVA/\[AniDL\] Lodoss.tou.Senki.02.1080pBDD.AIznjie.BiznjieX265.mkv:si=0" -map 0:V -map 0:a:1 -bufsize 12000k -maxrate 11000k -crf 23 -ab 448k -c:a ac3 -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -f mpegts \\.\pipe\ffmpegvideo_101_1725297841325
Reading pipe: \\.\pipe\ffmpegvideo_101_1725297841325
Successfully initialized buffer to 52,428,800 bytes.
Attaching thread: ffmpeg.exe-15
Process ID (C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe): 12076
buffered: 0 bytes / inputs: 0
ffmpeg version 2024-06-09-git-94f2274a8b-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
...
...
libpostproc 58. 2.100 / 58. 2.100
[Parsed_subtitles_0 @ 000001a7a1092f40] libass API version: 0x1702000
[Parsed_subtitles_0 @ 000001a7a1092f40] libass source: commit: 0.17.2-17-gad42889c85fc61a003ad6d4cdb985f56de066f91
[Parsed_subtitles_0 @ 000001a7a1092f40] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 8.5.0 (COMPLEX)
[Parsed_subtitles_0 @ 000001a7a1092f40] Using font provider directwrite (with GDI)
Input #0, matroska,webm, from 'H:\Anime Mangi\Lodoss OVA\[AniDL] Lodoss.tou.Senki.02.1080pBDD.AIznjie.BiznjieX265.mkv':
...
...
[vist#0:0/hevc @ 000001a7a1628ac0] [dec:hevc @ 000001a7a1547f80] Using auto hwaccel type dxva2 with new default device.
Result of \\.\pipe\ffmpegvideo_101_1725297841325: true
[fc#0 @ 000001a7a108fe80] Cannot find a matching stream for unlabeled input pad subtitles:default
Error binding filtergraph inputs/outputs: Invalid argument
EOF
Process C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe has a return code of -22! Maybe an error occurred... check the log file
Code: Select all
Starting "C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i "H:\Anime Mangi\[Doki]_Grave_of_the_Fireflies_(1920x1038_Hi10P_BD_FLAC)_[4D937D24].mkv" -filter_complex "subtitles=H\\:/Anime Mangi/\[Doki\]_Grave_of_the_Fireflies_(1920x1038_Hi10P_BD_FLAC)_\[4D937D24\].mkv:si=0" -map 0:V -map 0:a:0 -bufsize 12000k -maxrate 11000k -crf 23 -ab 448k -c:a ac3 -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -f mpegts \\.\pipe\ffmpegvideo_102_1725297903383
Reading pipe: \\.\pipe\ffmpegvideo_102_1725297903383
Successfully initialized buffer to 52,428,800 bytes.
Attaching thread: ffmpeg.exe-16
Process ID (C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe): 2284
buffered: 0 bytes / inputs: 0
ffmpeg version 2024-06-09-git-94f2274a8b-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
...
...
libpostproc 58. 2.100 / 58. 2.100
[Parsed_subtitles_0 @ 0000023323d72f40] libass API version: 0x1702000
[Parsed_subtitles_0 @ 0000023323d72f40] libass source: commit: 0.17.2-17-gad42889c85fc61a003ad6d4cdb985f56de066f91
[Parsed_subtitles_0 @ 0000023323d72f40] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 8.5.0 (COMPLEX)
[Parsed_subtitles_0 @ 0000023323d72f40] Using font provider directwrite (with GDI)
...
...
buffered: 0 bytes / inputs: 0
Stopping process 2284: ffmpeg.exe-16
Destroying buffer
EOF
Code: Select all
Starting "C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i "H:\Anime Mangi\[gg]_Code_Geass_Akito_the_Exiled_-_01_[B785F404].mkv" -filter_complex "subtitles=H\\:/Anime Mangi/\[gg\]_Code_Geass_Akito_the_Exiled_-_01_\[B785F404\].mkv:si=0" -bufsize 12000k -maxrate 11000k -crf 22 -ab 448k -ar 48000 -c:a copy -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -f mpegts \\.\pipe\ffmpegvideo_98_1725297928577
Reading pipe: \\.\pipe\ffmpegvideo_98_1725297928577
Successfully initialized buffer to 52,428,800 bytes.
Attaching thread: ffmpeg.exe-17
Process ID (C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe): 14260
buffered: 0 bytes / inputs: 0
ffmpeg version 2024-06-09-git-94f2274a8b-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
...
...
libpostproc 58. 2.100 / 58. 2.100
[Parsed_subtitles_0 @ 000001dc207e1e40] libass API version: 0x1702000
[Parsed_subtitles_0 @ 000001dc207e1e40] libass source: commit: 0.17.2-17-gad42889c85fc61a003ad6d4cdb985f56de066f91
[Parsed_subtitles_0 @ 000001dc207e1e40] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 8.5.0 (COMPLEX)
[Parsed_subtitles_0 @ 000001dc207e1e40] Using font provider directwrite (with GDI)
buffered: 0 bytes / inputs: 1
buffered: 0 bytes / inputs: 1
Checking network configuration changes
buffered: 0 bytes / inputs: 1
Input #0, matroska,webm, from 'H:\Anime Mangi\[gg]_Code_Geass_Akito_the_Exiled_-_01_[B785F404].mkv':
Metadata:
encoder : libebml v1.2.2 + libmatroska v1.3.0
creation_time : 2012-09-29T07:29:20.000000Z
Duration: 00:50:59.69, start: 0.000000, bitrate: 1793 kb/s
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp (default)
Stream #0:2: Subtitle: ass (ssa) (default)
Stream #0:3: Attachment: ttf
Metadata:
filename : HeiseiMinchoStd-W7-Gosick.ttf
mimetype : application/x-truetype-font
Stream #0:4: Attachment: ttf
Metadata:
filename : IwaNGoPro-Bd-CP.ttf
mimetype : application/x-truetype-font
Stream #0:5: Attachment: ttf
Metadata:
filename : OptimaLTStdM.ttf
mimetype : application/x-truetype-font
[out#0/mpegts @ 000001dc207dff40] Codec AVOption b (set bitrate (in bits/s)) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Result of \\.\pipe\ffmpegvideo_98_1725297928577: true
[vist#0:0/h264 @ 000001dc2089fe40] [dec:h264 @ 000001dc20cadc00] Using auto hwaccel type dxva2 with new default device.
Stream mapping:
Stream #0:0 (h264) -> subtitles:default
subtitles:default -> Stream #0:0 (libx264)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[Parsed_subtitles_0 @ 000001dc2089f080] libass API version: 0x1702000
[Parsed_subtitles_0 @ 000001dc2089f080] libass source: commit: 0.17.2-17-gad42889c85fc61a003ad6d4cdb985f56de066f91
[Parsed_subtitles_0 @ 000001dc2089f080] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 8.5.0 (COMPLEX)
[Parsed_subtitles_0 @ 000001dc2089f080] Using font provider directwrite (with GDI)
[libx264 @ 000001dc208a1dc0] using SAR=1/1
[libx264 @ 000001dc208a1dc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001dc208a1dc0] profile High, level 3.1, 4:2:0, 8-bit
Output #0, mpegts, to '\\.\pipe\ffmpegvideo_98_1725297928577':
Metadata:
encoder : Lavf61.3.104
Stream #0:0: Video: h264, yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 90k tbn
Metadata:
encoder : Lavc61.7.100 libx264
Side data:
cpb: bitrate max/min/avg: 11000000/0/0 buffer size: 12000000 vbv_delay: N/A
Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 448 kb/s (default)
frame= 84 fps= 81 q=19.0 size= 1024KiB time=00:00:03.41 bitrate=2453.5kbits/s speed=3.29x
frame= 246 fps=159 q=17.0 size= 2170KiB time=00:00:10.17 bitrate=1746.7kbits/s speed=6.58x
buffered: 1,516,960 bytes / inputs: 3
Code: Select all
Starting "C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i "H:\Anime Mangi\Sword Art Online\[a-s]_sword_art_online_alicization_war_of_underworld_-_05_-_the_night_before_battle__pball_[1080p_bd-rip][x265][8FA76204].mkv" -filter_complex [0:v][0:s:0]overlay -map 0:V -map 0:a:1 -bufsize 12000k -maxrate 11000k -crf 23 -c:a copy -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -f mpegts \\.\pipe\ffmpegvideo_97_1725297969094
Reading pipe: \\.\pipe\ffmpegvideo_97_1725297969094
Successfully initialized buffer to 52,428,800 bytes.
Attaching thread: ffmpeg.exe-18
Process ID (C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe): 1516
buffered: 0 bytes / inputs: 0
ffmpeg version 2024-06-09-git-94f2274a8b-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
...
...
libpostproc 58. 2.100 / 58. 2.100
[matroska,webm @ 0000018404bb2f00] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0000018404bb2f00] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'H:\Anime Mangi\Sword Art Online\[a-s]_sword_art_online_alicization_war_of_underworld_-_05_-_the_night_before_battle__pball_[1080p_bd-rip][x265][8FA76204].mkv':
Metadata:
encoder : libebml v1.3.10 + libmatroska v1.5.2
creation_time : 2022-04-01T23:05:53.000000Z
Duration: 00:23:42.08, start: 0.000000, bitrate: 1213 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 55.055000
Metadata:
title : Chapter 01
Chapter #0:1: start 55.055000, end 145.020000
Metadata:
title : Chapter 02
Chapter #0:2: start 145.020000, end 760.051000
Metadata:
title : Chapter 03
Chapter #0:3: start 760.051000, end 1415.039000
Metadata:
title : Chapter 04
Chapter #0:4: start 1415.039000, end 1422.080000
Metadata:
title : Chapter 05
Stream #0:0(jpn): Video: hevc (Main), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata:
title : Bluray
BPS-eng : 813649
DURATION-eng : 00:23:42.046000000
NUMBER_OF_FRAMES-eng: 34095
NUMBER_OF_BYTES-eng: 144630863
_STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2022-04-01 23:05:53
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
title : English
BPS-eng : 192000
DURATION-eng : 00:23:42.080000000
NUMBER_OF_FRAMES-eng: 44440
NUMBER_OF_BYTES-eng: 34129920
_STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2022-04-01 23:05:53
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(jpn): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Japanese
BPS-eng : 192000
DURATION-eng : 00:23:42.080000000
NUMBER_OF_FRAMES-eng: 44440
NUMBER_OF_BYTES-eng: 34129920
_STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2022-04-01 23:05:53
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle (pgssub)
Metadata:
title : English Subs
BPS-eng : 32975
DURATION-eng : 00:23:13.392000000
NUMBER_OF_FRAMES-eng: 478
NUMBER_OF_BYTES-eng: 5743561
_STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2022-04-01 23:05:53
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle (pgssub) (default)
Metadata:
title : English Signs
BPS-eng : 279
DURATION-eng : 00:21:15.024000000
NUMBER_OF_FRAMES-eng: 6
NUMBER_OF_BYTES-eng: 44617
_STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2022-04-01 23:05:53
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[vist#0:0/hevc @ 0000018404e583c0] [dec:hevc @ 0000018404f711c0] Using auto hwaccel type dxva2 with new default device.
Result of \\.\pipe\ffmpegvideo_97_1725297969094: true
Stream mapping:
Stream #0:0 (hevc) -> overlay
Stream #0:3 (pgssub) -> overlay
overlay:default -> Stream #0:0 (libx264)
Stream #0:0 -> #0:1 (hevc (native) -> h264 (libx264))
Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0000018404c03180] using SAR=1/1
[libx264 @ 0000018404c03180] frame MB size (120x68) > level limit (3600)
[libx264 @ 0000018404c03180] DPB size (4 frames, 32640 mbs) > level limit (2 frames, 18000 mbs)
[libx264 @ 0000018404c03180] MB rate (195644) > level limit (108000)
[libx264 @ 0000018404c03180] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000018404c03180] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0000018404d6b080] using SAR=1/1
[libx264 @ 0000018404d6b080] frame MB size (120x68) > level limit (3600)
[libx264 @ 0000018404d6b080] DPB size (4 frames, 32640 mbs) > level limit (2 frames, 18000 mbs)
[libx264 @ 0000018404d6b080] MB rate (195644) > level limit (108000)
[libx264 @ 0000018404d6b080] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000018404d6b080] profile High, level 3.1, 4:2:0, 8-bit
Output #0, mpegts, to '\\.\pipe\ffmpegvideo_97_1725297969094':
Metadata:
encoder : Lavf61.3.104
Chapters:
Chapter #0:0: start 0.000000, end 55.055000
Metadata:
title : Chapter 01
Chapter #0:1: start 55.055000, end 145.020000
Metadata:
title : Chapter 02
Chapter #0:2: start 145.020000, end 760.051000
Metadata:
title : Chapter 03
Chapter #0:3: start 760.051000, end 1415.039000
Metadata:
title : Chapter 04
Chapter #0:4: start 1415.039000, end 1422.080000
Metadata:
title : Chapter 05
Stream #0:0: Video: h264, yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 90k tbn
Metadata:
encoder : Lavc61.7.100 libx264
Side data:
cpb: bitrate max/min/avg: 11000000/0/0 buffer size: 12000000 vbv_delay: N/A
Stream #0:1(jpn): Video: h264, yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 90k tbn (default)
Metadata:
title : Bluray
BPS-eng : 813649
DURATION-eng : 00:23:42.046000000
NUMBER_OF_FRAMES-eng: 34095
NUMBER_OF_BYTES-eng: 144630863
_STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2022-04-01 23:05:53
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
encoder : Lavc61.7.100 libx264
Side data:
cpb: bitrate max/min/avg: 11000000/0/0 buffer size: 12000000 vbv_delay: N/A
Stream #0:2(jpn): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Japanese
BPS-eng : 192000
DURATION-eng : 00:23:42.080000000
NUMBER_OF_FRAMES-eng: 44440
NUMBER_OF_BYTES-eng: 34129920
_STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2022-04-01 23:05:53
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
frame= 0 fps=0.0 q=0.0 q=24.0 size= 0KiB time=N/A bitrate=N/A speed=N/A
frame= 23 fps= 22 q=21.0 q=21.0 size= 1289KiB time=00:00:00.87 bitrate=12052.6kbits/s speed=0.837x
buffered: 1,500,000 bytes / inputs: 1
frame= 50 fps= 32 q=21.0 q=20.0 size= 1864KiB time=00:00:02.00 bitrate=7627.4kbits/s speed=1.27x
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: Issues with transcoding with FFmpeg and MEncoder
I have just encountered this exact same problem when I tried to watch a video on my PS4. But I found a way to make it play which is very strange.
A previous bug would only allow a video to play correctly from the transcode folder so I tried that, first selecting "no transcoding" which actually started to play.
The reason that it needs to be transcoded was because it has E-AC3 audio which the PS4 does not support so there was no sound.
Choosing to transcode with FFmpeg it played correctly and I was able to watch it.
Stranger still when I tried the next episode I went straight to the transcode folder to use FFmpeg but this did not work and it never started just like before.
I retraced my steps and chose no transcoding which played with no sound, then went back to FFmpeg and it worked.
Even stranger if I go outside the transcoding folder and play as you would normally it worked too.
Somehow if you go "no transcoding" first then it will work like it is supposed to do when you go back out to play the video normally.
Does the same thing happen with you?
I compared each transcoding command and it was exactly the same whether I played inside or outside of the transcoding folder so this is not the problem.
It must be something to do with some logic in UMS and this would explain the problems with Mencoder too.
Most things I watch need transcoding and I haven't had this happen with other videos so there must be a certain format that sets this off, maybe if it is only audio that needs transcoding.
I also added "KeepAspectRatioTranscoding = true" to my PS4 conf to see if this had anything to do with it and found this is where the Pad command was coming from, but this is working correctly.
A previous bug would only allow a video to play correctly from the transcode folder so I tried that, first selecting "no transcoding" which actually started to play.
The reason that it needs to be transcoded was because it has E-AC3 audio which the PS4 does not support so there was no sound.
Choosing to transcode with FFmpeg it played correctly and I was able to watch it.
Stranger still when I tried the next episode I went straight to the transcode folder to use FFmpeg but this did not work and it never started just like before.
I retraced my steps and chose no transcoding which played with no sound, then went back to FFmpeg and it worked.
Even stranger if I go outside the transcoding folder and play as you would normally it worked too.
Somehow if you go "no transcoding" first then it will work like it is supposed to do when you go back out to play the video normally.
Does the same thing happen with you?
I compared each transcoding command and it was exactly the same whether I played inside or outside of the transcoding folder so this is not the problem.
It must be something to do with some logic in UMS and this would explain the problems with Mencoder too.
Most things I watch need transcoding and I haven't had this happen with other videos so there must be a certain format that sets this off, maybe if it is only audio that needs transcoding.
I also added "KeepAspectRatioTranscoding = true" to my PS4 conf to see if this had anything to do with it and found this is where the Pad command was coming from, but this is working correctly.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: Issues with transcoding with FFmpeg and MEncoder
Sorry for the late reply, I didn't make it yesterday to do any testing. But today I think I might've finally got something useful
.
OK, so first of all that "no transcode" trick is really interesting. I decided to give it a go but unfortunately not much luck there, neither one of the videos played but I'm attaching the logs anyway. Maybe there will be something useful there.
Afterwards I've rolled back to 13.10. I got no luck trying to play any of the tracks with subtitles but I was able to play the two audio-only tracks. Both started right away. Then that got me thinking maybe I should go back to 14.5 again and do the same test. I think I did try the audio-only tracks on 14.5 during my initial tests even before posting here but I wanted to be sure. Once I was back on 14.5 and tried to play any of the subtitle and audio combinations including the audio-only ones I wasn't able to get any of them to work. Even after trying to do your "no transcode" trick. I'm attaching the log file from that as well.
Hope any of this will prove useful. Let me know if I should run some more tests, in these I've focused on just one file.
Oh and I have replaced the network cable on the TV with a better one but no change there. Tomorrow I'll try connecting my PC via a wire to see if that impacts the bandwidth in any way.

OK, so first of all that "no transcode" trick is really interesting. I decided to give it a go but unfortunately not much luck there, neither one of the videos played but I'm attaching the logs anyway. Maybe there will be something useful there.
Afterwards I've rolled back to 13.10. I got no luck trying to play any of the tracks with subtitles but I was able to play the two audio-only tracks. Both started right away. Then that got me thinking maybe I should go back to 14.5 again and do the same test. I think I did try the audio-only tracks on 14.5 during my initial tests even before posting here but I wanted to be sure. Once I was back on 14.5 and tried to play any of the subtitle and audio combinations including the audio-only ones I wasn't able to get any of them to work. Even after trying to do your "no transcode" trick. I'm attaching the log file from that as well.
Hope any of this will prove useful. Let me know if I should run some more tests, in these I've focused on just one file.
Oh and I have replaced the network cable on the TV with a better one but no change there. Tomorrow I'll try connecting my PC via a wire to see if that impacts the bandwidth in any way.
- Attachments
-
- ums_dbg_2024-09-04-21-53_14-5_test_after_13-10.zip
- (2.85 MiB) Downloaded 363 times
-
- ums_dbg_2024-09-04-21-30_13-10test.zip
- (1.78 MiB) Downloaded 352 times
-
- ums_dbg_2024-09-04-21-12_no-transcode-test.zip
- (780.41 KiB) Downloaded 354 times
Re: Issues with transcoding with FFmpeg and MEncoder
I think the no transcoding trick worked for me as the video was playable but just had no audio.
It seems a bit hit and miss when I tried it with other episodes of the series.
Its interesting that playing with no subtitles works fine on 13.10 but not in 14.5 so this makes me think there is something wrong with FFmpeg as there is no change in the transcoding command but the versions of FFmpeg are different. in 14.5 FFmpeg cannot map the streams.
13.10.1
14.5.0
However as subtitles do not work on both versions and causes the process to stop with EOF then there is something else going on. As that no transcoding trick makes it work for me it might be a serving problem in UMS and somehow no transcoding enables transcoding to work.
Someone on Github has a similar problem although that is related to an incorrect conf, but these show up in their logs too so I'll link this to it.
It seems a bit hit and miss when I tried it with other episodes of the series.
Its interesting that playing with no subtitles works fine on 13.10 but not in 14.5 so this makes me think there is something wrong with FFmpeg as there is no change in the transcoding command but the versions of FFmpeg are different. in 14.5 FFmpeg cannot map the streams.
Code: Select all
14.5.0 ffmpeg version 2024-06-09-git-94f2274a8b-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
13.10.1 ffmpeg version 2024-02-22-git-76b2bb96b4-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
13.10.1
Code: Select all
Starting "C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i "H:\Anime Mangi\Cowboy_Bebop_Knockin__on_Heaven_s_Door_(2001)_[1080p,BluRay,x264,flac]_-_THORA.mkv" -filter_complex pad=iw:iw/(16/9):0:(oh-ih)/2,scale=1772:996 -map 0:V -map 0:a:0 -bufsize 9000k -maxrate 8000k -crf 23 -ac 2 -ab 448k -c:a ac3 -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -f mpegts \\.\pipe\ffmpegvideo_102_1725478145921
Reading pipe: \\.\pipe\ffmpegvideo_102_1725478145921
Successfully initialized buffer to 52,428,800 bytes.
Attaching thread: ffmpeg.exe-550
Process ID (C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe): 7888
buffered: 0 bytes / inputs: 0
ffmpeg version 2024-02-22-git-76b2bb96b4-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
libavutil 58. 39.100 / 58. 39.100
libavcodec 60. 40.100 / 60. 40.100
libavformat 60. 21.101 / 60. 21.101
libavdevice 60. 4.100 / 60. 4.100
libavfilter 9. 17.100 / 9. 17.100
libswscale 7. 6.100 / 7. 6.100
libswresample 4. 13.100 / 4. 13.100
libpostproc 57. 4.100 / 57. 4.100
Input #0, matroska,webm, from 'H:\Anime Mangi\Cowboy_Bebop_Knockin__on_Heaven_s_Door_(2001)_[1080p,BluRay,x264,flac]_-_THORA.mkv':
Metadata:
title : Cowboy Bebop: Knockin' on Heaven's Door (2001)
encoder : libebml v1.2.3 + libmatroska v1.3.0
creation_time : 2012-01-24T19:11:56.000000Z
Duration: 01:55:24.42, start: 0.000000, bitrate: 14887 kb/s
Stream #0:0(jpn): Video: h264 (High 10), yuv420p10le(progressive), 1772x952 [SAR 1:1 DAR 443:238], 23.98 fps, 23.98 tbr, 1k tbn (default)
Stream #0:1(jpn): Audio: flac, 48000 Hz, 5.1(side), s32 (24 bit) (default)
Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:3(eng): Subtitle: ass (ssa) (default)
Stream #0:4: Attachment: otf
Metadata:
filename : ITCFranklinGothicStd-Med.otf
mimetype : application/vnd.ms-opentype
[vist#0:0/h264 @ 000001e062bfbc00] [dec:h264 @ 000001e062a7af00] Using auto hwaccel type dxva2 with new default device.
Result of \\.\pipe\ffmpegvideo_102_1725478145921: true
Stream mapping:
Stream #0:0 (h264) -> pad:default (graph 0)
scale:default (graph 0) -> Stream #0:0 (libx264)
Stream #0:0 -> #0:1 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:2 (flac (native) -> ac3 (native))
Press [q] to stop, [?] for help
[libx264 @ 000001e062ad9b00] using SAR=1/1
[libx264 @ 000001e062ad9b00] frame MB size (111x60) > level limit (3600)
[libx264 @ 000001e062ad9b00] DPB size (4 frames, 26640 mbs) > level limit (2 frames, 18000 mbs)
[libx264 @ 000001e062ad9b00] MB rate (159680) > level limit (108000)
[libx264 @ 000001e062ad9b00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001e062b3a3c0] using SAR=1/1
[libx264 @ 000001e062b3a3c0] frame MB size (111x63) > level limit (3600)
[libx264 @ 000001e062b3a3c0] DPB size (4 frames, 27972 mbs) > level limit (2 frames, 18000 mbs)
[libx264 @ 000001e062b3a3c0] MB rate (167664) > level limit (108000)
[libx264 @ 000001e062b3a3c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001e062ad9b00] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 000001e062b3a3c0] profile High, level 3.1, 4:2:0, 8-bit
Output #0, mpegts, to '\\.\pipe\ffmpegvideo_102_1725478145921':
Metadata:
title : Cowboy Bebop: Knockin' on Heaven's Door (2001)
encoder : Lavf60.21.101
Stream #0:0: Video: h264, yuv420p(progressive), 1772x996 [SAR 1:1 DAR 443:249], q=2-31, 23.98 fps, 90k tbn
Metadata:
encoder : Lavc60.40.100 libx264
Side data:
cpb: bitrate max/min/avg: 8000000/0/0 buffer size: 9000000 vbv_delay: N/A
Stream #0:1(jpn): Video: h264, yuv420p(progressive), 1772x952 [SAR 1:1 DAR 443:238], q=2-31, 23.98 fps, 90k tbn (default)
Metadata:
encoder : Lavc60.40.100 libx264
Side data:
cpb: bitrate max/min/avg: 8000000/0/0 buffer size: 9000000 vbv_delay: N/A
Stream #0:2(jpn): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s (default)
Metadata:
encoder : Lavc60.40.100 ac3
frame= 20 fps=0.0 q=21.0 q=21.0 size= 52KiB time=00:00:00.75 bitrate= 564.9kbits/s speed=1.44x
frame= 56 fps= 54 q=19.0 q=19.0 size= 488KiB time=00:00:02.25 bitrate=1775.0kbits/s speed=2.19x
14.5.0
Code: Select all
Starting "C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe" -y -loglevel info -hwaccel auto -threads 1 -i "H:\Anime Mangi\Cowboy_Bebop_Knockin__on_Heaven_s_Door_(2001)_[1080p,BluRay,x264,flac]_-_THORA.mkv" -filter_complex pad=iw:iw/(16/9):0:(oh-ih)/2,scale=1772:996 -map 0:V -map 0:a:0 -bufsize 10000k -maxrate 9000k -crf 23 -ac 2 -ab 448k -c:a ac3 -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -f mpegts \\.\pipe\ffmpegvideo_99_1725479519601
Reading pipe: \\.\pipe\ffmpegvideo_99_1725479519601
Successfully initialized buffer to 52,428,800 bytes.
Attaching thread: ffmpeg.exe-9
Process ID (C:\Program Files (x86)\Universal Media Server\bin\ffmpeg.exe): 15652
buffered: 0 bytes / inputs: 0
ffmpeg version 2024-06-09-git-94f2274a8b-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
libavutil 59. 21.100 / 59. 21.100
libavcodec 61. 7.100 / 61. 7.100
libavformat 61. 3.104 / 61. 3.104
libavdevice 61. 2.100 / 61. 2.100
libavfilter 10. 2.102 / 10. 2.102
libswscale 8. 2.100 / 8. 2.100
libswresample 5. 2.100 / 5. 2.100
libpostproc 58. 2.100 / 58. 2.100
Input #0, matroska,webm, from 'H:\Anime Mangi\Cowboy_Bebop_Knockin__on_Heaven_s_Door_(2001)_[1080p,BluRay,x264,flac]_-_THORA.mkv':
Metadata:
title : Cowboy Bebop: Knockin' on Heaven's Door (2001)
encoder : libebml v1.2.3 + libmatroska v1.3.0
creation_time : 2012-01-24T19:11:56.000000Z
Duration: 01:55:24.42, start: 0.000000, bitrate: 14887 kb/s
Stream #0:0(jpn): Video: h264 (High 10), yuv420p10le(progressive), 1772x952 [SAR 1:1 DAR 443:238], 23.98 fps, 23.98 tbr, 1k tbn (default)
Stream #0:1(jpn): Audio: flac, 48000 Hz, 5.1(side), s32 (24 bit) (default)
Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:3(eng): Subtitle: ass (ssa) (default)
Stream #0:4: Attachment: otf
Metadata:
filename : ITCFranklinGothicStd-Med.otf
mimetype : application/vnd.ms-opentype
[vist#0:0/h264 @ 000001ecf396d880] [dec:h264 @ 000001ecf396ca40] Using auto hwaccel type dxva2 with new default device.
Result of \\.\pipe\ffmpegvideo_99_1725479519601: true
[fc#0 @ 000001ecf38afe40] Cannot find a matching stream for unlabeled input pad pad:default
Error binding filtergraph inputs/outputs: Invalid argument
EOF
Someone on Github has a similar problem although that is related to an incorrect conf, but these show up in their logs too so I'll link this to it.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.