Re: [FFmpeg-user] How to identify I frame or IDR frame?

2020-07-18 Thread penguin flying
In the situation without decoding, how to identify it ? penguin flying 于2020年7月19日周日 上午11:56写道: > After reading a frame like this: > > AVFormatContext *ifmt_ctx = NULL; > AVPacket pkt = { .data = NULL, .size = 0 }; > ... > > if ((ret = av_read_frame(ifmt_ctx, &pkt)) < 0) > break; > >

[FFmpeg-user] How to identify I frame or IDR frame?

2020-07-18 Thread penguin flying
After reading a frame like this: AVFormatContext *ifmt_ctx = NULL; AVPacket pkt = { .data = NULL, .size = 0 }; ... if ((ret = av_read_frame(ifmt_ctx, &pkt)) < 0) break; How to identify this video frame is IDR frame or not ? as far as I know, (pkt.flags & AV_PKT_FLAG_KEY) only show

[FFmpeg-user] ffmpeg source code compatibility - OS X 10.9

2020-07-18 Thread Ilja
Hello, One of my computers runs OS X 10.9. Can I use the latest source code builds with it. I recall, seeing the information published at https://ffmpeg.org that the min version was 10.9 but now can’t find it. Do you know what rea the system requirements? I downloaded the most recent build, inst

Re: [FFmpeg-user] How to change internal Exif "creation time" NOT to UTC timestamp but to MEZ/MESZ in MP4 video?

2020-07-18 Thread Marton Balint
On Sat, 18 Jul 2020, Ben via ffmpeg-user wrote: Ok, I can change the internal EXIF Metadata "Creation time" of an MP4 video with the following command: ffmpeg -i input.mp4 -c copy -map 0 -metadata creation_time="2020-04-19 11:30:00" output.mp4 It works. However the date is interpreted

Re: [FFmpeg-user] Ffmpeg issues multiple HTTP requests when starting a video from a URL

2020-07-18 Thread Vladimir Grishchenko
> And 'moov' contains the info needed to make sense of the rest of the file. > Now that it has that, it goes back and downloads from where it > short-circuited before. At <10MBs, as you say, it might make more sense to > download the whole file and then work with it on disk. But for larger > do

[FFmpeg-user] How to change internal Exif "creation time" NOT to UTC timestamp but to MEZ/MESZ in MP4 video?

2020-07-18 Thread Ben via ffmpeg-user
Ok, I can change the internal EXIF Metadata "Creation time" of an MP4 video with the following command: ffmpeg -i input.mp4 -c copy -map 0 -metadata creation_time="2020-04-19 11:30:00" output.mp4 It works. However the date is interpreted as UTC time zone value. Since I the videos are take