Closed qiu770 closed 6 years ago
I'm trying to Fragment an Mp4 file,
Compile Joy4 on Windows.
But the compiler error. I want to know which version of FFmpeg I should be using. I'm using 3.4.*
I was in the https://ffmpeg.zeranoe.com/builds/ development version.
Prompts and errors when running the example.
PS: pens gopathpens srcpens github.com\nareix\joy4\ \transcode> go run main.go
.. .. \cgo\ffmpeg\audio. Go :31:37: could not determine kind of name for C.AVAudioResampleContext
.. .. \cgo\ffmpeg\ audit.go :247:16: could not determine kind of name for C.avcodec_profile_name_to_int
.. .. \cgo\ffmpeg\ audit.go :84:10: could not determine kind of name for C.avresample_alloc_context
.. .. \cgo\ffmpeg\audio. Go :80:3: could not determine kind of name for C.avresample_free
.. .. \cgo\ffmpeg\ audit.go :46:26: could not determine kind of name for C.avresample_get_out_samples
.. .. \cgo\ffmpeg\audio. Go :91:3: could not determine kind of name for C.avresample_open
.. .. \cgo\ffmpeg\ audit.go :57:26: could not determine kind of name for c.wrap_avresample_convert
GCC errors for the preamble:
.. .. \cgo\ffmpeg\audio. Go :9:29: error: unknown type name 'AVAudioResampleContext'; Did you mean 'ReSampleContext'?
Int wrap_avresample_convert(AVAudioResampleContext avr, int out, int outsize, int *in, int insize, int incount) {
^ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
ReSampleContext
I'm trying to Fragment an Mp4 file,
Compile Joy4 on Windows.
But the compiler error. I want to know which version of FFmpeg I should be using. I'm using 3.4.*
I was in the https://ffmpeg.zeranoe.com/builds/ development version.
Prompts and errors when running the example.
PS: pens gopathpens srcpens github.com\nareix\joy4\ \transcode> go run main.go
github.com/nareix/joy4/cgo/ffmpeg
.. .. \cgo\ffmpeg\audio. Go :31:37: could not determine kind of name for C.AVAudioResampleContext
.. .. \cgo\ffmpeg\ audit.go :247:16: could not determine kind of name for C.avcodec_profile_name_to_int
.. .. \cgo\ffmpeg\ audit.go :84:10: could not determine kind of name for C.avresample_alloc_context
.. .. \cgo\ffmpeg\audio. Go :80:3: could not determine kind of name for C.avresample_free
.. .. \cgo\ffmpeg\ audit.go :46:26: could not determine kind of name for C.avresample_get_out_samples
.. .. \cgo\ffmpeg\audio. Go :91:3: could not determine kind of name for C.avresample_open
.. .. \cgo\ffmpeg\ audit.go :57:26: could not determine kind of name for c.wrap_avresample_convert
GCC errors for the preamble:
.. .. \cgo\ffmpeg\audio. Go :9:29: error: unknown type name 'AVAudioResampleContext'; Did you mean 'ReSampleContext'?
Int wrap_avresample_convert(AVAudioResampleContext avr, int out, int outsize, int *in, int insize, int incount) {
^ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
ReSampleContext