<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Le 02/07/2012 23:19, Iain Mott a écrit :
<blockquote cite="mid:1341263944.2033.23.camel@machado" type="cite">
<pre wrap="">Forgot to mention i'm using Ubuntu 11.10 and the video files are 30 fps
with the codec H.264 / AVC
</pre>
</blockquote>
What are your encoding settings? I always use a GOP size of 1 with
h264, otherwise you might encounter temporal interpolation artefacts
at playtime. Have a look at the Blender 3D snapshot at the bottom of
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://fr.flossmanuals.net/performance-audiovisuelle-et-pratique-du-vjing/ch006_bases-de-limage-numerique">http://fr.flossmanuals.net/performance-audiovisuelle-et-pratique-du-vjing/ch006_bases-de-limage-numerique</a><br>
<br>
There is also a very nice H264 encoder called h264enc which might
help you <br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://h264enc.sourceforge.net/">http://h264enc.sourceforge.net/</a><br>
<br>
If you'd rather use a gui, try
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://ekd.tuxfamily.org/index.php/Accueil/AccueilEnglish">http://ekd.tuxfamily.org/index.php/Accueil/AccueilEnglish</a><br>
<br>
Here are a command line which has proven useful:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre style="padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(47, 111, 171); border-right-color: rgb(47, 111, 171); border-bottom-color: rgb(47, 111, 171); border-left-color: rgb(47, 111, 171); border-image: initial; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); line-height: 1.1em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "> ffmpeg -an -y -i DSCN0716.MOV -r 25 -s 960x540 -f avi -vcodec libx264 -b:v 50000k -g 1 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 /bigfiles/DSCN0176.mp
4
</pre>
<br class="Apple-interchange-newline">
key parameter is the -g option , set it to one so to have a keyframe
every frame, hence no interpolation at all. If you're rether the
datamosh guy, just set very very high ;-) such as this one courtesy
BenJah :<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre style="padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(47, 111, 171); border-right-color: rgb(47, 111, 171); border-bottom-color: rgb(47, 111, 171); border-left-color: rgb(47, 111, 171); border-image: initial; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); line-height: 1.1em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">ffmpeg -i input_video.mov -g 250 -sc_threshold 1000000000 -vcodec libxvid output_video.mp4
</pre>
<br class="Apple-interchange-newline">
All these are compiled on the French-speaking Labomédia wiki:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://wiki.labomedia.org/index.php/Le_DataMoshing">http://wiki.labomedia.org/index.php/Le_DataMoshing</a><br>
<br>
<br>
<br>
<br>
<blockquote cite="mid:1341263944.2033.23.camel@machado" type="cite">
<pre wrap="">Also, while sending an "auto 1" message to pix_film gives smooth
playback, the file plays perhaps 30% slow. This doesn't seem to be a CPU
issue as the cpu is running between 20 and 30% while playing the file.</pre>
</blockquote>
<br>
Auto 1 doesnt always detect the right framerate as I have
experienced. Pix_movie is more reliable.<br>
<br>
Cheers<br>
<br>
OH<br>
<blockquote cite="mid:1341263944.2033.23.camel@machado" type="cite">
<pre wrap="">
Iain
On Mon, 2012-07-02 at 17:14 -0300, Iain Mott wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi list,
I have a patch that syncs multi-channel audio with video by passing
frame numbers to pix_film. These frame numbers are generated by the
audio playback. With HD video however and scenes including smooth
movements, the image becomes a little jittery and a bit blurred. I tried
completely disabling the audio but it made no effect. When audio is
enabled and I run the pix_film with an "auto 1" message, playback is
excellent.
I'll experiment now to see if lip-sync can be maintained without propper
frame-sync, since my clips have at maximum 3min duration.
I'm wondering though if anyone else had come across this blurring?
I'm using by the way, a heavily butchered version of Hans-Christoph's
framesync (and an old version of it). However, even if don't use the
framesync patches and pass a frame count generated with metro and a
counter at the correct rate of 30fps - the blurring still happens.
Suggestions most welcome!
Cheers,
Iain
_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-abbreviated" href="mailto:olivier@heinry.fr">olivier@heinry.fr</a>
<a class="moz-txt-link-freetext" href="http://olivier.heinry.fr">http://olivier.heinry.fr</a>
</pre>
<br>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://olivier.heinry.fr">http://olivier.heinry.fr</a></pre>
</body>
</html>