libavformat Questions
3
I wanted to do a basic fragmented mp4 broadcast program with avformat libs and HTML5 video and MSE.
This is a live stream and I use avformat to copy h264 data to mp4 fragments.
Here is my basic d...
Ahrendt asked 7/3, 2020 at 17:49
2
Is it possible to store a pcm audio file into .mp4 file?
I used ffmpeg command "ffmpeg -i tempA.wav -acodec copy temp.mp4" but unable to store it in mp4 container file.
Input #0, wav, from 'tem...
Bottommost asked 15/7, 2013 at 10:23
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
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'm a first time user of ffmpeg and I'm having trouble with initializing an output file for mkv muxing.
I followed the description on the middle of this page but it doesn't work.
When I call the a...
Girand asked 16/6, 2019 at 15:18
4
Solved
I try to create fragmented MP4 from raw H264 video data so I could play it in internet browser's player. My goal is to create live streaming system, where media server would send fragmented MP4 pie...
Glitter asked 9/1, 2019 at 23:4
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
1
Solved
I am multiplexing video and audio streams. Video stream comes from generated image data. The audio stream comes from aac file. Some audio files are longer than total video time I set so my strategy...
Brianna asked 17/3, 2018 at 22:10
3
I have downloaded videos from CDN in flv format (video H264 and audio AAC) and remux to them to MP4 format. But videos are limited by length. So i've downloaded each video in several parts: started...
Milling asked 29/4, 2013 at 15:33
0
How can I implement the equivalent of this command:
ffmpeg -i test.h264 -vcodec copy -hls_time 5 -hls_list_size 0 foo.m3u8
My understanding is that you do something like this (pseudo code for cl...
Abseil asked 20/11, 2017 at 16:27
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
4
I'm trying to record RTSP stream from Axis camera with FFmpeg libavformat.
I can grab video from files and then save it to another file, this is OK. But camera sends strange data, FPS is 100 and ca...
Davin asked 12/2, 2012 at 19:6
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
1
Solved
I'm trying to retrieve the duration and number of frames from a WebM file using FFMPEG and libavformat. I'm adapting some code that was initially written to work with MP4s, and when passing an MP4 ...
Nephrosis asked 11/9, 2015 at 21:6
2
Solved
I want to build a statically linked executable statically linked to libavcodec and libavformat.
The static ffmpeg library was build with:
./configure --enable-static --enable-gpl --enable-nonfree ...
Nepenthe asked 22/7, 2014 at 10:22
4
Solved
I'm currently looking to access libavutil, libavformat and libavcodec (all part of FFMpeg) from .NET.
Currently, I'm getting the libraries from the automated builds of the shared FFMpeg package pe...
Nephelinite asked 24/9, 2010 at 18:53
1
I want to first decode a MP3 audio file, and then increase the volume of the audio, and then encode it again into a new MP3 file. I want to use libavformat or libavcodec for this. Can you help me h...
Frigate asked 1/2, 2014 at 8:50
1
I am trying to capture the camera output and make a video using libavcodec. As an example on how to accomplish this i have used ffmpeg muxing example.
The problem is that a 4 seconds video has a s...
Antirachitic asked 18/10, 2013 at 12:14
1
Solved
The libavcodec documentation is not very specific about when to free allocated data and how to free it. After reading through documentation and examples, I've put together the sample program below....
Strenta asked 2/8, 2013 at 19:32
1
Solved
How to read H264 SPS & PPS NAL bytes using libavformat APIs?
I tried reading video data to 'AVPacket' structure using "av_read_frame(input_avFormatContext, &avPkt)" API, from a .mp4 video ...
Baily asked 24/6, 2013 at 15:43
3
Solved
I'm currently trying to read small video files sent from a server
In order to read a file using libavformat, you are supposed to call
av_open_input_file(&avFormatContext, "C:\\path\\to\\video...
Doubledealing asked 7/3, 2012 at 15:48
1 Next >
© 2022 - 2025 — McMap. All rights reserved.