[FFmpeg-user] converting 1080p50 to PAL interlaced dv format

Konrad Karl kk_konrad at gmx.at
Wed Jan 25 13:15:08 CET 2012


On Wed, Jan 25, 2012 at 12:37:48PM +0200, Maksym Veremeyenko wrote:
> 24.01.12 21:01, Bo??tjan Strojan ??????????????(????):
> >5. reinterlace (maybe using tinterlace)
>                               ^^^^^^^^^^
> 
> -vf "scale=720:576,tinterlace=5"

on which version of ffmpeg and mplayer should this work?

I am using ffmpeg-0.8.8-1.fc16.x86_64 and
mplayer-1.0-0.128.20110816svn.fc16.x86_64

ffmpeg -i out.mts -vf "scale=720:576,tinterlace=5" aaa.mp4 
says:
No such filter: 'tinterlace'
Error opening filters!

after reading  man page I tried:

ffmpeg -i out.mts -vf "scale=720:576,mp=tinterlace=4" -vcodec mpeg2video -an  aaa.mpg

(my mencoder only knows about tinterlace=4 and audio disabled because
focus is on working video first :=)

but there is no usable video. see below:

Konrad

PS: how to get rid of the  configuration: --prefix=/usr --bindir=/usr.... output?
    redirecting stderr to /dev/null also redirects the quetion about
    output file overwrite...

-----------defective output --------------------------

ffprobe aaa.dv 
ffprobe version 0.8.8, Copyright (c) 2007-2011 the FFmpeg
developers....[trimmed]
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  5. 0 / 53.  5. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[dv @ 0x1c5d600] Estimating duration from bitrate, this may be
inaccurate
Input #0, dv, from 'aaa.dv':                                                                                                                        
  Duration: 00:00:00.08, start: 0.000000, bitrate: 28800 kb/s
    Stream #0.0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, PAR 16:15
DAR 4:3, 25 tbr, 25 tbn, 25 tbc

-----------------------------------------

ffmpeg -i out.mts -vf "scale=720:576,mp=tinterlace=4" -vcodec dvvideo -an  aaa.dv
... [trimmed]
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  5. 0 / 53.  5. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mpegts, from 'out.mts':
  Duration: 00:00:01.49, start: 1.407967, bitrate: 19139 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0.0[0x100]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1
DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0.1[0x101]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
File 'aaa.dv' already exists. Overwrite ? [y/N] y
[buffer @ 0x17b2dc0] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1
sws_param:
[mp @ 0x17a5800] This is a unholy filter, it will be purified by the
ffmpeg exorcist team
which will change its syntax from dark -vf mp to light -vf.                                                                                         
Thou shalst not make spells or scripts that depend on it                                                                                            
[scale @ 0x17ae740] w:1920 h:1080 fmt:yuv420p -> w:720 h:576 fmt:yuv420p
flags:0x4                                                                  
Output #0, dv, to 'aaa.dv':
  Metadata:
    encoder         : Lavf53.5.0
    Stream #0.0: Video: dvvideo, yuv420p, 720x576 [PAR 64:45 DAR 16:9],
q=2-31, 200 kb/s, 90k tbn, 50 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
[buffer @ 0x17b2dc0] request_frame() called with no available frame!
    Last message repeated 28 times  281kB time=00:00:00.04
bitrate=57600.0kbits/s dup=0 drop=23                                                     
frame=    2 fps=  1 q=0.0 Lsize=     281kB time=00:00:00.04
bitrate=57600.0kbits/s dup=0 drop=27    
video:281kB audio:0kB global headers:0kB muxing overhead 0.000000%



More information about the ffmpeg-user mailing list