VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 3 of 3
  1. Hello,

    I have problem with ffmpeg encoding In Ubuntu
    I need to convert mkv file to mp4 but problems are :

    1. Output video file have bad sound and video quality
    2. Video file can’t forward or backward (it’s starts every time from the beginning)
    3. Sometimes output file is bigger from input file

    I will use the output file for online stream (web browser playing)

    My config now is :

    find . -type f -name "*.mkv" -exec ffmpeg -y -i {} -c:v libx264 -preset ultrafast -crf 24 -pix_fmt yuv420p -c:a aac -movflags +faststart {}.mp4

    So, I have tried handbrake and with it, everything is working perfectly, but on ffmpeg I have problems.
    Unfortunately I can’t use handbrake because I want to automate the process with cronjob.

    Thanks for help in advance!
    Quote Quote  
  2. You can try to remux only with a commandline like this:
    Ffmpeg -i your.mkv -map 0 -c copy output.mp4
    PS
    In your command you forgot to specify the audio bitrate.
    Add: - b 128k
    Last edited by ProWo; 14th Jun 2023 at 06:59.
    Quote Quote  
  3. Originally Posted by ProWo View Post
    You can try to remux only with a commandline like this:
    Ffmpeg -i your.mkv -map 0 -c copy output.mp4
    PS
    In your command you forgot to specify the audio bitrate.
    Add: - b 128k
    I added the audio bitrate, thank you.

    Problem with seeking is actual.
    On some videos I have option to seek but on others - are can’t seeking.
    After reading I found that maybe the problem is from keyframe (rescue points) and maybe in my videos are missing.
    I’m not sure, but it’s playing each time from the beginning when try to seek forward or backward.

    Please, help me to resolve this problem.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!