Log in

View Full Version : Jerky video with 2 blu-ray players


mr_lou
30th August 2015, 17:09
I'm experiencing that my blu-ray video created with tsMuxer gives a jerky picture on a very few players: A Cambridge azur 650BD and a Medion player.

20 other players that I have tested on plays my videos fine.
I'm not certain whether I'm doing something wrong, or whether these single two players just have a problem with burned discs.

They are videos recorded by cellphones and edited with Kdenlive.

Then I extract audio using
ffmpeg -i video.mp4 -acodec pcm_s24le audio.wav

Then I convert video using two terminals. In terminal one:
mplayer -vo yuv4mpeg:file=stream.y4m -nosound video.mp4
In terminal two:
x264 stream.y4m –crf 22 –preset slow –tune film –weightp 0 –nal-hrd vbr –vbv-maxrate 40000 –vbv-bufsize 30000 –aud –keyint 24 –bframes 3 –slices 4 –level 4.1 –b-pyramid strict -o blurayvideo.mp4

Now I have audio.wav and blurayvideo.mp4 ready for tsMuxer. I using the following meta file for tsMuxer:
MUXOPT --no-pcr-on-video-pid --blu-ray --vbr --mplsOffset=00000 --m2tsOffset=00000 --auto-chapters=5 --vbv-len=500
V_MPEG4/ISO/AVC, blurayvideo.mp4, fps=29.970, forceSEI, contSPS, track=1, lang=eng
A_LPCM, audio.wav, lang=dan

Generally I'm following this guide:
https://irishjesus.wordpress.com/2010/10/17/blu-ray-movie-authoring-in-linux/

When spotting the jerky picture with those two players, I looked at my above commands and noticed that I'm using -keyint 24 while fps is 29,970.
I thought maybe this is the cause?

I'm using 29,970 as fps because the videos are 30 fps, but I noticed there are a few players that don't like 30 fps videos, while all I've tested on seems to like 29,97 fps.
But I can't set keyint to 29,97 since is has to be an integer....

Can anyone spot anything I'm doing wrong here?

Thanks!

sneaker_ger
30th August 2015, 17:26
Stick exactly to everything explained here (read carefully):
http://forum.doom9.org/showthread.php?t=154533
http://www.x264bluray.com/ (see examples)

When spotting the jerky picture with those two players, I looked at my above commands and noticed that I'm using -keyint 24 while fps is 29,970.
I thought maybe this is the cause?
No.

mr_lou
30th August 2015, 19:06
Thanks a lot sneaker.

That was a lot more than I had hoped for (and A LOT faster too).

One slightly confusing thing though:
As far as I can see, the tables tell me that 1080p30fps is not possible. Closest alternative is 1080i29.97.
In other words, I can't have progressive 1080 at 29.97 fps?

But one of the links at the bottom points to a 1080p29.97 example, where some parameter called -fake-interlaced is used.
http://www.x264bluray.com/home/1080i-p

Is this really still somehow valid blu-ray standard?
Or should I go with the 1080i29.97 fps?

Thanks a lot for your time.

sneaker_ger
30th August 2015, 19:14
Try the one with --fake-interlaced, it is supposed to work. Use --fps 30000/1001 to make sure fps settings are absolutely correct (the examples don't have it).

mp3dom
4th September 2015, 01:11
In other words, I can't have progressive 1080 at 29.97 fps?

No, you can't.


But one of the links at the bottom points to a 1080p29.97 example, where some parameter called -fake-interlaced is used.
Is this really still somehow valid blu-ray standard?

Yes, basically you encode the file as progressive, but flag it as interlaced. Other encoders have similar approach (for example encode as interlaced PAFF where every picture is treated as progressive)