On Tue, Jan 13, 2015 at 7:59 PM, Carl Karsten <c...@personnelware.com>
wrote:

> Hey Dan,
>
> Thanks for the quick response.    I am pretty sure I am still having
> trouble.  maybe I don't understand the caveats,  very sure I am frazzled,
> doing the best I can to gather the details needed.
>
> The source file I am working with (10_40_23.dv picked from 100) is 900mb,
> so I pulled some some frames out and seem to have a good test.
>
> melt -progress -profile dv_ntsc_wide 10_40_23.dv force_aspect_ratio=@32/27
> in=2500 out=2600 -consumer avformat:x2.dv
>
> uploaded here:
>
>
> http://5cda49ca88af98bf1f1e-b4c3b47b38bb1b572e0805ecabeeb59c.r76.cf2.rackcdn.com/x2.dv
>
> if I play it, force_aspect_ratio doesn't seem to change anything.
>
> melt profile=dv_ntsc_wide x2.dv
> melt profile=dv_ntsc_wide x2.dv force_aspect_ratio=@32/27
>
>
The problem is the way you are specifying profile; should be "-profile
dv_ntsc_wide"


> Same with encoding to webm.
>
> In case this helps:
>
> melt -progress -profile dv_ntsc_wide x2.dv force_aspect_ratio=@32/27
>
> $ melt -progress -profile dv_ntsc_wide x2.dv force_aspect_ratio=@32/27
> -consumer xml
> [dv @ 0xf011c0] Estimating duration from bitrate, this may be inaccurate
> [dv @ 0xf038c0] Estimating duration from bitrate, this may be inaccurate
> [dv @ 0xf04b20] Estimating duration from bitrate, this may be inaccurate
> <?xml version="1.0"?>
> <mlt LC_NUMERIC="en_US.UTF-8" version="0.9.3" title="x2.dv">
>   <profile description="DV/DVD Widescreen NTSC" width="720" height="480"
> progressive="0" sample_aspect_num="32" sample_aspect_den="27"
> display_aspect_num="16" display_aspect_den="9" frame_rate_num="30000"
> frame_rate_den="1001" colorspace="601"/>
>   <producer id="producer0" in="0" out="100">
>     <property name="mlt_type">producer</property>
>     <property name="length">101</property>
>     <property name="eof">pause</property>
>     <property name="resource">x2.dv</property>
>     <property name="meta.media.nb_streams">2</property>
>     <property name="meta.media.0.stream.type">video</property>
>     <property name="meta.media.0.stream.frame_rate">29.97</property>
>     <property
> name="meta.media.0.stream.sample_aspect_ratio">1.18519</property>
>     <property name="meta.media.0.codec.width">720</property>
>     <property name="meta.media.0.codec.height">480</property>
>     <property name="meta.media.0.codec.frame_rate">29.97</property>
>     <property name="meta.media.0.codec.pix_fmt">yuv411p</property>
>     <property
> name="meta.media.0.codec.sample_aspect_ratio">1.18519</property>
>     <property name="meta.media.0.codec.colorspace">601</property>
>     <property name="meta.media.0.codec.name">dvvideo</property>
>     <property name="meta.media.0.codec.long_name">DV (Digital
> Video)</property>
>     <property name="meta.media.0.codec.bit_rate">28771229</property>
>     <property name="meta.media.1.stream.type">audio</property>
>     <property name="meta.media.1.codec.sample_fmt">s16</property>
>     <property name="meta.media.1.codec.sample_rate">48000</property>
>     <property name="meta.media.1.codec.channels">2</property>
>     <property name="meta.media.1.codec.name">pcm_s16le</property>
>     <property name="meta.media.1.codec.long_name">PCM signed 16-bit
> little-endian</property>
>     <property name="meta.media.1.codec.bit_rate">1536000</property>
>     <property name="meta.attr.timecode.markup">00:00:00:00</property>
>     <property name="seekable">1</property>
>     <property name="meta.media.sample_aspect_num">32</property>
>     <property name="meta.media.sample_aspect_den">27</property>
>     <property name="aspect_ratio">1.18519</property>
>     <property name="audio_index">1</property>
>     <property name="video_index">0</property>
>     <property name="mlt_service">avformat</property>
>     <property name="force_aspect_ratio">1.18519</property>
>   </producer>
>   <playlist id="playlist0">
>     <entry producer="producer0" in="0" out="100"/>
>   </playlist>
>   <tractor id="tractor0" title="x2.dv" global_feed="1" in="0" out="100">
>     <track producer="playlist0"/>
>   </tractor>
> </mlt>
>
>
> Thanks again for all your help.
>
>
>
> On Tue, Jan 13, 2015 at 1:11 PM, Dan Dennedy <d...@dennedy.org> wrote:
>
>> On Mon, Jan 12, 2015 at 3:42 PM, Carl Karsten <c...@personnelware.com>
>> wrote:
>>
>>> I am hoping there is a setting I can use to override the aspect ratio
>>> set in dv frames.
>>>
>>> I have  .dv files that are a mix of 4:3 frames and 16:9.  they should
>>> all be 16:9. (it is a result of sending 16:9 vga in to a scan converter
>>> that spit out 4:3 dv.)  I don't need black bars or any sort of
>>> transformation, just change the aspect ratio byte on the dv frame.
>>>
>>> when I encode,  melt seems to use the first frame.  I could add a single
>>> dv frame to the start of each file, that would likely work.  I am hoping I
>>> can just add a parameter to my .mlt xml or melt command line.
>>>
>>> Any suggestions?
>>>
>>>
>> Hi Carl,
>> Yes, you can supply force_aspect_ratio to the producer, but there are 2
>> caveats:
>>
>> 1.) It does not instruct the auto-profile mechanism - use an explicit
>> profile.
>> 2.) It is sample, not picture aspect - see a profile for details.
>>
>> For example,
>> melt -query profile=dv_ntsc_wide
>> ---
>> description: DV/DVD Widescreen NTSC
>> frame_rate_num: 30000
>> frame_rate_den: 1001
>> width: 720
>> height: 480
>> progressive: 0
>> sample_aspect_num: 32
>> sample_aspect_den: 27
>> display_aspect_num: 16
>> display_aspect_den: 9
>> colorspace: 601
>> ...
>> melt -profile dv_ntsc_wide some.dv force_aspect_ratio=@32/27
>>
>> (The @ sign makes the MLT properties system interpret the value as a
>> simple math expression.)
>>
>>
>>
>>
>>
>
>
> --
> Carl K
>
>


-- 
+-DRD-+
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to