Dealing with incomplete HEVC/h265 video

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Dealing with incomplete HEVC/h265 video

Aviv Hurvitz
I am using a somewhat experimental evaluation board to record HEVC video. I
converted the stream to mp4 using this command:
ffmpeg -i input.bin -c:v copy out.mp4

I can play out.mp4, however I see the video skips at some point and plays
at faster-than-life rate at another point.

I think there are dropped frames, and the conversion naively makes
everything fixed rate at 25 FPS.

Is there a way to dump the original time stamps and/or frame indices in the
HEVC stream, to study its integrity?

Is there a way to get a correct playback, say by preserving timestamps or
filling in missing frames?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Dealing with incomplete HEVC/h265 video

Carl Eugen Hoyos-2
2018-09-11 18:54 GMT+02:00, Aviv Hurvitz <[hidden email]>:
> I am using a somewhat experimental evaluation board to record HEVC video. I
> converted the stream to mp4 using this command:
> ffmpeg -i input.bin -c:v copy out.mp4

Not necessarily related:
FFmpeg is unable to write correct vfr mp4 files, consider using
mkv.

> I can play out.mp4, however I see the video skips at some point and plays
> at faster-than-life rate at another point.
>
> I think there are dropped frames, and the conversion naively makes
> everything fixed rate at 25 FPS.

> Is there a way to dump the original time stamps and/or frame indices in the
> HEVC stream, to study its integrity?

What are the "original time stamps"?

FFmpeg is known to not correctly read timestamps from raw
H.264 files, I didn't know the same issue exists for hevc.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Dealing with incomplete HEVC/h265 video

Aviv Hurvitz
I tried converting to mkv but it exhibited the same "skipping" problem.
I'll try to delve into the HEVC stream format, maybe I'll see a record of
the skipping in there. I hope there is a frame index or time stamp per
frame within. (?)

On Wed, Sep 12, 2018 at 12:40 AM Carl Eugen Hoyos <[hidden email]>
wrote:

> 2018-09-11 18:54 GMT+02:00, Aviv Hurvitz <[hidden email]>:
> > I am using a somewhat experimental evaluation board to record HEVC
> video. I
> > converted the stream to mp4 using this command:
> > ffmpeg -i input.bin -c:v copy out.mp4
>
> Not necessarily related:
> FFmpeg is unable to write correct vfr mp4 files, consider using
> mkv.
>
> > I can play out.mp4, however I see the video skips at some point and plays
> > at faster-than-life rate at another point.
> >
> > I think there are dropped frames, and the conversion naively makes
> > everything fixed rate at 25 FPS.
>
> > Is there a way to dump the original time stamps and/or frame indices in
> the
> > HEVC stream, to study its integrity?
>
> What are the "original time stamps"?
>
> FFmpeg is known to not correctly read timestamps from raw
> H.264 files, I didn't know the same issue exists for hevc.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Dealing with incomplete HEVC/h265 video

Gyan Doshi
On Wed, Sep 12, 2018 at 3:00 PM Aviv Hurvitz <[hidden email]> wrote:

>
> I'll try to delve into the HEVC stream format, maybe I'll see a record of
> the skipping in there. I hope there is a frame index or time stamp per
> frame within. (?)
>

Suggest you try mp4box to mux the raw stream into MP4.

Gyan
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Dealing with incomplete HEVC/h265 video

Aviv Hurvitz
Thanks Gyan, we'll give mp4box a shot.

On Wed, Sep 12, 2018 at 12:51 PM Gyan <[hidden email]> wrote:

> On Wed, Sep 12, 2018 at 3:00 PM Aviv Hurvitz <[hidden email]>
> wrote:
>
> >
> > I'll try to delve into the HEVC stream format, maybe I'll see a record of
> > the skipping in there. I hope there is a frame index or time stamp per
> > frame within. (?)
> >
>
> Suggest you try mp4box to mux the raw stream into MP4.
>
> Gyan
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".