Body: <p>I have 226 sequenced images (TIFF, 6.2MB each) and i would like loseless save them like video by using H265. </p>
  
  <p>Here is command which I used:</p>
  
  <pre><code>ffmpeg -f image2 -framerate 25 -i IMG_%03d.tif -vcodec libx265 -x265-params lossless -strict experimental -pix_fmt yuv420p -report movie_newh265yuv420.mp4
  </code></pre>
  
  <p>And here is output video: <a href="http://chmura.rarez.pl/index.php/s/kek6ZYzyDklfZjP" rel="nofollow">Broken Output Video</a></p>
  
  <p>I really don't know how to fix it. Video should looks like this one <a href="https://youtu.be/hFei6iaO4zo" rel="nofollow">Good Video</a> If u have any idea I will be very glad. </p>
  
  <p>Report from FFMPEG below: </p>
  
  <p>Thank you </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-09T22:40:52.330Z
Comments.Text: http://pastebin.com/7sMn1Vye - Report
Comments.UserDisplayName: Rarez
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-10T05:58:07.163Z
Comments.Text: You have 261 frames but only 226 frames have been encoded. 35 frames are missing. Cycle through the image sequence at slow speed in a image browser and see if the jumps still occur.
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-10T11:33:27.533Z
Comments.Text: My bad, I have 226 frames so all have been encoded. Where is mistake now ? Maybe I should add something specific -x265-params ?
Comments.UserDisplayName: Rarez
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-10T11:53:25.727Z
Comments.Text: What do the image filenames look like?
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-10T12:32:58.260Z
Comments.Text: IMG_001.tif to IMG_226.tif
Comments.UserDisplayName: Rarez
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-10T12:40:43.143Z
Comments.Text: Run `ffmpeg -f image2 -framerate 25 -i IMG_%03d.tif -vcodec rawvideo -pix_fmt yuv420p raw_newh265yuv420.avi` and see if the jumps occur.
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-10T12:44:03.767Z
Comments.Text: The same :/ maybe something wrong with my ffmpeg ?
Comments.UserDisplayName: Rarez
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-10T13:01:14.560Z
Comments.Text: No. the files seem to be picked out of order. Scan through them manually to check continuity but take care to note the file being scanned.
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-10T13:20:01.247Z
Comments.Text: I made mistake in change name script /facepalm. Now everything it's ok. Sorry mate for my brainless and Thank you so much for your perseverance
Comments.UserDisplayName: Rarez
Tags: <ffmpeg><compression>
Title: FFMPEG Tiff images to losseless video (H265) lags, broken output
UserDisplayName: Rarez
ThreadText: # FFMPEG Tiff images to losseless video (H265) lags, broken output
  
  (Asked by: username_0 on 2016-01-09)
  
  I have 226 sequenced images (TIFF, 6.2MB each) and i would like loseless save them like video by using H265.
  
  Here is command which I used:
  
  ```
  ffmpeg -f image2 -framerate 25 -i IMG_%03d.tif -vcodec libx265 -x265-params lossless -strict experimental -pix_fmt yuv420p -report movie_newh265yuv420.mp4
  
  ```
  
  And here is output video: [Broken Output Video](http://chmura.username_0.pl/index.php/s/kek6ZYzyDklfZjP)
  
  I really don't know how to fix it. Video should looks like this one [Good Video](https://youtu.be/hFei6iaO4zo) If u have any idea I will be very glad.
  
  Report from FFMPEG below:
  
  Thank you
  
  **Tags:** ffmpeg, compression
  
  > **Comments:**
  > **username_0**: http://pastebin.com/7sMn1Vye - Report  
  > **username_1**: You have 261 frames but only 226 frames have been encoded. 35 frames are missing. Cycle through the image sequence at slow speed in a image browser and see if the jumps still occur.  
  > **username_0**: My bad, I have 226 frames so all have been encoded. Where is mistake now ? Maybe I should add something specific -x265-params ?  
  > **username_1**: What do the image filenames look like?  
  > **username_0**: IMG_001.tif to IMG_226.tif  
  > **username_1**: Run `ffmpeg -f image2 -framerate 25 -i IMG_%03d.tif -vcodec rawvideo -pix_fmt yuv420p raw_newh265yuv420.avi` and see if the jumps occur.  
  > **username_0**: The same :/ maybe something wrong with my ffmpeg ?  
  > **username_1**: No. the files seem to be picked out of order. Scan through them manually to check continuity but take care to note the file being scanned.  
  > **username_0**: I made mistake in change name script /facepalm. Now everything it's ok. Sorry mate for my brainless and Thank you so much for your perseverance  
  
  ---
  
  ## 0 answers
  
  