VideoHelp Forum




+ Reply to Thread
Results 1 to 17 of 17
  1. So I tried loading an .mkv onto a USB and playing it in my Blu-Ray player. However it said either unsupported or unknown video codec. I looked up my Blu-Ray players model (LG BP-175) and it said it would play .mkvs but anyway I decided to use ffmpeg to remux my mkvs to mp4s. I do this and I try playing it again on the Blu-Ray player. It gives me the same message. I am able to play other mp4s though, so I decide I need to actually transcode the file. That's what I did. I transcoded the mkv file to an mp4 and there we go, success! However, when I played it on my Blu-Ray player I was getting weird glitch frames for a few seconds on certain parts of the video. But when I play the file on my PC at the exact same timecodes I don't run into the issue.

    Does anyone know what might be causing this? I wanted to just remux the mkvs to mp4s so I could do it fast but since that doesn't work transcoding is my option. But that also sucks because of glitchy frames... that only appear when playing it on my Blu-Ray player. Any help would be appreciated.
    Quote Quote  
  2. Blu-ray players have limitations on the AVC settings. You have to stay within those limitations. Keep away from too many consecutive b-frames, too many reference frames, too high a bitrate, etc.
    Quote Quote  
  3. Originally Posted by jagabo View Post
    Blu-ray players have limitations on the AVC settings. You have to stay within those limitations. Keep away from too many consecutive b-frames, too many reference frames, too high a bitrate, etc.
    How would I do that in the context of an ffmpeg command? And how do I find out the limitations to know how far I can push it?
    Quote Quote  
  4. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    If you put a High@4.2 mkv file in a regular blu-ray/tv player and it will say the file is unknown or unplayable even if all the other specs are blu-ray compatible.
    I think,therefore i am a hamster.
    Quote Quote  
  5. Originally Posted by jagabo View Post
    Actually I think I figured something out that might be the issue. Maybe I'm still wrong but worth bringing up. I was looking through the links and looking at the max bitrate. Then I checked the bit rate of the .mp4 file and it's 1967kbps. That sounds like the problem right there. I just don't know why it wasn't showing it on my PC.
    Quote Quote  
  6. Originally Posted by johns0 View Post
    If you put a High@4.2 mkv file in a regular blu-ray/tv player and it will say the file is unknown or unplayable even if all the other specs are blu-ray compatible.
    Is there a quick way to make it playable on a Blu-Ray player?
    Quote Quote  
  7. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Dont think that's the issue with the file,bitrates of 2MB are very common which your file is close to,do a mediainfo text paste of the affected file here.To change the profile use clever FFmpeg GUI to do that.
    I think,therefore i am a hamster.
    Quote Quote  
  8. Originally Posted by johns0 View Post
    Dont think that's the issue with the file,bitrates of 2MB are very common which your file is close to,do a mediainfo text paste of the affected file here.To change the profile use clever FFmpeg GUI to do that.
    General
    Complete name : G:\Videos\file1.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom (isom/iso2/avc1/mp41)
    File size : 307 MiB
    Duration : 21 min 45 s
    Overall bit rate : 1 976 kb/s
    Writing application : Lavf59.25.100

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High 10@L4
    Format settings : CABAC / 4 Ref Frames
    Format settings, CABAC : Yes
    Format settings, Reference frames : 4 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 21 min 45 s
    Bit rate : 1 838 kb/s
    Width : 1 912 pixels
    Height : 1 072 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 25.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 10 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.036
    Stream size : 286 MiB (93%)
    Writing library : x264 core 164 r3095 baee400
    Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
    Codec configuration box : avcC

    Audio
    ID : 2
    Format : AAC LC
    Format/Info : Advanced Audio Codec Low Complexity
    Codec ID : mp4a-40-2
    Duration : 21 min 45 s
    Source duration : 21 min 45 s
    Bit rate mode : Constant
    Bit rate : 132 kb/s
    Channel(s) : 2 channels
    Channel layout : L R
    Sampling rate : 44.1 kHz
    Frame rate : 43.066 FPS (1024 SPF)
    Compression mode : Lossy
    Stream size : 20.2 MiB (7%)
    Source stream size : 20.2 MiB (7%)
    Language : English
    Default : Yes
    Alternate group : 1
    Quote Quote  
  9. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Your profile looks really wrong,it say high10@l4,should read high@L4.
    I think,therefore i am a hamster.
    Quote Quote  
  10. 10 bit AVC is not supported by the Blu-ray spec. And b-pyramid isn't fully supported either. Some sample x264 command lines for Blu-ray compliance:

    https://sites.google.com/site/x264bluray/home/1080i-p

    Note that authored Blu-ray discs require a full 1920x1080 frame but when playing mp4 files other sizes (like your 1912x1072) are usually supported. The same is true about many other settings. But staying close to the spec will increase you likelihood of successful playback.
    Quote Quote  
  11. Originally Posted by jagabo View Post
    10 bit AVC is not supported by the Blu-ray spec. And b-pyramid isn't fully supported either. Some sample x264 command lines for Blu-ray compliance:

    https://sites.google.com/site/x264bluray/home/1080i-p

    Note that authored Blu-ray discs require a full 1920x1080 frame but when playing mp4 files other sizes (like your 1912x1072) are usually supported. The same is true about many other settings. But staying close to the spec will increase you likelihood of successful playback.
    I guess I just don't know how to do that with ffmpeg. All I did was transcode to mp4. I didn't input any of these options.
    Quote Quote  
  12. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Gotta re-encode to 8bit,vidcoder is what i use for fast and good encoding.
    I think,therefore i am a hamster.
    Quote Quote  
  13. Originally Posted by DarianTheBluRayFan View Post
    I guess I just don't know how to do that with ffmpeg. All I did was transcode to mp4. I didn't input any of these options.
    What's the ffmpeg command line you are using? It looks like you were using the default (medium) preset. Try just adding "-x264opts bluray-compat" to your ffmpeg command line. That might be enough.
    Quote Quote  
  14. Okay so I ended up using the preset "Join images at 1920px width to MP4 video" on FFmpeg Batch AV Converter and now the file plays without any glitchy frames!!! The only thing is, the audio is kind of off, but I believe all I need to do is chance this part "-c:a aac -b:a 64K" in the command.
    Quote Quote  
  15. Originally Posted by johns0 View Post
    Gotta re-encode to 8bit,vidcoder is what i use for fast and good encoding.
    I'll try using that too at some point. I'm sure it'll be a helpful piece of software for some need.
    Quote Quote  
  16. As you seem to be using FFMpeg Batch AV converter you could copy and paste this in the 'Parameters' area and press "Sequential encoding":
    Code:
    -map 0 -c:v libx264 -preset slow -profile high -level 4.1 -bluray-compat 1 -crf 19 -pix_fmt yuv420p -r 25000/1000  -x264-params keyint=24:open-gop=1:vbv-bufsize=30000:vbv-maxrate=40000 -c:a copy -c:s copy
    Quote Quote  



Similar Threads

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