Trouble playing video encoded using h264_v4l2m2m

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

Trouble playing video encoded using h264_v4l2m2m

JooAun Saw
Hi all,

I am feeding one frame at a time to h264_v4l2m2m encoder, and getting
encoded packets using avcodec_receive_packet function, and write to
file using av_write_frame. When I run ffprobe on the output file, I
get this error:

st: 0 edit list: 1 Missing key frame while searching for timestamp: 0
[h264 @ 0x1831fb0] no frame!

The exact same application code works with libx264 encoder. What am I
missing here? Help?

Cheers,
jasaw
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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
|

Perform Static Build If FFmpeg In macOS

FFmpeg-users mailing list
How can I perform a static build of FFmpeg in macOS so that there is only one executable file ?

Sent from my iPhone X


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Perform Static Build If FFmpeg In macOS

Reto Kromer-2
wyattwong--- via ffmpeg-user wrote:

>How can I perform a static build of FFmpeg in macOS so that
>there is only one executable file ?

Not sure I understand you carefully.

There are static builds for many platforms, including macOS:

  https://ffmpeg.org/download.html

and the wiki explains how to compile yourself:

  https://trac.ffmpeg.org/wiki/CompilationGuide/macOS

Hope this helps! Reto

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Perform Static Build If FFmpeg In macOS

Carl Eugen Hoyos-2
In reply to this post by FFmpeg-users mailing list
Am Do., 29. Aug. 2019 um 06:59 Uhr schrieb wyattwong--- via
ffmpeg-user <[hidden email]>:
>
> How can I perform a static build of FFmpeg in macOS so that there is only one executable file ?

Note that apart from what Reto wrote, this is the default behaviour of
FFmpeg's build system.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Perform Static Build If FFmpeg In macOS

Reindl Harald


Am 29.08.19 um 18:18 schrieb Carl Eugen Hoyos:
> Am Do., 29. Aug. 2019 um 06:59 Uhr schrieb wyattwong--- via
> ffmpeg-user <[hidden email]>:
>>
>> How can I perform a static build of FFmpeg in macOS so that there is only one executable file ?
>
> Note that apart from what Reto wrote, this is the default behaviour of
> FFmpeg's build system.

problem is that you hardly get all the libraries in your static binary
that easy, on typical systems they are only installed as shared
libraries and you can't link them static at all
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Perform Static Build If FFmpeg In macOS

Carl Eugen Hoyos-2
Am Do., 29. Aug. 2019 um 18:21 Uhr schrieb Reindl Harald
<[hidden email]>:

>
>
>
> Am 29.08.19 um 18:18 schrieb Carl Eugen Hoyos:
> > Am Do., 29. Aug. 2019 um 06:59 Uhr schrieb wyattwong--- via
> > ffmpeg-user <[hidden email]>:
> >>
> >> How can I perform a static build of FFmpeg in macOS so that there is only one executable file ?
> >
> > Note that apart from what Reto wrote, this is the default behaviour of
> > FFmpeg's build system.
>
> problem is that you hardly get all the libraries in your static binary
> that easy, on typical systems they are only installed as shared
> libraries and you can't link them static at all

Question was for "macos" so I don't think your comment applies
in any way.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Perform Static Build If FFmpeg In macOS

Reindl Harald


Am 29.08.19 um 18:27 schrieb Carl Eugen Hoyos:

> Am Do., 29. Aug. 2019 um 18:21 Uhr schrieb Reindl Harald
> <[hidden email]>:
>>
>> Am 29.08.19 um 18:18 schrieb Carl Eugen Hoyos:
>>> Am Do., 29. Aug. 2019 um 06:59 Uhr schrieb wyattwong--- via
>>> ffmpeg-user <[hidden email]>:
>>>>
>>>> How can I perform a static build of FFmpeg in macOS so that there is only one executable file ?
>>>
>>> Note that apart from what Reto wrote, this is the default behaviour of
>>> FFmpeg's build system.
>>
>> problem is that you hardly get all the libraries in your static binary
>> that easy, on typical systems they are only installed as shared
>> libraries and you can't link them static at all
>
> Question was for "macos" so I don't think your comment applies
> in any way.

last time i had to deal with apple systems they too used .dylib
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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