Timestamp and missing frame when converting 4K h.264 to h.265

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Timestamp and missing frame when converting 4K h.264 to h.265

Gralfus
Background of issue:
I have a new Panasonic 4K video camera that produces its 4K content in h.264
MP4 format (3840×2160). When I use ffmpeg to convert this to the h.265 codec
to shrink the file size, I see a couple of errors about a missing key frame
and timestamp, but then the file is generated but with serious visual
artifacts.

Video from the same camera that is shot natively in just HD (1920x1080 h.264
MP4) quality has no issue when converting via ffmpeg to h.265.

Here is the code I used:
ffmpeg -i S1000001.MP4 -c:v libx265 -c:a libfdk_aac -crf 28 265-4k.mp4

Here are the errors that I see when I issue the command:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559875557a40] st: 0 edit list: 1 Missing key
frame while searching for timestamp: 3003
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559875557a40] st: 0 edit list 1 Cannot find an
index entry before timestamp: 3003.

I've listed the details of the ffmpeg build on my blog:
https://wjwoodrow.wordpress.com/2018/04/14/new-camcorder-panasonic-hc-wxf1-but-issue-converting-to-h-265/

I can list them here if that will help. Ffmpeg works fine for converting
other HD video, but not the new 4K frame size.




--
Sent from: http://www.ffmpeg-archive.org/
_______________________________________________
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: Timestamp and missing frame when converting 4K h.264 to h.265

Carl Eugen Hoyos-2
2018-04-15 17:54 GMT+02:00, Gralfus <[hidden email]>:

> I have a new Panasonic 4K video camera that produces its 4K
> content in h.264 MP4 format (3840×2160). When I use ffmpeg
> to convert this to the h.265 codec to shrink the file size, I see
> a couple of errors about a missing key frame

> and timestamp, but then the file is generated but with serious
> visual artifacts.

Please provide an input sample.

Thank you, 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: Timestamp and missing frame when converting 4K h.264 to h.265

Gralfus
Do you mean a link to the video, or some other code than what I mentioned?

I put up a copy on YouTube, but since they tend to re-encode it may not be
exactly what I have.

Here is the link: https://www.youtube.com/watch?v=pd8C_-evKxs





--
Sent from: http://www.ffmpeg-archive.org/
_______________________________________________
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: Timestamp and missing frame when converting 4K h.264 to h.265

Brainiarc7
Hello, Gralfus.

This is how you should provide a sample for use:
https://www.ffmpeg.org/bugreports.html

Typically, extract the sample using a tool such as dd. Take this
snippet (quoted from the link above):

dd if=sample-file of=small-sample-file bs=1024 count=10000

Then you would upload the small-sample-file to an FFmpeg bug tracker
ticket (at https://trac.ffmpeg.org/ , needs registration).

I'm sure that a sample of such a size can also be attached to an email
(2.5MB only).

On 16 April 2018 at 03:29, Gralfus <[hidden email]> wrote:

> Do you mean a link to the video, or some other code than what I mentioned?
>
> I put up a copy on YouTube, but since they tend to re-encode it may not be
> exactly what I have.
>
> Here is the link: https://www.youtube.com/watch?v=pd8C_-evKxs
>
>
>
>
>
> --
> Sent from: http://www.ffmpeg-archive.org/
> _______________________________________________
> 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: Timestamp and missing frame when converting 4K h.264 to h.265

Gralfus
Thank you, I will gather that information tomorrow and submit it.




--
Sent from: http://www.ffmpeg-archive.org/
_______________________________________________
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: Timestamp and missing frame when converting 4K h.264 to h.265

Carl Zwanzig
In reply to this post by Brainiarc7
On 4/15/2018 5:51 PM, Dennis Mungai wrote:
> I'm sure that a sample of such a size can also be attached to an email
> (2.5MB only).

But it would be rather unfriendly to send that sample to the entire list
membership; please just send a URL.

z!

_______________________________________________
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: Timestamp and missing frame when converting 4K h.264 to h.265

Gralfus
The thought occurred to me today that with the h265 codec, I may need a more
modern computer for doing the processing and viewing. Mine is about 11 years
old, so I'm going to do more experimenting with more modern hardware to see
if that is perhaps behind the artifacts I'm seeing. I'll get back to you
when I find out more.



--
Sent from: http://www.ffmpeg-archive.org/
_______________________________________________
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: Timestamp and missing frame when converting 4K h.264 to h.265

Carl Eugen Hoyos-2
In reply to this post by Gralfus
2018-04-16 2:29 GMT+02:00, Gralfus <[hidden email]>:
> Do you mean a link to the video

Yes.

Can be dropbox, datafilehost or any other host you like.

Please do not top-post here, 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".