Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Hardware & Software > Software players

Thread Tools Search this Thread Display Modes
Old 28th September 2019, 20:17   #1  |  Link
Registered User
Join Date: Sep 2019
Posts: 4
ffmpeg takes too long to start reencoding

Hello. I am trying to reencode a certain video file while also splitting it in two, cutting off the first one hour and fourty minutes. Here is the command I use:

ffmpeg -y -i input.mp4 -vf scale=720:-2 -c:v mpeg4 -vtag xvid -b:v 969k -ss 1:40:00 -t 800000 -pass 1 -an -f avi /dev/null && ffmpeg -i input.mp4 -c:a libmp3lame -b:a 48k -ac 1 -vf scale=720:-2 -c:v mpeg4 -vtag xvid -b:v 969k -ss 1:40:00 -t 80000 -pass 2 /media/C10B-34F3/output.avi
however ffmpeg is stuck on this in the last half hour or so:

Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=0.0 size= 6kB time=00:00:00.00 bitrate=N/A speed= 0x
So my questions are:

1) It will ever be stuck there or at some moment it will start to reencode for real ?
2) If 1) is true, is there anything I can do to speed-up the process?

Thanks for the help.
kromak is offline   Reply With Quote
Old 5th October 2019, 22:14   #2  |  Link
Registered User
Join Date: Dec 2002
Posts: 5,570
Try to put the -ss before the -i parameter to enable input seeking. If seeking is what takes long then that should speed things up.

sneaker_ger is offline   Reply With Quote

ffmpeg, split mp4

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 23:42.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.