Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chinese random code error #10

Open
3400442579 opened this issue Nov 12, 2020 · 0 comments
Open

Chinese random code error #10

3400442579 opened this issue Nov 12, 2020 · 0 comments

Comments

@3400442579
Copy link

var saveThumbnailTask = new MediaToolkit.Tasks.FfTaskGetThumbnail(@“C:\Users\jxw\Desktop\新建 文件夹\SampleVideo_1280x720_1mb.mp4”, new MediaToolkit.Tasks.GetThumbnailOptions
{
FrameSize = new MediaToolkit.Tasks.FrameSize(80, 80),
OutputFormat = idata.BgImg ,
PixelFormat = "png",
SeekSpan = TimeSpan.FromSeconds(1)
});
try
{
await imts.ExecuteAsync(saveThumbnailTask);
}
catch(Exception e) {

                        }

{"Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\jxw\Desktop\鏂板缓 鏂囦欢澶筡SampleVideo_1280x720_1mb.mp4':\r\n Metadata:\r\n major_brand : isom\r\n minor_version : 512\r\n compatible_brands: isomiso2avc1mp41\r\n creation_time : 1970-01-01T00:00:00.000000Z\r\n encoder : Lavf53.24.2\r\n Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s\r\n Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n Metadata:\r\n creation_time : 1970-01-01T00:00:00.000000Z\r\n handler_name : VideoHandler\r\n Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)\r\n Metadata:\r\n creation_time : 1970-01-01T00:00:00.000000Z\r\n handler_name : SoundHandler\r\n[NULL @ 04620080] Requested output format 'E:\lq\watermark\RemoveWatermark\bin\x86\Debug\net462\temp\b66a3ac62d7c49cf822ac27c5387d41a\shot.png' is not a suitable output format\r\npipe:: Invalid argument\r\n"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant