FFmpeg_avi_to_mp4
所属分类:多媒体编程
开发工具:Visual C++
文件大小:14770KB
下载次数:7
上传日期:2018-05-10 22:04:39
上 传 者:
freeman
说明: 这是利用FFMPEG库将AVI格式的视频转化为MP4格式的视频,适合学习借鉴。
(This is the use of FFMPEG library to convert AVI format video into MP4 format video, which is suitable for learning.)
文件列表:
FFmpeg_avi_to_mp4 (0, 2017-01-05)
FFmpeg_avi_to_mp4\Debug (0, 2017-01-05)
FFmpeg_avi_to_mp4\Debug\FFmpeg.exe (40960, 2017-01-05)
FFmpeg_avi_to_mp4\Debug\FFmpeg.ilk (290372, 2017-01-05)
FFmpeg_avi_to_mp4\Debug\FFmpeg.pdb (478208, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg (0, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\20170105.avi (104448, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug (0, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\FFmpeg.Build.CppClean.log (927, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\FFmpeg.log (3554, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\FFmpeg.obj (23416, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\FFmpeg.tlog (0, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\FFmpeg.tlog\CL.read.1.tlog (8330, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\FFmpeg.tlog\CL.write.1.tlog (548, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\FFmpeg.tlog\FFmpeg.lastbuildstate (178, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\FFmpeg.tlog\cl.command.1.tlog (682, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\FFmpeg.tlog\link.command.1.tlog (1730, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\FFmpeg.tlog\link.read.1.tlog (3892, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\FFmpeg.tlog\link.write.1.tlog (522, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\vc120.idb (150528, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\Debug\vc120.pdb (135168, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\FFmpeg.cpp (7804, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\FFmpeg.vcxproj (4482, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\FFmpeg.vcxproj.filters (955, 2015-09-06)
FFmpeg_avi_to_mp4\FFmpeg\FFmpeg.vcxproj.user (143, 2015-09-06)
FFmpeg_avi_to_mp4\FFmpeg\avcodec-56.dll (22361088, 2015-06-05)
FFmpeg_avi_to_mp4\FFmpeg\avdevice-56.dll (1380352, 2015-06-05)
FFmpeg_avi_to_mp4\FFmpeg\avfilter-5.dll (2393600, 2015-06-05)
FFmpeg_avi_to_mp4\FFmpeg\avformat-56.dll (6006784, 2015-06-05)
FFmpeg_avi_to_mp4\FFmpeg\avutil-54.dll (493568, 2015-06-05)
FFmpeg_avi_to_mp4\FFmpeg\include (0, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\include\_mingw.h (7976, 2012-05-23)
FFmpeg_avi_to_mp4\FFmpeg\include\inttypes.h (5721, 2012-05-23)
FFmpeg_avi_to_mp4\FFmpeg\include\libavcodec (0, 2017-01-05)
FFmpeg_avi_to_mp4\FFmpeg\include\libavcodec\avcodec.h (181963, 2015-06-05)
FFmpeg_avi_to_mp4\FFmpeg\include\libavcodec\avfft.h (3111, 2015-06-05)
FFmpeg_avi_to_mp4\FFmpeg\include\libavcodec\d3d11va.h (2504, 2015-06-05)
FFmpeg_avi_to_mp4\FFmpeg\include\libavcodec\dv_profile.h (3998, 2015-06-05)
FFmpeg_avi_to_mp4\FFmpeg\include\libavcodec\dxva2.h (2358, 2015-06-05)
FFmpeg_avi_to_mp4\FFmpeg\include\libavcodec\old_codec_ids.h (10623, 2015-06-05)
... ...
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with FFmpeg; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_THREADMESSAGE_H
#define AVUTIL_THREADMESSAGE_H
typedef struct AVThreadMessageQueue AVThreadMessageQueue;
typedef enum AVThreadMessageFlags {
/**
* Perform non-blocking operation.
* If this flag is set, send and recv operations are non-blocking and
* return AVERROR(EAGAIN) immediately if they can not proceed.
*/
AV_THREAD_MESSAGE_NONBLOCK = 1,
} AVThreadMessageFlags;
/**
* Allocate a new message queue.
*
* @param mq pointer to the message queue
* @param nelem maximum number of elements in the queue
* @param elsize size of each element in the queue
* @return >=0 for success; <0 for error, in particular AVERROR(ENOSYS) if
* lavu was built without thread support
*/
int av_thread_message_queue_alloc(AVThreadMessageQueue **mq,
unsigned nelem,
unsigned elsize);
/**
* Free a message queue.
*
* The message queue must no longer be in use by another thread.
*/
void av_thread_message_queue_free(AVThreadMessageQueue **mq);
/**
* Send a message on the queue.
*/
int av_thread_message_queue_send(AVThreadMessageQueue *mq,
void *msg,
unsigned flags);
/**
* Receive a message from the queue.
*/
int av_thread_message_queue_recv(AVThreadMessageQueue *mq,
void *msg,
unsigned flags);
/**
* Set the sending error code.
*
* If the error code is set to non-zero, av_thread_message_queue_recv() will
* return it immediately when there are no longer available messages.
* Conventional values, such as AVERROR_EOF or AVERROR(EAGAIN), can be used
* to cause the receiving thread to stop or suspend its operation.
*/
void av_thread_message_queue_set_err_send(AVThreadMessageQueue *mq,
int err);
/**
* Set the receiving error code.
*
* If the error code is set to non-zero, av_thread_message_queue_send() will
* return it immediately. Conventional values, such as AVERROR_EOF or
* AVERROR(EAGAIN), can be used to cause the sending thread to stop or
* suspend its operation.
*/
void av_thread_message_queue_set_err_recv(AVThreadMessageQueue *mq,
int err);
#endif /* AVUTIL_THREADMESSAGE_H */
近期下载者:
相关文件:
收藏者: