nareix / joy4

Golang audio/video library and streaming server
MIT License
2.68k stars 500 forks source link

Handle streams longer than 2^24 ms. #55

Closed j0sh closed 6 years ago

j0sh commented 6 years ago

The FLV timestamp field is only 24 bits. A stream will hit this in less than 5 hours, starting from a timestamp of 0. In this case, write out the timestamp as an extended field for type-0 chunks (type0 is the only output chunk type that is supported right now).

ericxtang commented 6 years ago

🚢

qiu770 commented 6 years ago

Hi, I want to use the project,but using the project then " transcode> go run main.go" was error. The FFmpeg version is 3.4 . I could not build that. Error Message is unknown type name 'AVAudioResampleContext'; did you mean 'AVFormatContext'?

Finally, I know the problem of AVAudioResampleContext and C.avcodec_profile_name_to_int used by joy4. Version 3.4 has no libavresample file. How should I include the libavresample file?

                                                               Asher