Code Monkey home page Code Monkey logo

Comments (3)

andyvha avatar andyvha commented on May 26, 2024

Hi Taner,

I run file jar in Windows and run sh file in linux docker box. I figure out how your script got issue. The generated script has End of Line characters include CR and LF.

So I use notepad++ to replace CR LF with LF
fix-issue-Screenshot 2021-06-30 11 40 54

After that I can run the script.
replaced-LF-Screenshot 2021-06-30 11 46 29

And sometimes I see script including null\ffmpeg or null\ffprobe
null-Screenshot 2021-06-30 12 11 37

Would you please have a minor update for your program. Thanks.

from ffmpeg-video-slideshow-scripts.

tanersener avatar tanersener commented on May 26, 2024

Hi, thanks for reporting this. I see two issues in your posts.

The first one is about line separator characters. As far as I understand, you have that issue because you are generating the script on Windows but running it on Linux. What happens internally is: application sees that you're running the jar on Windows and generates the script using the line separator characters of it, which are \r\n. And when you run the script on Linux, bash complains because Linux expects to see only \n (\n is the line separator character used by Unix/Linux). I'm not sure how I can prevent this. Application doesn't know where you plan to run the script.

The second issue is about ffmpeg path used in the scripts. Preferences of VSSG allows you to configure where ffmpeg is. By default ffmpeg is used from the system path. VSSG generate the scripts by using ffmpeg only. If you choose to use ffmpeg from another directory you need to select that directory. In that case, scripts will use <directory name>/ffmpeg in the scripts to run ffmpeg. I think, in your case that directory is empty. I assume you wanted to use ffmpeg from another directory but didn't specify it. I can put a warning in the app but it won't solve the problem. It is a configuration error.

from ffmpeg-video-slideshow-scripts.

andyvha avatar andyvha commented on May 26, 2024

Thanks for quick response.

from ffmpeg-video-slideshow-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.