Happy2Play 8242 Posted October 15, 2019 Share Posted October 15, 2019 (edited) It didn't seem to work quite well... But you have to edit the command as mentioned above. Either "cd" to the system folder or add quotes around the ffmpeg path do to the break in "Emby Server". "C:\Users\DrEngelsk\Desktop\Emby Server\system\ffmpeg.exe" -f matroska -i file:"F:\Udenlandske Film\Deadpool.1080p-Danishbits.mkv" -map 0:0 -map 0:1 -c:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -copyts -filter_complex "[0:0]scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2,subtitles='F\:/Udenlandske Film/Deadpool.1080p-Danishbits.mkv:si=0':force_style='FontName=Droid Sans Fallback':fontsdir='C\:/Users/DrEngelsk/Desktop/Emby Server/programdata/fonts'" -avoid_negative_ts disabled -start_at_zero -pix_fmt yuv420p -maxrate 10076743 -bufsize 20153486 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 20 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 1 -codec:a:0 ac3 -metadata:s:a:0 language=eng -disposition:a:0 default -ac:a:0 6 -ab:a:0 384000 -ar:a:0 48000 -y "C:\Users\DrEngelsk\Desktop\Emby Server\programdata\transcoding-temp\a8d7351d29092d62830538ad08e5b5e5.mkv" Edited October 15, 2019 by Happy2Play Link to comment Share on other sites More sharing options...
softworkz 3326 Posted October 15, 2019 Share Posted October 15, 2019 It didn't seem to work quite well... I apologize. Here's the precise steps you need to perform: STEP 1 cd "C:\Users\DrEngelsk\Desktop\Emby Server\system" STEP 2 ffmpeg.exe -f matroska -i file:"F:\Udenlandske Film\Deadpool.1080p-Danishbits.mkv" -map 0:0 -map 0:1 -c:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -copyts -filter_complex "[0:0]scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2,subtitles='F\:/Udenlandske Film/Deadpool.1080p-Danishbits.mkv:si=0':force_style='FontName=Droid Sans Fallback':fontsdir='C\:/Users/DrEngelsk/Desktop/Emby Server/programdata/fonts'" -avoid_negative_ts disabled -start_at_zero -pix_fmt yuv420p -maxrate 10076743 -bufsize 20153486 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 20 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 1 -codec:a:0 ac3 -metadata:s:a:0 language=eng -disposition:a:0 default -ac:a:0 6 -ab:a:0 384000 -ar:a:0 48000 -y "C:\Users\DrEngelsk\Desktop\Emby Server\programdata\transcoding-temp\a8d7351d29092d62830538ad08e5b5e5.mkv" STEP 3 ffmpeg.exe -f matroska -i file:"F:\Udenlandske Film\Deadpool.1080p-Danishbits.mkv" -map 0:0 -map 0:1 -c:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -copyts -filter_complex "[0:0]scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2,subtitles='F\:/Udenlandske Film/Deadpool.1080p-Danishbits.mkv':si=0:force_style='FontName=Droid Sans Fallback':fontsdir='C\:/Users/DrEngelsk/Desktop/Emby Server/programdata/fonts'" -avoid_negative_ts disabled -start_at_zero -pix_fmt yuv420p -maxrate 10076743 -bufsize 20153486 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 20 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 1 -codec:a:0 ac3 -metadata:s:a:0 language=eng -disposition:a:0 default -ac:a:0 6 -ab:a:0 384000 -ar:a:0 48000 -y "C:\Users\DrEngelsk\Desktop\Emby Server\programdata\transcoding-temp\a8d7351d29092d62830538ad08e5b5e5.mkv" Link to comment Share on other sites More sharing options...
drengelsk 0 Posted October 17, 2019 Author Share Posted October 17, 2019 Okay, so I wrote the commands in CMD on the server, and it started encoding or something like that? It took 2 hours, and there hasn't been any difference. I still have the same problem, what should I do next? Link to comment Share on other sites More sharing options...
softworkz 3326 Posted October 17, 2019 Share Posted October 17, 2019 I only wanted you to tell us whether you get an error in one or both cases or whether it would fail in both cases or whether it will start encoding in both cases. No need to let it run. You can stop it with CTRL-C. Link to comment Share on other sites More sharing options...
softworkz 3326 Posted October 17, 2019 Share Posted October 17, 2019 Did it start transcoding with both command lines or only with the last one? Link to comment Share on other sites More sharing options...
drengelsk 0 Posted October 17, 2019 Author Share Posted October 17, 2019 It started when I entered the last command, I think... Link to comment Share on other sites More sharing options...
softworkz 3326 Posted October 17, 2019 Share Posted October 17, 2019 And you received an error with the previous one, right? Could you try again and post the output please? That would be the last thing to do... Link to comment Share on other sites More sharing options...
drengelsk 0 Posted October 17, 2019 Author Share Posted October 17, 2019 Both of the commands were working. The pictures are in order (see filename) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now