#287: unicode under windows
--------------------------+-----------------------------
Reporter: setosha | Owner: michael
Type: enhancement | Status: new
Priority: normal | Component: FFmpeg
Version: unspecified | Keywords: unicode windows
Blocked By: | Blocking:
Reproduced: 0 | Analyzed: 0
--------------------------+-----------------------------
It will be nice to make unicode wrapper for main() under win32.
somthing like this
{{{
int wmain(int argc, wchar_t* argv[])
{
char** cargs = new char*[argc];
for(int i=0; i<argc; ++i)
{
int len = WideCharToMultiByte(CP_UTF8, 0, argv[i], -1, NULL, -1,
NULL, NULL);
if(len < 0)
len = 0;
cargs[i] = new char[len+1];
len = WideCharToMultiByte(CP_UTF8, 0, argv[i], -1, cargs[i], len,
NULL, NULL);
cargs[i][len] = 0;
}
int ret = ffmpeg_main(argc, cargs); // rename your main
for(int i=0; i<argc; ++i)
delete[] cargs[i];
delete[] cargs;
return ret;
}
}}}
ffmpeg -metadata treats input char strings as utf8 strings, but under
windows it's not true. They comes to main() as local single char encoding.
Determinate local encoding in tagger not always right. Because some
symbols may not covered by local encoding
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/287>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
#901: add a duration parameter to the blackframe filter
-------------------------------------+-------------------------------------
Reporter: dericed | Type:
Status: new | enhancement
Component: avfilter | Priority: wish
Keywords: blackframe | Version: git-
Blocking: | master
Analyzed by developer: 0 | Blocked By:
| Reproduced by developer: 0
-------------------------------------+-------------------------------------
I really like the features available in the new silencedetect filter and
would like to see similar functions for video in the blackframe filter.
The blackframe and the silencedetect appear to have comparable objectives
but their support for parameters differ. I'd like to see a duration
parameter (similar to silentdetect's duration parameter) added to the
blackframe filter to help identify durations of black in addition to
frames of black.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/901>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
#1030: Doesn't build with -Werror=format-security
------------------------------------+---------------------------------
Reporter: marillat | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: 0.10 | Keywords:
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
------------------------------------+---------------------------------
Hi,
Debian use hardening compile-time options
[http://wiki.debian.org/Hardening]
ffmpeg fail to build with "-Werror=format-security"
{{{
libavcodec/srtdec.c: In function ‘srt_to_ass’:
libavcodec/srtdec.c:113:61: error: format not a string literal and no
format arguments [-Werror=format-security]
libavcodec/srtdec.c:113:61: error: format not a string literal and no
format arguments [-Werror=format-security]
libavcodec/srtdec.c:149:53: error: format not a string literal and no
format arguments [-Werror=format-security]
libavcodec/srtdec.c:149:53: error: format not a string literal and no
format arguments [-Werror=format-security]
}}}
Patch from [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658929#15]
fix this bug.
Christian
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1030>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker