Hi,
I use ffmpeg to encode video/audio and mux video/audio streams into one files.
How to set display and sample aspect ratio for video stream?
Thanks!
B.R.
Andrew___
Libav-user mailing list
Libav-user@ffmpeg.org
I am successfully recording video and audio captured from devices
attached to the computer. However, when the file is played back using
Windows Media player, the progress slider at the bottom is not updated.
I do write the trailer just before calling avformat_free_context with my
output
Most likely time info is wrong: pts values or time base.
Run the file through ffmpeg.exe with acodec and vcodec set to copy.
This will remux the file and yield compliant (though not necessarily
correct) timestamps.
If the remuxed version plays ok, examine it to find out its time base and
the
qw writes:
> I use ffmpeg to encode video/audio and mux video/audio
> streams into one files. How to set display
From a programer's pov, there is no display aspect ratio.
> and sample aspect ratio for video stream?
(Where did you search for "aspect" in the code?)
Video SAR
YIRAN LI writes:
> But from one file I used I see that PTS == DTS. Could
> this be produced by an encoder configure with non-zero
> max bframes?
Only if the encoder is broken afaict but I am certainly
not an expert for these kind of questions.
> If yes, do I still need to