VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Hi, I have a video website and users are uploading their videos.
    I'm using ffmpeg to convert these videos. Even they upload avi or wmv files I'm converting to mp4.
    And here is convertion code that I'm using.
    Code:
    ffmpeg -i input -c:v libx264 -crf 18 -preset fast -c:a aac -strict experimental -b:a 192k -ac 2 -movflags faststart output.mp4
    My problem is about seeking video and I'm using JWPlayer Pro (paid) version. When you wanna jump another minute video starts again on chrome. On Firefox it's just continue. But IE works fine.
    I was talking with JWPlayer support but they are just saying video encoding has a problem. But I tried other programs like handbrake, super etc. again some videos are ok but some still has same problem.

    So what is the best way to convert videos to mp4?
    Here is the website that you can check.
    http://tv.cozumpark.com/video/784/Exchange-Online-ve-Kullanici-Mailbox-ozellikleri
    Quote Quote  
  2. Member
    Join Date
    Jul 2014
    Location
    Denmark
    Search Comp PM
    It could be related to bad PTS (time stamps), it could be related to fastseek flags or it could be a flaw in the player. You could try to experiment with fflags and/or setpts/asetpts filter (se ffmpeg docs)..

    Code:
    ffmpeg -i input -c:v libx264 -crf 18 -preset fast -c:a aac -strict experimental -b:a 192k -ac 2 -movflags faststart -fflags "+genpts-fastseek" output.mp4
    https://www.ffmpeg.org/ffmpeg-filters.html#setpts_002c-asetpts
    I'm the developer behind FFQueue. My posts might reflect this! ;-)
    Quote Quote  
  3. Hi, thanks for reply. I just tried that code you gave but still same. I have no idea why it's doing this problem.
    Quote Quote  
  4. Member
    Join Date
    Jul 2014
    Location
    Denmark
    Search Comp PM
    It might be an issue with using constant quality (variable bit rate) for streaming. Try to remove the "-crf XX" switch and replace it with "-b:v 3000k" to see if that is the culprit.
    I'm the developer behind FFQueue. My posts might reflect this! ;-)
    Quote Quote  
  5. Hi, thanks again, but still same.
    I think it is about the server. Because I just created web application for testing the video and uploaded to different server. I also used same converted video and it's working fine. Maybe I should reinstall that server.
    Quote Quote  



Similar Threads

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