[Libav-user] Fwd: Help, Transcoding video
NDJORE BORIS
ndjoreboris at gmail.com
Wed Jan 23 16:56:01 EET 2019
---------- Forwarded message ---------
From: NDJORE BORIS <ndjoreboris at gmail.com>
Date: mer. 23 janv. 2019 à 15:12
Subject: Help, Transcoding video
To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>, <
ffmpeg-user-request at ffmpeg.org>
Hello Team,
I want to encode two times my input video file while decoding it juste one
time.
I use doc/examples/transcoding.c
<https://ffmpeg.org/doxygen/trunk/doc_2examples_2transcoding_8c-example.html>
What I want to do is to decode and encode like the transcoding.c examples
does.
Then, when I finished the decoding and encoding loop (while(1)).
I want to call only the encoding function again in an other loop to encode
a second time without
decoding.
Ex:
First time :
while(1)
{
if (there is a frame in the input file)
{
decode input video;
encode output file;
next streamindex;
}
}
Second time :
while(1)
{ encode another outputfile;
}
What I want to know, is if it's possible to do that (decode only one time
an input file in a whille loop and encode it two times).
If yes, can you tell me how to do it ?
To remind you I used doc/examples/transcoding.c which decode and encode
only one time.
What I want to do is to add an other while loop to encode a second time the
same input video.
I need your help please.
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20190123/62a616af/attachment.html>
More information about the Libav-user
mailing list