<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><span style="font-size: 10pt;">>From<b>:</b></span><span style="font-size: 10pt;"> Libav-user <libav-user-bounces@ffmpeg.org> on behalf of Carl Eugen Hoyos <ceffmpeg@gmail.com></span><span style="font-size: 10pt;"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 13.3333px;"></p>
<div id="x_divRplyFwdMsg" dir="ltr" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt;"><span style="font-size: 10pt; font-family: Calibri, Arial, Helvetica, sans-serif;"></span><span style="font-size: 10pt; font-family: Calibri, Arial, Helvetica, sans-serif;">>Sent<b>:</b></span><span style="font-size: 10pt; font-family: Calibri, Arial, Helvetica, sans-serif;"> 12
April 2017 20:46 GMT</span><br>
<span style="font-size: 10pt; font-family: Calibri, Arial, Helvetica, sans-serif;"></span><span style="font-size: 10pt; font-family: Calibri, Arial, Helvetica, sans-serif;">>To<b>:</b></span><span style="font-size: 10pt; font-family: Calibri, Arial, Helvetica, sans-serif;"> This
list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter.</span><br>
<span style="font-size: 10pt; font-family: Calibri, Arial, Helvetica, sans-serif;"></span><span style="font-size: 10pt; font-family: Calibri, Arial, Helvetica, sans-serif;">>Subject<b>:</b></span><span style="font-size: 10pt; font-family: Calibri, Arial, Helvetica, sans-serif;"> Re:
[Libav-user] Muxing to file with unknown frame rate</span></font></div>
<div id="x_divRplyFwdMsg" dir="ltr" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt;"><span style="font-size: 10pt; font-family: Calibri, Arial, Helvetica, sans-serif;">></span></font></div>
</span></span>
<p></p>
<p><span style="font-size: 10pt;"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 13.3333px;">>>2017-04-12 16:29 GMT+02:00 Robert Jamieson <bob_jam11@hotmail.com>:</span><br>
</span></p>
<p><span style="font-size: 10pt;">>> I am attempting to mux footage from a variety of webcams into standards</span><br>
</p>
<div style="color: rgb(0, 0, 0);"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">>> based files. The footage is spread over a large number of files (all from<br>
>> the same camera). The files are a proprietary format containing the encoded<br>
>> frames that came directly from the camera (in most cases it is H.264, MJPEG<br>
>> or MPEG4 with G.711 or PCM16 audio). Audio is optional.<br>
>><br>
>><br>
>> I have created a pipeline for processing the footage that comprises of a<br>
>> reader for the files (this reads the frames and pushes them through the<br>
>> pipeline), a file sync that picks a suitable file format (based on the<br>
>> incoming video and audio formats) and writes the already encoded frames into<br>
>> the file. I am purposely not using a transcoder to save processing time.<br>
><br>
>Just curious:<br>
>Why can't you use the FFmpeg executable?</div>
<div class="PlainText">></div>
<div class="PlainText">>Or to say it differently: Is there an input sample file that is not<br>
>supported by FFmpeg?<br>
<br>
The files are in a proprietary format and are both encrypted and contain other data.</div>
<div class="PlainText"><br>
</div>
<div class="PlainText">I'm also decoding for playback as part of a wider application.<br>
<br>
>> This is working well with one exception, I can't tell what the frame rate is<br>
>> ahead of time because I can't read the files before I process them.<br>
<br>
>FFmpeg's mov muxer only supports cfr, so you have to know the<br>
>framerate in advance.</div>
<div class="PlainText"><br>
</div>
<div class="PlainText">I have done some tests and noticed that both VLC and WMP seem to be far more supportive of mp4 containers with vfr and playback without issue.</div>
<div class="PlainText"><br>
</div>
<div class="PlainText">Ideally I would like to support other containers for flexibility and also allow for not re-encoding the data to increase performance but at the moment it doesn't look like I will be able to do that.<br>
<br>
>Carl Eugen<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>