Re: [Libav-user] timebase settings when muxing

2016-11-16 Thread YIRAN LI
2016-11-16 23:27 GMT+11:00 Carl Eugen Hoyos : > 2016-11-16 13:03 GMT+01:00 YIRAN LI : > > could you play the asf with ffplay. The video playback is slow > > in ffplay. Does that mean there's a problem in the asf file? > > Yes, the audio timestamps are

Re: [Libav-user] Encoding subtitles

2016-11-16 Thread Mihai Chindea
you are supposed to set "AVCodecContext::subtitle_header" before calling avcodec_open2() From: Libav-user [libav-user-boun...@ffmpeg.org] on behalf of Jan Brehmer [jan.breh...@dai-labor.de] Sent: Wednesday, November 16, 2016 4:03 PM To:

[Libav-user] Encoding subtitles

2016-11-16 Thread Jan Brehmer
Hey there! I am trying to encode a subtitle stream. ? Currently I am able to serve a HTTP stream in mpegts, fragmented mp4 or webm format with a video stream encoded by H.264 or VP8/VP9 respectively. For subtitle encoding, I get an encoder like this: subtitle_codec =

Re: [Libav-user] timebase settings when muxing

2016-11-16 Thread Carl Eugen Hoyos
2016-11-16 13:03 GMT+01:00 YIRAN LI : > could you play the asf with ffplay. The video playback is slow > in ffplay. Does that mean there's a problem in the asf file? Yes, the audio timestamps are missing. How was the file created? Carl Eugen

Re: [Libav-user] timebase settings when muxing

2016-11-16 Thread YIRAN LI
2016-11-16 21:01 GMT+11:00 Carl Eugen Hoyos : > 2016-11-16 7:37 GMT+01:00 YIRAN LI : > > > https://dl.dropboxusercontent.com/u/89678527/big_buck_bunny.wmv > > This video when used with ffprobe -show_frames -select_streams v, it > > can show correct

Re: [Libav-user] timebase settings when muxing

2016-11-16 Thread Carl Eugen Hoyos
2016-11-16 7:37 GMT+01:00 YIRAN LI : > https://dl.dropboxusercontent.com/u/89678527/big_buck_bunny.wmv > This video when used with ffprobe -show_frames -select_streams v, it > can show correct number of frames(about 23.97 * 60 = 1440 frames), > but when I use ffmpeg -i name