[Libav-user] MP4 files and avio_seek()

2016-05-18 Thread Williams, Blake
I'm trying to seek to a byte offset in an MP4 file. I can't use avformat_seek_file() because the AVFMT_NO_BYTE_SEEK flag is set in the demuxer. I'm reading the first 150 frames in the file, then seeking to a known file location. I've been able to use avio_seek to set the m_pFormatCtx->pb->pos

Re: [Libav-user] Error when trying to use FFMPEG to get an H.264/AVC stream encapsulated in MPEG2 TS.

2016-05-18 Thread Carl Eugen Hoyos
Carla Pagliari writes: > ffmpeg -fflags +genpts -i video.264 -vcodec copy -f mpegts video.ts (Complete, uncut console output missing.) FFmpeg unfortunately cannot always read correct timestamps from H264 streams, this is a very old (and known) deficiency. Carl Eugen

Re: [Libav-user] memory occupancy while recording screen(with audio record)

2016-05-18 Thread 汤明辉
using VS2010 in Win7 x64, ffmpeg 2.4.5, i download a demo to record my screen(with audio record ). i modified the program so that it can work in 3 threads. but every time i close the thread i found it have about 40MB memory remained. (every time i start->close thread, memory occupancy increases

[Libav-user] Error when trying to use FFMPEG to get an H.264/AVC stream encapsulated in MPEG2 TS.

2016-05-18 Thread Carla Pagliari
Dear experts, I tried to encapsulate an H.264/AVC stream in MPEG-2 TS using the following commands: 1. ffmpeg -i video.264 -vcodec copy -f mpegts video.ts Error message: [mpegts @ 0x14f0260] first pts value must be set av_interleaved_write_frame(): Invalid data found when processing input 2.

Re: [Libav-user] Is ffmpeg able to decode h264 SVC bitstream

2016-05-18 Thread Carl Eugen Hoyos
qw writes: > Hi,ffmpeg has incorported openh264, and is able to produce > h.264 svc bitstream. Could you encode a sample stream for us? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

[Libav-user] Is ffmpeg able to decode h264 SVC bitstream

2016-05-18 Thread qw
Hi, ffmpeg has incorported openh264, and is able to produce h.264 svc bitstream. Can ffmpeg decode svc bitstream? Thanks! B.R. Andrew ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user