Open korumera opened 4 years ago
Update; I've added/changed
-map VIDEOSTREAM? -map AUDIOSTREAM?
That worked, it crashes on an avi file (pseudotv.exe crashes) but an mp4 worked fine. It works most of the them, this issue can be closed. The 'fix' is perhaps handy for someone that runs in to the same problem.
Might be better if those lines are somehow removed when doing direct streams. Or better, only added when doing transcoding.
Trying to play something on the new test build, and getting the following error:
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 141 kb/s [avi @ 0000012c581fb800] Invalid stream specifier: VIDEOSTREAM. Last message repeated 3 times Stream map 'VIDEOSTREAM' matches no streams. To ignore this, add a trailing '?' to the map. FFMPEG ERROR { code: 1, cmd: 'C:\Users\xxxxx\Desktop\ffmpeg-4.2.2-win64-static\bin\ffmpeg.exe -threads 4 -ss 5153.725 -t 460.152 -re -i https://192.168.1.xx:32400/library/parts/33253/1534357170/file.mp4?X-Plex-Token=TOKEN -map VIDEOSTREAM -map 0:1 -c:v copy -c:a copy -metadata service_provider="PseudoTV" -metadata service_name="The Action Movie Channel" -f mpegts -output_ts_offset 0 -muxdelay 0 -muxpreload 0 pipe:1' }
I've removed some stuff, but the error should be clear. It's on Audio and Video direct stream.