libavcodec Questions
5
Solved
I am working on capturing and streaming audio to RTMP server at a moment. I work under MacOS (in Xcode), so for capturing audio sample-buffer I use AVFoundation-framework. But for encoding and stre...
Shirt asked 3/6, 2013 at 19:58
3
I am trying to decode an MPEG video file using LibAV. There are two terms which I am not able to grok properly, Frames and Packets.
As per my present understanding, Frames are uncompressed video fr...
Geisha asked 1/12, 2018 at 20:31
1
I have to fill the ffmpeg AVFrame->data from a cairo surface pixel data. I have this code:
/* Image info and pixel data */
width = cairo_image_surface_get_width( surface );
height = cairo_image_...
Neile asked 6/12, 2021 at 15:3
2
I'm using ffmpeg libraries to decode, scale, and re-encode video within an MPEG transport stream. I've just recompiled from source to v3.3.2 and changed from the old avcodec_decode_video2() API to ...
National asked 28/7, 2017 at 1:42
4
I'm trying to use ffmpeg to capture frames from a video file, but I can't even get the duration of a video. everytime when I try to access it with pFormatCtx->duration I'm getting 0. I know the ...
Fright asked 24/9, 2012 at 2:35
1
Solved
As it stands, my project correctly uses libavcodec to decode a video, where each frame is manipulated (it doesn't matter how) and output to a new video. I've cobbled this together from examples fou...
Rosa asked 19/3, 2021 at 5:38
1
I'm trying to write libavfilter bindings to convert an arbitrary audio file into a raw frequency (spectrum) data to do subsequent audio analysis. Is there anything built-in ffmpeg or libavfilter to...
Residentiary asked 3/1, 2020 at 13:19
1
Solved
I am trying to use OpenGL to capture the back buffer of my computer's screen, and then H.264 encode the buffer using FFMPEG's libavcodec library. The issue I'm having is that I would like to encode...
Cuddle asked 4/1, 2020 at 0:26
5
Solved
I'm trying to create mp4 video file with FFmpeg and C++, but in result I receive broken file (windows player shows "Can't play ... 0xc00d36c4"). If I create .h264 file, it can be played with 'ffpla...
Steadman asked 27/9, 2017 at 9:38
1
Solved
I have a raw h264 file that I can display with VLC, on a mac:
open -a VLC file.h264
I can convert this to mp4 with the command line
ffmpeg -f h264 -i file.h264 -c:v copy file.mp4
But what...
Trainor asked 15/4, 2019 at 23:33
5
Solved
I've installed the latest ffmpeg but it seems unable to locate the video codecs. Do I need to completeley remove ffmpeg and re run the ./configure differently in order for ffmpeg to find the video ...
Judie asked 19/1, 2011 at 16:44
3
Solved
I'm having no luck install libav on OS X Mavericks. Ive tried everything.
I'm following this guide: http://earthwithsun.com/questions/568464/install-latest-libav-avconv-on-osx
After doing the mac...
Sheik asked 1/2, 2014 at 8:28
4
Solved
By default, libavformat writes error messages to stderr, Like:
Estimating duration from bitrate, this may be inaccurate
How can I turn it off? or better yet, pipe it to my own neat logging functi...
Cornstarch asked 16/10, 2011 at 19:44
5
I found many question about creating DVD menu using ffmpeg but i did not find any one about programmically access to DVD structure information. When i using libav (or FFmpeg) library i can open DVD...
Renelle asked 2/9, 2012 at 19:51
0
I have video encoded in mpeg-dash(*.mpd, init segments, video segments)
Task is to replace one of video segments with segment generated by me. And so video is still can be played.
I read propertie...
Xylina asked 14/2, 2018 at 15:19
1
Solved
I have a video taken from my mobile in portrait mode. Here is the dumped info about the video:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.MOV':
Metadata:
major_brand : qt
minor_version : 0
co...
Auklet asked 4/7, 2017 at 9:44
1
Solved
I am working on a python project that uses ffmpeg as part of its core functionality. Essentially the functionality from ffmpeg that I use boils down to these two commands:
ffmpeg -i udp://<addr...
Cloyd asked 5/9, 2017 at 2:52
2
Solved
I am recording video with FFmpeg and I would like the frame rate it is written with to at least be in the right ballpark. Right now I take the frame rate that my input claims to have and use that t...
Rattly asked 13/4, 2016 at 15:35
0
How can I detect failure from av_interleaved_write_frame/av_write_frame when the output uses TLS and the connection fails? Both functions continue to return 0 after the destination becomes unavaila...
Emmott asked 9/3, 2017 at 22:36
1
I'm using the dev build from zeranoe.com which has OpenH264 and libx264 in it.
How can i choose between these two Decoders to compare the decoding speed ?
avcodec_find_decoder(AVCodecID.AV_CODEC_I...
Benally asked 14/2, 2017 at 7:21
1
Solved
I know that it copies something but other than that what does it do (to what extend it affects the output file)? Is it a switch or option? Why does it not have a hyphen before the word itself?
I s...
Tallbott asked 14/7, 2016 at 16:23
1
I'm trying to copy all streams from several files into one file without transcoding streams. Something you usually do with ffmpeg utility by ffmpeg -i “file_with_audio.mp4” -i “file_with_video.mp4”...
Hardly asked 29/11, 2015 at 10:23
1
Solved
I'm trying to convert a YUV420P image (AV_PIX_FMT_YUV420P) to a JPEG using ffmpeg's libavformat and libavcodec. This is my code so far:
AVFormatContext* pFormatCtx;
AVOutputFormat* fmt;
AVStream* ...
Mooncalf asked 26/11, 2015 at 7:14
2
Solved
I'm using libavcodec (latest git as of 3/3/10) to encode raw pcm to aac
(libfaac support enabled). I do this by calling avcodec_encode_audio
repeatedly with codec_context->frame_size samples each t...
Stigma asked 9/3, 2010 at 16:5
5
Solved
Spent around 4hrs now still can't figure out what is the issue here.
Here is terminal dump :
machine@machine:~$ sudo apt-get install vlc
Reading package lists... Done
Building dependency tree
Read...
Weatherford asked 16/11, 2014 at 12:52
1 Next >
© 2022 - 2024 — McMap. All rights reserved.