Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Transcoding to vcd target - cannot get the syntax correct.

Date: Tue, 24 Jul 2012 07:41:08 -0700 (PDT)
From: mattgo...@gmail.com
To: ffmbc-discuss@googlegroups.com
Message-Id: <14d38f2a-ffae-4981-b75f-62128090d1c0@googlegroups.com>
Subject: Transcoding to vcd target - cannot get the syntax correct.
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_39_1456529.1343140868439"

------=_Part_39_1456529.1343140868439
Content-Type: multipart/alternative; 
	boundary="----=_Part_40_30450714.1343140868443"

------=_Part_40_30450714.1343140868443
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Apologies if this is a basic issue, but I cannot get quite a simple command 
line to run, and I assume I'm just getting something wrong in the syntax.

Source = IMX50 in a MOV wrapper.
Destination = vcd

*Attempt 1

*ffmbc -i "Q:\Input.mov" -target vcd -t 120 "E:\ffmbc_vcd.mpg" 

*Output

*FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Q:\Input.mov':
  Metadata:
    creation_time: 2012-07-23 10:30:31
    timecode: 00:58:52:09
  Duration: 00:24:00.00, start: 0.000000, bitrate: 53150 kb/s
    Stream #0.0(eng): Video: mpeg2video (4:2:2), yuv422p, 720x608i tff [PAR 
152:
135 DAR 4:3], 50000 kb/s, 25.00 fps
    Metadata:
      codec_name: MPEG IMX 625/50 (50 Mb/s)
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream #0.2(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream #0.3(eng): Data: unknown (tmcd)
Incompatible pixel format 'yuv422p' for codec 'mpeg1video', auto-selecting 
forma
t 'yuv420p'
[scale @ 01BB4D80] w:720 h:608 fmt:yuv422p -> w:352 h:288 fmt:yuv420p 
flags:0x4
Error, target vcd only supports 352x288(pal) or 352x240(ntsc) resolutions

Understandable error, so I decide to add a crop to remove the VBI data, and 
then a scale to the desired size:
*
Attempt 2

*ffmbc -i "Q:\Input.mov" -vf "crop=720:576:0:32,scale=352:288" -target vcd 
-t 120 "E:\ffmbc_vcd.mpg" *

Output

*FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Q:\Input.mov':
  Metadata:
    creation_time: 2012-07-23 10:30:31
    timecode: 00:58:52:09
  Duration: 00:24:00.00, start: 0.000000, bitrate: 53150 kb/s
    Stream #0.0(eng): Video: mpeg2video (4:2:2), yuv422p, 720x608i tff [PAR 
152:
135 DAR 4:3], 50000 kb/s, 25.00 fps
    Metadata:
      codec_name: MPEG IMX 625/50 (50 Mb/s)
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream #0.2(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream #0.3(eng): Data: unknown (tmcd)
Incompatible pixel format 'yuv422p' for codec 'mpeg1video', auto-selecting 
forma
t 'yuv420p'
[scale @ 01BB4E80] w:720 h:608 fmt:yuv422p -> w:352 h:288 fmt:yuv420p 
flags:0x4
[crop @ 01BB5320] w:352 h:288 -> w:720 h:576
[crop @ 01BB5320] Invalid too big or non positive size for width '720' or 
height
 '576'
Error opening filters!

So, it seems to be scaling then cropping. I get the same results when I do 
this without the filter crop:

ffmbc -i "Q:\Input.mov" -vf "crop=720:576:0:32" -target vcd -t 120 
"E:\ffmbc_vcd_2.mpg" 

Interestingly, when I run the above command line with a different target:

ffmbc -i "Q:\Input.mov" -vf "crop=720:576:0:32" -target dvd -t 120 
"E:\ffmbc_dvd.mpg" 

It doesn't complain, but also doesn't crop the vbi lines.

Somebody please point me in the right direction!!

Many Thanks
*
***
------=_Part_40_30450714.1343140868443
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Apologies if this is a basic issue, but I cannot get quite a simple command=
 line to run, and I assume I'm just getting something wrong in the syntax.<=
br><br>Source =3D IMX50 in a MOV wrapper.<br>Destination =3D vcd<br><br><b>=
Attempt 1<br><br></b>ffmbc -i "Q:\Input.mov" -target vcd -t 120 "E:\ffmbc_v=
cd.mpg" <br><br><b>Output<br><br></b>FFmbc version 0.7-rc7<br>Copyright (c)=
 2008-2012 Baptiste Coudurier and the FFmpeg developers<br>Input #0, mov,mp=
4,m4a,3gp,3g2,mj2, from 'Q:\Input.mov':<br>&nbsp; Metadata:<br>&nbsp;&nbsp;=
&nbsp; creation_time: 2012-07-23 10:30:31<br>&nbsp;&nbsp;&nbsp; timecode: 0=
0:58:52:09<br>&nbsp; Duration: 00:24:00.00, start: 0.000000, bitrate: 53150=
 kb/s<br>&nbsp;&nbsp;&nbsp; Stream #0.0(eng): Video: mpeg2video (4:2:2), yu=
v422p, 720x608i tff [PAR 152:<br>135 DAR 4:3], 50000 kb/s, 25.00 fps<br>&nb=
sp;&nbsp;&nbsp; Metadata:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; codec_name: MPE=
G IMX 625/50 (50 Mb/s)<br>&nbsp;&nbsp;&nbsp; Stream #0.1(eng): Audio: pcm_s=
16le, 48000 Hz, 2 channels, s16, 1536 kb/s<br>&nbsp;&nbsp;&nbsp; Stream #0.=
2(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s<br>&nbsp;&nb=
sp;&nbsp; Stream #0.3(eng): Data: unknown (tmcd)<br>Incompatible pixel form=
at 'yuv422p' for codec 'mpeg1video', auto-selecting forma<br>t 'yuv420p'<br=
>[scale @ 01BB4D80] w:720 h:608 fmt:yuv422p -&gt; w:352 h:288 fmt:yuv420p f=
lags:0x4<br>Error, target vcd only supports 352x288(pal) or 352x240(ntsc) r=
esolutions<br><br>Understandable error, so I decide to add a crop to remove=
 the VBI data, and then a scale to the desired size:<br><b><br>Attempt 2<br=
><br></b>ffmbc -i "Q:\Input.mov" -vf "crop=3D720:576:0:32,scale=3D352:288" =
-target vcd -t 120 "E:\ffmbc_vcd.mpg" <b><br><br>Output<br><br></b>FFmbc ve=
rsion 0.7-rc7<br>Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg =
developers<br>Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Q:\Input.mov':<br>&n=
bsp; Metadata:<br>&nbsp;&nbsp;&nbsp; creation_time: 2012-07-23 10:30:31<br>=
&nbsp;&nbsp;&nbsp; timecode: 00:58:52:09<br>&nbsp; Duration: 00:24:00.00, s=
tart: 0.000000, bitrate: 53150 kb/s<br>&nbsp;&nbsp;&nbsp; Stream #0.0(eng):=
 Video: mpeg2video (4:2:2), yuv422p, 720x608i tff [PAR 152:<br>135 DAR 4:3]=
, 50000 kb/s, 25.00 fps<br>&nbsp;&nbsp;&nbsp; Metadata:<br>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; codec_name: MPEG IMX 625/50 (50 Mb/s)<br>&nbsp;&nbsp;&nbsp; =
Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s<br=
>&nbsp;&nbsp;&nbsp; Stream #0.2(eng): Audio: pcm_s16le, 48000 Hz, 2 channel=
s, s16, 1536 kb/s<br>&nbsp;&nbsp;&nbsp; Stream #0.3(eng): Data: unknown (tm=
cd)<br>Incompatible pixel format 'yuv422p' for codec 'mpeg1video', auto-sel=
ecting forma<br>t 'yuv420p'<br>[scale @ 01BB4E80] w:720 h:608 fmt:yuv422p -=
&gt; w:352 h:288 fmt:yuv420p flags:0x4<br>[crop @ 01BB5320] w:352 h:288 -&g=
t; w:720 h:576<br>[crop @ 01BB5320] Invalid too big or non positive size fo=
r width '720' or height<br>&nbsp;'576'<br>Error opening filters!<br><br>So,=
 it seems to be scaling then cropping. I get the same results when I do thi=
s without the filter crop:<br><br>ffmbc -i "Q:\Input.mov" -vf "crop=3D720:5=
76:0:32" -target vcd -t 120 "E:\ffmbc_vcd_2.mpg" <br><br>Interestingly, whe=
n I run the above command line with a different target:<br><br>ffmbc -i "Q:=
\Input.mov" -vf "crop=3D720:576:0:32" -target dvd -t 120 "E:\ffmbc_dvd.mpg"=
 <br><br>It doesn't complain, but also doesn't crop the vbi lines.<br><br>S=
omebody please point me in the right direction!!<br><br>Many Thanks<br><b><=
br></b><b></b>
------=_Part_40_30450714.1343140868443--

------=_Part_39_1456529.1343140868439--