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!
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!