Hi cats,
please consider this source:
https://dl.dropboxusercontent.com/u/39871584/test.avi
I try to encode it to MP4 using ffmpeg:
but I see that out.mp4 don't playback fine in vlc, betweenn the graphic and video there is a kind of "jump" of the imageCode:ffmpeg.exe -y -i test.avi -c:v libx264 -profile:v high422 -level:v 4.1 -g 33 -bf 2 -b:v 7900k -an -aspect 16:9 out.mp4
https://dl.dropboxusercontent.com/u/39871584/out.mp4
How can I resolve? thanks![]()
+ Reply to Thread
Results 1 to 23 of 23
-
Last edited by marcorocchini; 28th Mar 2015 at 05:10.
-
Try set the framerate with -r 25 ?
Replace 25 with the actual framerate. -
https://dl.dropboxusercontent.com/u/39871584/out.mp4
this mp4 in my vlc playback wrong
the problem is present between the dissolve from graphic, and the video -
You need to encode TFF, not progressive . VLC playback yadif 2x or bob
Or bob deinterlace and make it 1080p50 -
You still don't understand the difference between interlaced and progressive video?
-
-
I have try
Code:ffmpeg.exe -y -i test.avi -c:v libx264 -profile:v high422 -level:v 4.1 -g 33 -bf 2 -vf yadif=1:0 -r 50 -b:v 7900k -an -aspect 16:9 out.mp4
-
I wonder if the ffmpeg docs are backward regarding the field order. In every other version of Yadif order=0 is BFF.
Last edited by jagabo; 28th Mar 2015 at 17:57.
-
I cannot resolve
I have try:
Code:ffmpeg.exe -y -i test.avS -c:v libx264 -profile:v high422 -level:v 4.1 -g 33 -bf 2 -b:v 7900k -an -aspect 16:9 out.mp4
LoadCPlugin("v:\automazioneclip\core\yadif.dll")
ffvideosource("v:\test.avi")
AssumeBFF()
Yadif(mode=1)
assumefps(50)
but this don't resolve the problem, in the output mp4 I cannot see the dissolve, is there a "jump" in replace of dissolve -
Your video is TFF. AssumeTFF() or Yadif(mode=1, order=1).
<edit>
I went back to post #11 and found that the yadif parameters were correct. Unlike every other version of Yadif order=0 is TFF in ffmpeg. The file it produced worked fine in several players I tried -- except VLC which jumps suddenly from the titles to somewhere in the middle of the clip. If I encode directly with the x264 cli encoder there are still some problems when the bitrate and complexity is too high. It looks to me like this is a problem with VLC.Last edited by jagabo; 29th Mar 2015 at 07:36.
-
ahn, thanks
only to do a proof I would try use
-b:v 7900k -minrate 7900k -maxrate 7900k -bufsize ?
How have to be calculate the bufsize considering a bitrate of 7900k? -
Code:
ffmpeg.exe -y -i audiosfilata.wav -i sfilata.avi -c:v libx264 -profile:v high422 -level:v 4.1 -g 33 -bf 2 -vf yadif,colormatrix=bt709:bt601 -b:v 8000k -minrate 8000k -maxrate 8000k -bufsize 8000k -c:a libmp3lame -b:a 320k -aspect 16:9 output8000.mp4
-
bufsize depends on your playback device's limitations. Why are you setting min, max, and average bitrates all the same? Are you aiming for constant bitrate encoding? That's the worst possible encoding method.
-
I know but I'm not able to calculate final size in VBR mode. However I have a uncompressed .avi file of 460 GB that have duration of 1hour and 15 minutes, HD 1920x1080 25fps 4:2:2. I would like encode it into mp4 so that it fit
- in a 4,7GB dvd
- in a 9Gb dvd
For example, to create a MP4 of 4.37Gb how I have to set min max and average rate? thanks -
Same answer, use a bitrate calculator . Not necessarily one for DVD-video, but a generic one
eg this one is similar to the one in megui
https://www.videohelp.com/software/Bitrate-calculator
If it's not intended for a device (it probably isn't if you're using 4:2:2) , you usually don't want to set min/max or buffer or VBV settings. The more restrictions, the lower the potential quality
The only important one is average bitrate, because that is what is used in the equation
Filesize = average bitrate * running time -
It's simple algebra:
running time = 1 hour 15 minutes = 4500 seconds
file size = 4.7 GB = 4,700,000,000 bytes = 37,600,000,000 bits
Code:bitrate = file size / running time:
Subtracting a few percent for the container overhead leaves about 8200 kbits/sec. Subtract 384 kbps for audio (typical for 5.1 AC3) leaves you with about 7800 kbps for the video.
Similar Threads
-
My bd mkv remux don't play smooth in vlc.
By botdvd in forum Video ConversionReplies: 1Last Post: 22nd May 2013, 02:04 -
loop mp4 or avi locally so will play on mp4 player - ?
By marinebc11 in forum Video ConversionReplies: 3Last Post: 3rd Oct 2010, 20:24 -
Playing smooth streaming fragmented mp4 without trex box
By adammw in forum Software PlayingReplies: 0Last Post: 29th Jul 2010, 02:01 -
Help! How Do I Make A Choppy / Jerky Video Play Smooth?
By Aaron1927 in forum EditingReplies: 3Last Post: 25th Jul 2010, 18:26 -
DVD to MP4 conversion playback not quite smooth.
By scottb721 in forum Video ConversionReplies: 1Last Post: 21st Jun 2010, 09:45