Answers.Body: <p>I found the <em>free</em> program <a href="https://mediaarea.net/en/MediaInfo/Download/Mac_OS" rel="nofollow noreferrer">Media Info</a> for macOS that does exactly what I'm after. It displays a movie's codec details incl:</p>
  
  <ul>
  <li>H.264 Profile setting</li>
  <li>H.264 Encoding string</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-09T02:25:31.117Z
Answers.LastActivityDate: 2018-06-09T02:25:31.117Z
Answers.UserDisplayName: sansSpoon
Answers.Body: <p>Usually in these situations I'd say maybe you have a bottleneck from your storage media. But with those bit rates any Ssd or hdd should be fine unless the files are really large. Thus it sounds to me that you have either a bottleneck with your GPU, Cpu, or Ram. All are equally important for smooth playback. I'm guessing the issue is the increased resolution of the second clip.</p>
  
  <p>Without knowing more about your specs I would say your best options are to create low res Proxies. In premiere it's pretty easy, you just have to modify your project ingest settings. You might as well create Proxies for all the files, it won't matter anyways as it will relink on export. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-08T01:37:21.247Z
Answers.Text: Both videos are stored on an internal ssd. I'm using a maxed out MacBook Pro 2015 2.8 i7 16GB.
Answers.UserDisplayName: sansSpoon
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-04T15:36:48.470Z
Answers.Text: As Alex suggested: work with low resolution proxies. Then relink to your original media. H264 really is not a codec that's made to edit with. It's for client reviews, web-exports, etc.
Answers.UserDisplayName: CyanideBaby
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-06T11:58:53.983Z
Answers.LastActivityDate: 2017-05-06T11:58:53.983Z
Answers.UserDisplayName: Alex
Answers.Body: <p>Just had to deal with this today myself. The <a href="https://en.wikipedia.org/wiki/Advanced_Video_Coding#Levels" rel="nofollow noreferrer">h.264 profile</a> level is likely causing the issue. The lower level profiles used with HD+ footage seems to cause a buffer/playback issue.</p>
  <p>You can check your current profile level with <code>ffprobe -show_streams input.mp4</code></p>
  <p>Look for the profile level. If it's less than 5, that's probably the issue. You can re-encode the video to solve the issue. Here's a sample ffmpeg command that will do that for you.</p>
  <p><code>ffmpeg -i in.mov -movflags faststart -acodec copy -c:v libx264 -crf 1 -tune fastdecode -tune zerolatency -vprofile high -pix_fmt yuv420p -vlevel 6.2 out.mov; done</code></p>
  <p>That command pretty much completely solves the issue with any troublesome footage on my machine. You might be tempted to use -crf 0, but that will result in the profile level not being changed. -crf 1 is functionally identical for h.264 purposes (eg. you're likely not trying to color grade h.264).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-02-16T22:24:13.783Z
Answers.LastActivityDate: 2021-02-16T22:24:13.783Z
Answers.UserDisplayName: BreadEagles
Body: <p>I have two videos, both roughly the same spec:</p>
  
  <p>A: H.264/AAC 1920x808 24FPS ~3015kb/s<br>
  Using Quicktime player I can scrub through this movie smoothly and with fine detail. Jumping from one position to another, playback will happen immediately.</p>
  
  <p>B: H.264/AAC 1920x1080 25FPS ~3662kb/s<br>
  This video can’t seem to handle the scrubbing as well. Dragging the playback head hangs constantly, I keep getting a beach-ball when jumping from one position to another.</p>
  
  <p>I realise that the data rate on B: is higher, but is there anything I can do to improve it’s performance other than re-encoding at a reduced data rate?</p>
  
  <p>Are there any tools available other than VLC/Quicktime media info, that will show me more detailed encoding options so I can further optimise B: based on A: if I have to re-encode?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-06T14:05:27.490Z
Comments.Text: GOP size, no of refs, reordered frames in file storage are what come to mind. Need to see mediainfo properties of both files to verify.
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-08T01:32:57.643Z
Comments.Text: I have read a bit about ref's, or B-frames, in the handbrake UG. Do you know if there is a tool that tell me these stats?
Comments.UserDisplayName: sansSpoon
Tags: <h.264><playback><performance>
Title: H.264 slow scrubbing and playback performance
UserDisplayName: sansSpoon
ThreadText: # H.264 slow scrubbing and playback performance
  
  (Asked by: username_0 on 2017-05-05)
  
  I have two videos, both roughly the same spec:
  
  A: H.264/AAC 1920x808 24FPS ~3015kb/s  
  Using Quicktime player I can scrub through this movie smoothly and with fine detail. Jumping from one position to another, playback will happen immediately.
  
  B: H.264/AAC 1920x1080 25FPS ~3662kb/s  
  This video can’t seem to handle the scrubbing as well. Dragging the playback head hangs constantly, I keep getting a beach-ball when jumping from one position to another.
  
  I realise that the data rate on B: is higher, but is there anything I can do to improve it’s performance other than re-encoding at a reduced data rate?
  
  Are there any tools available other than VLC/Quicktime media info, that will show me more detailed encoding options so I can further optimise B: based on A: if I have to re-encode?
  
  **Tags:** h.264, playback, performance
  
  > **Comments:**
  > **username_1**: GOP size, no of refs, reordered frames in file storage are what come to mind. Need to see mediainfo properties of both files to verify.  
  > **username_0**: I have read a bit about ref's, or B-frames, in the handbrake UG. Do you know if there is a tool that tell me these stats?  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_0 on 2018-06-09. Score: 0 | Accepted answer
  
  I found the *free* program [Media Info](https://mediaarea.net/en/MediaInfo/Download/Mac_OS) for macOS that does exactly what I'm after. It displays a movie's codec details incl:
  
  * H.264 Profile setting
  * H.264 Encoding string
  
  
  ---
  
  ### Answer by username_2 on 2017-05-06. Score: 1
  
  Usually in these situations I'd say maybe you have a bottleneck from your storage media. But with those bit rates any Ssd or hdd should be fine unless the files are really large. Thus it sounds to me that you have either a bottleneck with your GPU, Cpu, or Ram. All are equally important for smooth playback. I'm guessing the issue is the increased resolution of the second clip.
  
  Without knowing more about your specs I would say your best options are to create low res Proxies. In premiere it's pretty easy, you just have to modify your project ingest settings. You might as well create Proxies for all the files, it won't matter anyways as it will relink on export.
  
  > **Comments:**
  > **username_0**: Both videos are stored on an internal ssd. I'm using a maxed out MacBook Pro 2015 2.8 i7 16GB.  
  > **username_3**: As username_2 suggested: work with low resolution proxies. Then relink to your original media. H264 really is not a codec that's made to edit with. It's for client reviews, web-exports, etc.  
  
  ---
  
  ### Answer by username_4 on 2021-02-16. Score: 0
  
  Just had to deal with this today myself. The [h.264 profile](https://en.wikipedia.org/wiki/Advanced_Video_Coding#Levels) level is likely causing the issue. The lower level profiles used with HD+ footage seems to cause a buffer/playback issue.
  
  You can check your current profile level with `ffprobe -show_streams input.mp4`
  
  Look for the profile level. If it's less than 5, that's probably the issue. You can re-encode the video to solve the issue. Here's a sample ffmpeg command that will do that for you.
  
  `ffmpeg -i in.mov -movflags faststart -acodec copy -c:v libx264 -crf 1 -tune fastdecode -tune zerolatency -vprofile high -pix_fmt yuv420p -vlevel 6.2 out.mov; done`
  
  That command pretty much completely solves the issue with any troublesome footage on my machine. You might be tempted to use -crf 0, but that will result in the profile level not being changed. -crf 1 is functionally identical for h.264 purposes (eg. you're likely not trying to color grade h.264).
  
  
  ---
  
  