matt...@gmail.com
unread,Jul 24, 2012, 10:41:08 AM7/24/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ffmbc-...@googlegroups.com
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