Non-English (Chinese) file and filepath names in FFmpeg Command Line

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Non-English (Chinese) file and filepath names in FFmpeg Command Line

Wayne
Any way to do this in C#?  I have resorted to temporarily renaming those
file names/filepaths to English and then renaming back to the original
language once rendering is completed.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Non-English (Chinese) file and filepath names in FFmpeg Command Line

Wayne
Bump.  Any way of using non-asci characters in FFmpeg command lines?

On 1/30/2019 10:05 PM, Wayne wrote:

> Any way to do this in C#?  I have resorted to temporarily renaming
> those file names/filepaths to English and then renaming back to the
> original language once rendering is completed.
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Non-English (Chinese) file and filepath names in FFmpeg Command Line

Carl Zwanzig
(please don't top-post)

On 2/22/2019 8:45 AM, Wayne wrote:
> Any way of using non-asci characters in FFmpeg command lines?

Do you mean using single-byte characters in the range 0x80-0xff or
multi-byte characters?

ffmpeg is written in 'c' and uses standard libc string routines (i.e.strcmp,
strlen), so all 8-bit characters should work. I wouldn't expect
multi-byte/wide characters to work, nor for ffmpeg to be easily changed to
do so unless libc automagically DoesThe-Right-Thing (and I don't think it will).

Safer to stick with 8-bit characters.

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Non-English (Chinese) file and filepath names in FFmpeg Command Line

Carl Eugen Hoyos-2
In reply to this post by Wayne
2019-01-31 7:05 GMT+01:00, Wayne <[hidden email]>:
> Any way to do this in C#?

If you are not interested in using ffmpeg (the command line
utility) this is the wrong mailing list:
http://ffmpeg.org/contact.html#MailingLists

>  I have resorted to temporarily renaming those file
> names/filepaths to English and then renaming back
> to the original language once rendering is completed.

On many operating systems, FFmpeg has no issues
with Chinese file names, this may be different on
Windows though...

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Non-English (Chinese) file and filepath names in FFmpeg Command Line

Кирилл Гаврилов
In reply to this post by Wayne
>
> On 1/30/2019 10:05 PM, Wayne wrote:
> > Any way to do this in C#?
>
On Windows, FFmpeg API expects file paths in UTF8 encoding, so that if you
are using FFmpeg as libraries, then you can try converting strings into
proper encoding.
When using ffmpeg.exe, encoding conversion should be done implicitly.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".