[squeak-dev] Test mp4-movies from ESUG, feedback wanted...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Test mp4-movies from ESUG, feedback wanted...

Göran Krampe
Hey!

Two testmovies from ESUG:

        http://mimer.msc.se/esug

In short these movies are x264 encoded, mp4 container using 720x576
(original resolution) with some deinterlace/denoise tricks, variable
framerate (same as source), bitrate 1500kbps, two pass encoding, AAC
sound mixed down to mono and resampled to 22.05khz, bitrate 32kbps.

Phew!

How did I create them?

I ended up using Handbreak, first playing with its excellent UI and then
ending up scripting it from the CLI. It seems the two leading
"transcoders" in Linux land are Avidemux and Handbreak. I just happened
to use Handbreak. This is the script for anyone interested:

#!/bin/bash
HandBrakeCLI -i $1.$2 -o $1.mp4 --preset="Normal" -m -I -b 1500 -2 -T -e
x264 -x ref=2:bframes=2:me=umh -E faac -B 32 -R 22.05 --mixdown mono -d
fast --denoise medium


And you use it like: "./hb INPUTFILE MP2" ...which should spit out:

  INPUTFILE.mp4

Regarding all the options above, see this page:

http://trac.handbrake.fr/wiki/CLIGuide

I have not yet started to "batch through" all the files so you typically
have until tomorrow to give me feedback on different options and/or tell
me that the DAMN files don't work! :)

regards, Göran

PS. Later when I put them all up we can "decipher" them together and
write some description on what is on them :)


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Test mp4-movies from ESUG, feedback wanted...

Jon Hylands
On Thu, 24 Sep 2009 21:41:33 +0200, Göran Krampe <[hidden email]>
wrote:

>Two testmovies from ESUG:

Works fine for me - (Vista) using QuickTime

Later,
Jon


Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: [Esug-list] Test mp4-movies from ESUG, feedback wanted...

Martin McClure
In reply to this post by Göran Krampe
Göran Krampe wrote:

> Hey!
>
> Two testmovies from ESUG:
>
>     http://mimer.msc.se/esug
>
> In short these movies are x264 encoded, mp4 container using 720x576
> (original resolution) with some deinterlace/denoise tricks, variable
> framerate (same as source), bitrate 1500kbps, two pass encoding, AAC
> sound mixed down to mono and resampled to 22.05khz, bitrate 32kbps.


Thanks, Göran!

These look quite nice.

The sound level is a little low, except when there's applause.

They would look better with the contrast increased. I use Cinelerra to
to that kind of transform (and many others).

Regards,

-Martin

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Test mp4-movies from ESUG, feedback wanted...

K. K. Subramaniam
In reply to this post by Göran Krampe
On Friday 25 Sep 2009 1:11:33 am Göran Krampe wrote:
> Two testmovies from ESUG:
>
>         http://mimer.msc.se/esug
>
> In short these movies are x264 encoded, mp4 container using 720x576
> (original resolution) with some deinterlace/denoise tricks, variable
> framerate (same as source), bitrate 1500kbps, two pass encoding, AAC
> sound mixed down to mono and resampled to 22.05khz, bitrate 32kbps.
On Linux, vlc and ffplay play these clips fine. But mplayer/linux, gives the
following messages. The video has incorrect aspect and missing initial key
frames. Audio is 44khz .. FYI .. Subbu

---
Playing esug51.mp4
ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
Quicktime/MOV file format detected.
.....
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
...
Forced audio codec: mad
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.26% (ratio: 3995->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)
decoder)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[h264 @ 0x88a9a50]warning: first frame is no keyframe
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.



Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Adjusted, please check (was Re: [Esug-list] Test mp4-movies from ESUG, feedback wanted...)

Göran Krampe
In reply to this post by Göran Krampe
Hi!

Ok, I have looked at responses from Andres, Martin etc and made the
following adjustments to the script:

"The sound level is a little low":
        I added "-D 2.0", dynamic range compression that might help. Haven't
listened myself :)

"It seems you can tell HandbrakeCLI to use CRF ":
        Yes, I moved to use that and have now a quality setting of 0.5.

Regarding aspects, I enabled anamorphic (not sure what it will do!):
        http://trac.handbrake.fr/wiki/AnamorphicGuide

------------------
I have now uploaded two different new versions of esug44.mp4 (using the
above changes) that are less than HALF the size of esug44.mp4 to:

        http://mimer.msc.se/esug

Details:
        esug44-2.mp4 built using:

HandBrakeCLI -i $1.$2 -o $1.mp4 --preset="Normal" -p -m -I -q 0.5 -e
x264 -x ref=2:bframes=2:me=umh -E faac -B 32 -R 22.05 --mixdown mono -D
2.0 -d fast --denoise medium

        esug44-3.mp4 built using:

HandBrakeCLI -i $1.$2 -o $1.mp4 --preset="Normal" -p -m -I -q 0.5 -e
x264 -x
ref=5:mixed-refs:bframes=4:bime:weightb:b-rdo:me=umh:subme=9:filter=0,-1:trellis=2:threads=4
-E faac -B 32 -R 22.05 --mixdown mono -D 2.0 -d fast --denoise medium


The difference lies only in the options to x264 and this last version
rips all options from this webpage:

http://filthypants.blogspot.com/2008/07/comparison-of-x264h264-advanced-options.html

Now... time to pick! esug44-2 or esug44-3? You may not even be able to
tell the difference :)

When decided I have 48Gb to churn through!

regards, Göran


Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Adjusted, please check (was Re: [Esug-list] Test mp4-movies from ESUG, feedback wanted...)

Henrik Sperre Johansen
I can't speak for the audio quality as I haven't played them with  
sound on, but the video looks abit better in version 3 to me, with  
some more contrast.
Compared still pictures at 1:06, in version 3 the blackboard feels  
easier to read, and items on the desk behind the speaker seem like  
they have more detail as well.
To me, the hair looks less blurry too.

Cheers,
Henry

On Sep 25, 2009, at 4:06 45PM, Göran Krampe wrote:

> Hi!
>
> Ok, I have looked at responses from Andres, Martin etc and made the  
> following adjustments to the script:
>
> "The sound level is a little low":
> I added "-D 2.0", dynamic range compression that might help.  
> Haven't listened myself :)
>
> "It seems you can tell HandbrakeCLI to use CRF ":
> Yes, I moved to use that and have now a quality setting of 0.5.
>
> Regarding aspects, I enabled anamorphic (not sure what it will do!):
> http://trac.handbrake.fr/wiki/AnamorphicGuide
>
> ------------------
> I have now uploaded two different new versions of esug44.mp4 (using  
> the above changes) that are less than HALF the size of esug44.mp4 to:
>
> http://mimer.msc.se/esug
>
> Details:
> esug44-2.mp4 built using:
>
> HandBrakeCLI -i $1.$2 -o $1.mp4 --preset="Normal" -p -m -I -q 0.5 -e  
> x264 -x ref=2:bframes=2:me=umh -E faac -B 32 -R 22.05 --mixdown mono  
> -D 2.0 -d fast --denoise medium
>
> esug44-3.mp4 built using:
>
> HandBrakeCLI -i $1.$2 -o $1.mp4 --preset="Normal" -p -m -I -q 0.5 -e  
> x264 -x ref=5:mixed-refs:bframes=4:bime:weightb:b-
> rdo:me=umh:subme=9:filter=0,-1:trellis=2:threads=4 -E faac -B 32 -R  
> 22.05 --mixdown mono -D 2.0 -d fast --denoise medium
>
>
> The difference lies only in the options to x264 and this last  
> version rips all options from this webpage:
>
> http://filthypants.blogspot.com/2008/07/comparison-of-x264h264-advanced-options.html
>
> Now... time to pick! esug44-2 or esug44-3? You may not even be able  
> to tell the difference :)
>
> When decided I have 48Gb to churn through!
>
> regards, Göran
>
> _______________________________________________
> Esug-list mailing list
> [hidden email]
> http://lists.esug.org/listinfo/esug-list
>


Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Adjusted, please check (was Re: [Esug-list] Test mp4-movies from ESUG, feedback wanted...)

Göran Krampe
Henrik Johansen wrote:
> I can't speak for the audio quality as I haven't played them with sound
> on, but the video looks abit better in version 3 to me, with some more
> contrast.
> Compared still pictures at 1:06, in version 3 the blackboard feels
> easier to read, and items on the desk behind the speaker seem like they
> have more detail as well.
> To me, the hair looks less blurry too.

Super! Then unless someone reports problems in playing version 3 or
reports any other issues I should look at (not sure of the aspect ratio
thing for example), I am set to go for that one.

regards, Göran


Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Adjusted, please check (was Re: [Esug-list] Test mp4-movies from ESUG, feedback wanted...)

marten
In reply to this post by Göran Krampe
Amazing discussion ... I was able to reduce a "little" video from 234
MByte (Pinnacle 12 - mp4)  to around 95 MB using your tips.

Thanks !

Marten