[mythtv-users] FFMpeg optimal settings for 1080i
John Pilkington
J.Pilk at tesco.net
Mon Jan 27 12:45:31 UTC 2014
On 27/01/14 12:19, Joseph DeGraw wrote:
> On 01/27/2014 05:54 AM, John Pilkington wrote:
>> On 27/01/14 08:20, John Finlay wrote:
>>> On 1/26/2014 10:51 PM, faginbagin wrote:
>>>> On 1/25/2014 6:14 PM, Joseph DeGraw wrote:
>>>>> On 01/25/2014 05:34 PM, Joseph DeGraw wrote:
>>>>>> I have been working on an issue with HDtv 1080i recordings being
>>>>>> burned
>>>>>> to DVD for playback. It seems with the default settings for
>>>>>> mytharchive
>>>>>> (mythtv .27-fixes, Mythbuntu 12.04) it takes a abnormal amount of
>>>>>> time
>>>>>> to burn a dvd. After alot of reading I came across a thread at the
>>>>>> ffmpeg forums that was very helpful and also listed a command line
>>>>>> for
>>>>>> getting the job done alot faster. Infact, It took me about 20 -30
>>>>>> minutes or less to get a 1920x1080 movie recording onto a dvd with
>>>>>> good
>>>>>> quality. Below is the command line that I used.
>>>>>>
>>>>>> ffmpeg -i "Fatal Honeymoon.mpg" -filter:v
>>>>>> "scale='if(gt(a,720/480),720,-1)':'if(gt(a,720/480),-1,480)',pad=w=720:h=480:x=(ow-iw)/2:y=(oh-ih)/2"
>>>>>>
>>>>>>
>>>>>> -target ntsc-dvd FatalHoneymoon.mpg
>>>>>>
>>
>> That looks like a 'Hey, Mom, look at me' command line. What happens
>> if you use
>>
>> ffmpeg -i "Fatal Honeymoon.mpg" -target ntsc-dvd FatalHoneymoon.mpg
>>
>> or the same but with mythffmpeg?
>>
>> Does it produce a growing output file? Is the result off centre, too
>> wide, too high? A quick test on the first minute or two would give
>> the answer. And I would still like to know the result of
>>
>> ffmpeg -i "Fatal Honeymoon.mpg"
>>
>> Cheers,
>>
>> John P
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
>
> Sorry about the delay.
>
>
> coffee at mythtv2013:~/Videos$ mythffmpeg -i "Fatal Honeymoon.mpg"
> ffmpeg version 1.2.2 Copyright (c) 2000-2013 the FFmpeg developers
> built on Nov 20 2013 01:49:00 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
> configuration: --compile-type=profile --prefix=/usr --runprefix=/usr
> --disable-mythlogserver --enable-crystalhd --enable-lirc
> --enable-audio-alsa --enable-audio-oss --enable-dvb --enable-ivtv
> --enable-firewire --enable-joystick-menu --with-bindings=perl
> --enable-ffmpeg-pthreads --enable-pic
> --perl-config-opts='INSTALLDIRS=vendor' --enable-libvpx --enable-sdl
> --enable-libmp3lame --enable-libx264 --enable-opengl-video
> --enable-vaapi --enable-vdpau
> libavutil 52. 18.100 / 52. 18.100
> libavcodec 54. 92.100 / 54. 92.100
> libavformat 54. 63.104 / 54. 63.104
> libavdevice 54. 3.103 / 54. 3.103
> libavfilter 3. 42.103 / 3. 42.103
> libswscale 2. 2.100 / 2. 2.100
> libswresample 0. 17.102 / 0. 17.102
> libpostproc 52. 2.100 / 52. 2.100
> [mpegts @ 0x22a8a20] PES packet size mismatch
> Input #0, mpegts, from 'Fatal Honeymoon.mpg':
> Duration: 00:39:30.56, start: 11713.117711, bitrate: 13362 kb/s
> Stream #0:0[0x800]: Video: mpeg2video (Main), yuv420p, 1920x1080
> [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
> Stream #0:1[0x801](eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
> Stream #0:2[0x802](spa): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
> At least one output file must be specified
>
Ok, thanks. I just wanted the last few lines to see what the format
was. And about the command line - it's complex and I wasn't sure that
you were suffering from any of the problems that it might be intended to
solve. I found a pastebin with ffmpeg complaining that it couldn't
parse something that looked very similar, too.
I opened Ticket 12026 about this a few days ago.
Cheers,
John P
More information about the mythtv-users
mailing list