Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#627 Mux Error Due To Eastern European Letters in Video Filename

pending
nobody
None
5
2012-01-09
2011-05-12
Jak Frost
No

When the input file includes Eastern European (Polish) letters in the file name the mux job will fail with error since the video stream file will have empty boxes instead of those characters (e.g. Ą ą Ć ć Ę ę ł Ł Ń ń ó Ś ś Ź ź Ż ż) in the file name. (Polish Alphabet: http://en.wikipedia.org/wiki/Polish_alphabet )

The Windows XP system is running with the Serbian (Latinic) code page selected in the Control Panel, Regional, Advanced settings as the default code page. The Microsoft Windows XP Serbian Language Pack (freely downloadable from Microsoft) was applied to the current system to turn all prompts into Serbian language.

It appears that the output in the Log tab in MeGUI also shows the empty boxes instead of the letters. It appears that in MeGUI the .AVS input script line FFVideoSource() is the one that shows the problem first with the missing character.

--[NoImage] FFVideoSource("C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Za�oga.mp4").AssumeFPS(25,1)

However, when then actual .AVS file is opened in Notepad the characters show up correctly and the file is in ANSI format.

global MeGUI_darx = 15
global MeGUI_dary = 11
LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Załoga.mp4").AssumeFPS(25,1)
#deinterlace
#crop
#resize
#denoise

[Information] Log for job44 (video, Czterej Pancerni i Pies - 01 - Załoga.mp4.avs -> )
-[Information] [12.5.2011 5:20:29] Started handling job
-[Information] [12.5.2011 5:20:29] Preprocessing
--[Information] Bitrate calculation for video
---[Information] [12.5.2011 5:20:30] Desired size after subtracting audio: 155156 KBs
---[Information] [12.5.2011 5:20:30] Calculated desired bitrate: 392 kbit/s
-[Information] [12.5.2011 5:20:30] Avisynth input script
--[NoImage] LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll")
--[NoImage] FFVideoSource("C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Za�oga.mp4").AssumeFPS(25,1)
-[Information] [12.5.2011 5:20:30] Job commandline: "C:\Program Files\MeGUI\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Załoga.mp4.avs" -pass1 "C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Załoga.stats" -bitrate 392 -kboost 100 -chigh 30 -clow 15 -turbo -max_key_interval 250 -nopacked -lumimasking -imin 1 -pmin 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -par 1 -threads 1
-[Information] [12.5.2011 5:20:30] Encoding started
-[Information] [12.5.2011 5:30:38] Standard output stream
-[Information] [12.5.2011 5:30:38] Standard error stream
-[Information] [12.5.2011 5:30:38] Postprocessing
--[Information] Deleting intermediate files
-[Information] [12.5.2011 5:30:38] Job completed

[Information] Log for job45 (video, Czterej Pancerni i Pies - 01 - Załoga.mp4.avs -> Czterej Pancerni i Pies - 01 - Załoga.avi)
-[Information] [12.5.2011 5:30:39] Started handling job
-[Information] [12.5.2011 5:30:39] Preprocessing
-[Information] [12.5.2011 5:30:39] Avisynth input script
--[NoImage] global MeGUI_darx = 15
--[NoImage] global MeGUI_dary = 11
--[NoImage] LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll")
--[NoImage] FFVideoSource("C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Za?oga.mp4").AssumeFPS(25,1)
--[NoImage] #deinterlace
--[NoImage] #crop
--[NoImage] #resize
--[NoImage] #denoise
-[Information] [12.5.2011 5:30:39] Job commandline: "C:\Program Files\MeGUI\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Załoga.mp4.avs" -pass2 "C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Załoga.stats" -bitrate 392 -kboost 100 -chigh 30 -clow 15 -turbo -max_key_interval 250 -nopacked -lumimasking -imin 1 -pmin 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -par 1 -threads 1 -avi "C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Załoga.avi"
-[Information] [12.5.2011 5:30:39] Encoding started
-[Information] [12.5.2011 5:45:28] Standard output stream
--[NoImage] xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
--[NoImage] Tot: enctime(ms) =880291.00, length(bytes) = 158079309
--[NoImage] Avg: enctime(ms) = 10.88, fps = 91.93, length(bytes) = 1953
--[NoImage] I frames: 578 frames, size = 17922/ 10359334, quants = 2 / 2.31 / 3
--[NoImage] P frames: 29513 frames, size = 3259/ 96202123, quants = 2 / 4.82 / 8
--[NoImage] B frames: 50819 frames, size = 1013/ 51517724, quants = 3 / 7.06 / 12
--[NoImage] N frames: 16 frames, size = 8/ 128
-[Information] [12.5.2011 5:45:28] Standard error stream
--[NoImage] Trying to retrieve width and height from input header
--[NoImage] xvid [info]: Avisynth detected
--[NoImage] xvid [info]: Input colorspace is YV12
--[NoImage] xvid [info]: Input is 480 x 352, 25.000fps (25/1), starting from frame 0
--[NoImage] xvid [info]: Number of frames to encode: 80926, Bitrate = 392kbps
--[NoImage] xvid [info]: xvidcore build version: xvid-1.2.2
--[NoImage] xvid [info]: Bitstream version: 1.2.2
--[NoImage] xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 3DNOW 3DNOWEXT TSC
--[NoImage] xvid [info]: Detected cpus = 2, threads requested = 1, threads in use = 1
-[Information] [12.5.2011 5:45:28] Postprocessing
--[Information] Deleting intermediate files
---[Information] [12.5.2011 5:45:28] Successfully deleted C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Załoga.stats
-[Information] [12.5.2011 5:45:28] Job completed

[Error] Log for job46 (mux, Czterej Pancerni i Pies - 01 - Załoga.avi -> Czterej Pancerni i Pies - 01 - Załoga_0.avi)
-[Information] [12.5.2011 5:45:29] Started handling job
-[Information] [12.5.2011 5:45:29] Preprocessing
-[Information] [12.5.2011 5:45:29] mux script
--[NoImage] CLEAR
--[NoImage] LOAD C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Załoga.mp4_track_1__audio.mp3
--[NoImage] SET OUTPUT OPTIONS
--[NoImage] LOAD C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Załoga.avi
--[NoImage] SELECT FILE 2
--[NoImage] ADD VIDEOSOURCE
--[NoImage] DESELECT FILE 2
--[NoImage] SET OUTPUT OPTIONS
--[NoImage] SET OPTION NUMBERING ON
--[NoImage] SET OPTION MAXFILESIZE ON
--[NoImage] SET OPTION MAXFILESIZE 2000
--[NoImage] SET INPUT OPTIONS
--[NoImage] SET OPTION MP3 VERIFY CBR ALWAYS
--[NoImage] SET OPTION MP3 VERIFY RESDLG OFF
--[NoImage] SET OPTION AVI FIXDX50 1
--[NoImage] SET OPTION CHAPTERS IMPORT 1
--[NoImage] SET OUTPUT OPTIONS
--[NoImage] SET OPTION ALL SUBTITLES 1
--[NoImage] SET OPTION ALL AUDIO 1
--[NoImage] SET OPTION CLOSEAPP 1
--[NoImage] SET OPTION DONEDLG 0
--[NoImage] SET OPTION OVERWRITEDLG 0
--[NoImage] SET OPTION PRELOAD 200
--[NoImage] SET OPTION OPENDML 0
--[NoImage] SET OPTION RECLISTS 0
--[NoImage] SET OPTION AVI ADDJUNKBEFOREHEADERS 0
--[NoImage] SET OPTION AUDIO INTERLEAVE 4 FR
--[NoImage] START C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Załoga_0.avi
-[Error] [12.5.2011 5:45:29] Error starting job
--[Error] [12.5.2011 5:45:29] Exception message: Calling setup of processor failed with error 'Required file 'C:\Documents and Settings\User\My Documents\My Videos\Czterej Pancerni i Pies\Czterej Pancerni i Pies - 01 - Załoga.avi' is missing.'
--[Error] [12.5.2011 5:45:29] Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
--[Error] [12.5.2011 5:45:29] Inner exception: null

Discussion

  • Jak Frost
    Jak Frost
    2011-05-12

    logfile-11-05-12_05-00-11.zip

     
  • Jak Frost
    Jak Frost
    2011-05-12

    Almost forgot to mention this. The .AVI filename produced has the blank box character, and when I rename the file and replace those characters with the proper letters in the file name and re-run the errored out jobs the mux and clean-up complete successfully. So I have a work-around but not a fix.

     
  • Zathor
    Zathor
    2012-01-09

    Thanks for the report. Sadly there is not much I can do. Several of the tools and also AviSynth have problems with Unicode or does not work at all when an Unicode string is used. Therefore I suggest to use ASCII letters.

     
  • Zathor
    Zathor
    2012-01-09

    • status: open --> pending