Search found 16 matches

by leixiaohua1020
Fri Feb 06, 2015 2:58 pm
Forum: Development Examples
Topic: Simplest FFmpeg Format
Replies: 4
Views: 6198

Re: Simplest FFmpeg Format

athukoralakasun wrote:Hi,

Thanks for your code.. I tried to sync a .h264 and a .aac file.. but they do not sync well.. is there any aditional parameters that i need to consider?


Thank you.
in ffmpeg raw h.264 do not have pts/dts, these parameters is important for mux. But I'm not sure what's your actual problem?
by leixiaohua1020
Fri Feb 06, 2015 2:54 pm
Forum: Development Examples
Topic: My FFmpeg Examples List
Replies: 2
Views: 6971

Re: My FFmpeg Examples List

llogan wrote:Maybe some of these can be added to doc/examples (but I didn't actually look at them and I'm not a library user). Consider submitting a patch to ffmpeg-devel.
I'm considering to do this, thank you~
by leixiaohua1020
Mon Jan 12, 2015 6:17 am
Forum: Development Examples
Topic: My FFmpeg Examples List
Replies: 2
Views: 6971

My FFmpeg Examples List

I've made several FFmpeg Demos to help beginnner to learn FFmpeg. I'd like to share them here. My FFmpeg Demo's List: 【SourceForge】 https://sourceforge.net/u/leixiaohua1020/wiki/ 【Github】 http://leixiaohua1020.github.com/ The list contains following demos: Simplest ffmpeg player The simplest video p...
by leixiaohua1020
Sun Oct 19, 2014 7:10 am
Forum: Development Examples
Topic: Simplest FFmpeg mem handler
Replies: 0
Views: 1800

Simplest FFmpeg mem handler

Usually we use FFmpeg to read from (or write to) a file. But sometimes we need to read from (or write to) system memory. This examples shows how to use FFmpeg to read (or write) from memory. It contains 2 project: simplest_ffmpeg_mem_player:Video Player that play video data in memory. simplest_ffmpe...
by leixiaohua1020
Sun Oct 19, 2014 7:04 am
Forum: Development Examples
Topic: Simplest FFmpeg Device
Replies: 0
Views: 1914

Simplest FFmpeg Device

This is an example about FFmpeg's libAVDevice. I found that there is no examples about libavdevice so I made one. In this examples we use devices such as VFW, DSHOW... This Project contains 2 examples based on FFmpeg's libavdevice: simplest_ffmpeg_grabdesktop: Screen Capture. simplest_ffmpeg_readcam...
by leixiaohua1020
Sun Oct 19, 2014 6:58 am
Forum: Development Examples
Topic: Simplest FFmpeg Format
Replies: 4
Views: 6198

Simplest FFmpeg Format

These days I developed several FFmpeg's examples. This is another FFmpeg's example. It's about handling container format using FFmpeg. It contains media's mux/demux/remux examples. Suitable for the beginner of FFmpeg. There are 4 sub-projects in this project and they are listed as follows: simplest_...
by leixiaohua1020
Sun Oct 19, 2014 6:50 am
Forum: Development Examples
Topic: Simplest FFmpeg Streamer
Replies: 0
Views: 2444

Simplest FFmpeg Streamer

I'd like to continue sharing my FFmpeg development examples. It's called "Simplest FFmpeg Streamer"(RTMP) It's code is very simple.And it can be used to stream local media files to streaming media server. In this example I streamed a FLV file to RTMP server (Such as FMS, Red5, Wowza...). In fact it ...
by leixiaohua1020
Sun Oct 19, 2014 6:41 am
Forum: Development Examples
Topic: simplest ffmpeg audio encoder
Replies: 6
Views: 6549

Re: simplest ffmpeg audio encoder

Hi thanks for reply, in your previous post , you retrieve audio data from packet by avcodec_decode_audio4(is->audio_st->codec, pFrame, &frameFinished,packet) and you write pFrame->data[0] array to ppm file so i think i can take my volume bar by using some value of pFrame->data[0] array is that righ...
by leixiaohua1020
Sun Oct 19, 2014 6:38 am
Forum: Development Examples
Topic: simplest ffmpeg video filter (Add WaterMark)
Replies: 2
Views: 5147

Re: simplest ffmpeg video filter (Add WaterMark)

rogerdpack wrote:you could add this to the list of examples of libavfilter: http://wiki.multimedia.cx/index.php?title=Libavfilter
Oh, Thank you. I'll have a look :)
by leixiaohua1020
Sun Jun 08, 2014 7:55 am
Forum: Development Examples
Topic: simplest ffmpeg video filter (Add WaterMark)
Replies: 2
Views: 5147

simplest ffmpeg video filter (Add WaterMark)

This is another FFmpeg's example. It's about avfilter in FFmpeg. It uses FFmpeg's AVFilter to add watermark in a video file. It can add a PNG format picture as watermark to a video file. It's the simplest example based on FFmpeg's AVFilter. Suitable for beginner of FFmpeg :D Project Page: https://so...
'