Questions tagged [nreco]

NReco is a collection of reusable components for .NET platform (.NET Framework and .NET Core)

NReco website

143 questions
-1
votes
1 answer

Creating a thumbnail from MP4 video crashes on shared hosting but working fine locally

i am working on a web page to upload MP4 video and getting a thumbnail from the video i am using NReco FFMpeg Converter to achieve this . it is working fine locally but upload it on a shared hosting it crashes at ffMpeg.GetVideoThumbnail …
Mariam Nagy
  • 75
  • 2
  • 11
-1
votes
1 answer

Regex in filepath

can u help me with regex in FFMpegConverter? I have a bitmaps a saving them like it: foreach (Bitmap printscreen in printscreeny) { printscreen.Save(Path.GetTempPath() + guid +"_"+ i); i++; } then I want to convert them by NReco…
-1
votes
2 answers

C# documentation about how to add an event handler

I am coding a video converter using NRECO and ffmpeg everything works but when it comes at to get the Progress time i've tried pgbConversion.Value = FFMpegConverter.ConvertProgress(); but it is impossible so i got ! ** **ConvertProgress is an…
franznkemaka
  • 153
  • 1
  • 1
  • 9
-1
votes
1 answer

NReco.PdfGenerator Incorrect pdf generation

I have a page in html which looks : Next I'm using NReco.PdfGenerator library to generate html->pdf The result of the above page: My html code:
piotrB
  • 145
  • 1
  • 1
  • 11
-1
votes
2 answers

C# Change ActionResult to IHttpActionResult using POST method

I have a code here which actually converts HTML to PDF and sends it to an email but it is in ActionResult: public ActionResult Index() { ViewBag.Title = "Home Page"; var coverHtml = RenderRazorViewToString("~/Views/Home/Test.cshtml",…
-1
votes
1 answer

NReco PdfGenerator disable selection

I want to disable selection, just like an image, even if contain text. I know PDF contain layers, but i dont find where to remove the text layer. Thanks. var htmlToPdf = new NReco.PdfGenerator.HtmlToPdfConverter(); htmlToPdf.Size =…
Fraga
  • 1,361
  • 2
  • 15
  • 47
-2
votes
1 answer

Nreco.pdfgenerator throws Wkhtmltopdfexception with exit code 255

The above mentioned exception is thrown. for particular sample html while for other records it works fine. Html has link for css which if removed exception is not thrown. But css is required.So need other solution. Also : I checked for dependencies…
shubhamb
  • 1
  • 2
-2
votes
1 answer

NReco video to sequence of bitmaps

How can I convert video to a sequence of bitmaps? I need every frame one by one and process them in memory (no disc output). I chose NReco.VideoConverter but not sure which method can do this. I understand that FFMpegConverter.GetVideoThumbnail() is…
Christine
  • 25
  • 6
1 2 3
9
10