[Solved]ffmpeg64.exe has a return code of 1!
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]ffmpeg64.exe has a return code of 1!
Hi, on win8/64b i get error 'ffmpeg64.exe has a return code of 1!' when i play mp4 file on device.
I tested parameters of ffmpeg and i found that this error causes parametr -filter_complex. With this parametr command line returns 'Error configuring filters.'
Can you help me resolve this. thx.
Sat.
I tested parameters of ffmpeg and i found that this error causes parametr -filter_complex. With this parametr command line returns 'Error configuring filters.'
Can you help me resolve this. thx.
Sat.
Last edited by satvcd on Sun Apr 26, 2015 9:49 pm, edited 1 time in total.
[Solved] Re: ffmpeg64.exe has a return code of 1!
Hi, i found solution.
Problem is not in parametr -filter_complex, but in subtitle file. I must save it in UTF8 format.
Sat
Problem is not in parametr -filter_complex, but in subtitle file. I must save it in UTF8 format.
Sat
Re: [Solved]ffmpeg64.exe has a return code of 1!
Please post an example of not working command line when subs are not UTF8.
This should be fixed in UMS directly if non-UTF files can lead to not working file.
Thx
This should be fixed in UMS directly if non-UTF files can lead to not working file.
Thx
Re: [Solved]ffmpeg64.exe has a return code of 1!
Hi, I tested with this command line:
"c:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe" -i D:\Films\film.avi -filter_complex subtitles=D\\:/Films/film.srt:624x352 -bufsize 10000000 -maxrate 9000000 -crf 19 -ab 448k -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -async 1 -fflags +genpts -c:a libmp3lame -ac 2 -b:v 35000k -bufsize 35000k d:\films\film_out.avi
Original command line:
Starting C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe -y -loglevel fatal -i D:\Films\film.avi -filter_complex subtitles=D\\:/Films/film.srt:624x352 -bufsize 10000000 -maxrate 9000000 -crf 19 -ab 448k -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -async 1 -fflags +genpts -c:a libmp3lame -ac 2 -b:v 35000k -bufsize 35000k -f matroska \\.\pipe\ffmpegvideo_6284_1430040252644
film.srt was in Win1250 code page.
"c:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe" -i D:\Films\film.avi -filter_complex subtitles=D\\:/Films/film.srt:624x352 -bufsize 10000000 -maxrate 9000000 -crf 19 -ab 448k -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -async 1 -fflags +genpts -c:a libmp3lame -ac 2 -b:v 35000k -bufsize 35000k d:\films\film_out.avi
Original command line:
Starting C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe -y -loglevel fatal -i D:\Films\film.avi -filter_complex subtitles=D\\:/Films/film.srt:624x352 -bufsize 10000000 -maxrate 9000000 -crf 19 -ab 448k -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -async 1 -fflags +genpts -c:a libmp3lame -ac 2 -b:v 35000k -bufsize 35000k -f matroska \\.\pipe\ffmpegvideo_6284_1430040252644
film.srt was in Win1250 code page.
Re: [Solved]ffmpeg64.exe has a return code of 1!
Your testing command line for subs in Win1250 code page should be:
"c:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe" -i D:\Films\film.avi -filter_complex subtitles=D\\:/Films/film.srt:624x352:WINDOWS-1250 -bufsize 10000000 -maxrate 9000000 -crf 19 -ab 448k -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -async 1 -fflags +genpts -c:a libmp3lame -ac 2 -b:v 35000k -bufsize 35000k d:\films\film_out.avi
Please check the UMS log how your subs code page are recognized. Unfortunately the automatic recognition is not 100% guaranteed. If you have all your subs in the code page WINDOWS-1250 you can set that in the GUI at the subtitles setting page.
"c:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe" -i D:\Films\film.avi -filter_complex subtitles=D\\:/Films/film.srt:624x352:WINDOWS-1250 -bufsize 10000000 -maxrate 9000000 -crf 19 -ab 448k -c:v libx264 -preset superfast -level 31 -pix_fmt yuv420p -async 1 -fflags +genpts -c:a libmp3lame -ac 2 -b:v 35000k -bufsize 35000k d:\films\film_out.avi
Please check the UMS log how your subs code page are recognized. Unfortunately the automatic recognition is not 100% guaranteed. If you have all your subs in the code page WINDOWS-1250 you can set that in the GUI at the subtitles setting page.
Re: [Solved]ffmpeg64.exe has a return code of 1!
Yeah, maybe default settings introduces this problem. By default the non-Unicode settings is empty so maybe setting it to CP1250 should fix it?
I must test it on my side as I always set this settings to CP1250 after UMS reinstall
I must test it on my side as I always set this settings to CP1250 after UMS reinstall
