FFmbc 0.6-rc4 + fieldorder patch DV to IMX30
~/src/ffmbc/FFmbc-0.6-rc4b/ffmbc \
-loglevel debug \
-i "576i25/Compression test clips.mov" \
-ar 48000 -ac 1 -f s16le -i /dev/zero \
-threads 4 \
-vf "[in]format=yuv422p,fieldorder=tff,pad=720:608:0:32:black[out]" \
-target imx30 -flags +ildct+ilme \
-aspect 16:9 \
-map_audio_channel 0:1:0:0:1:0 -map_audio_channel 0:1:0:0:1:1 \
-map_audio_channel 1:0:0:0:1:2 -map_audio_channel 1:0:0:0:1:3 \
-shortest \
-f mxf_d10 -y \
"Compression test clips.mxf"
Keying straps
# text over 50p strap, ending in 25i un-pre-multiplied output
~/src/FFmbc-0.6-rc3/ffmbc -y -loglevel debug -t 1 \
-f image2 -pix_fmt argb -r 50 -i Kickabout/50p/frame%04d.png \
-threads 4 \
-vf "movie=Kickabout/TEXT.png [movie]; [in][movie] overlay=0:0, tinterlace=4[out]" \
-r 25 -vcodec qtrle -pix_fmt argb out.mov
# test blue over red
~/src/FFmbc-0.6-rc3/ffmbc -y -loglevel debug -loop_input -t 1 \
-f image2 -pix_fmt argb -r 25 -i 'red block test.tif' \
-threads 4 \
-vf "movie='blue strap test.tif' [movie]; [in][movie] overlay=0:0 [out]" \
-r 25 -vcodec qtrle -pix_fmt argb out_br.mov
# test blue over red, changing the format of each
~/src/FFmbc-0.6-rc3/ffmbc -y -loglevel debug -loop_input -t 1 \
-f image2 -pix_fmt argb -r 25 -i 'red block test.tif' \
-threads 4 \
-vf "movie='blue strap test.tif', format=argb [movie]; [in] format=rgb8, [movie] overlay=0:0 [out]" \
-r 25 -vcodec qtrle -pix_fmt argb out_br.mov
# test blue over video - WILL NOT WORK as formats are different
~/src/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-loop_input -t 1 \
-r 25 -i 'Compression test clips.mov' \
-threads 4 \
-vf "movie='blue strap test.tif' [movie]; [in][movie] overlay=0:0:1 [out]" \
-r 25 \
-vcodec dvvideo \
-y out_br.mov
# test blue over video - convert all to RGB
~/src/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-loop_input -t 1 \
-r 25 -i 'Compression test clips.mov' \
-threads 4 \
-vf "movie='blue strap test.tif' [movie]; [in]format=rgba,[movie] overlay=0:0, format=yuv420p [out]" \
-r 25 \
-vcodec dvvideo \
-y out_br.mov
# test blue over video - convert all to YUV420P
~/src/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-loop_input -t 1 \
-r 25 -i 'Compression test clips.mov' \
-threads 4 \
-vf "movie='blue strap test.tif', format=yuva420p [movie]; [in][movie] overlay=0:0 [out]" \
-r 25 \
-vcodec dvvideo \
-y out_br.mov
# test text over strap over video - convert all to YUV420P
~/src/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-loop_input -t 12 \
-r 25 -i 'Compression test clips.mov' \
-threads 4 \
-vf "movie='Kickabout/50p/frame%04d.png' [strap]; movie=Kickabout/TEXT.png [text]; [strap][text] overlay=0:0, format=yuva420p [plusstrap]; [in][plusstrap] overlay=0:0 [out]" \
-r 25 \
-vcodec dvvideo \
-y movie_strap_text.mov
~/src/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-loop_input -t 8 \
-r 25 -i 'Compression test clips.mov' \
-threads 4 \
-vf "[in] fade=in:0:20 [out]" \
-r 25 \
-vcodec dvvideo \
-y 'out_test_clip_dv.mov'
# input YUV, output RGB
~/src/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-loop_input -t 8 \
-r 25 -i 'Compression test clips.mov' \
-threads 4 \
-r 25 \
-vcodec qtrle -pix_fmt rgb24 \
-y 'out_test_clip_rgb.mov'
# input RGB, fade, putput RGB
~/src/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-loop_input -t 8 \
-r 25 -i 'out_test_clip_rgb.mov' \
-threads 4 \
-vf "[in] fade=in:0:20 [out]" \
-r 25 \
-vcodec png -pix_fmt rgb24
-y 'out_test_clip_rgb_fade.mov'
TIME BASE
~/src/ffmpeg/ffmpeg -loglevel debug \
-loop_input -t 1 \
-r 25 -i 'Compression test clips.mov' \
-threads 4 \
-vf "yadif=1" \
-r 50 \
-vcodec rawvideo -f rawvideo \
-y /dev/null
FADE
# YUV fade
~/src/ffmpeg/ffmpeg -y -loglevel debug -vframes 350 \
-r 25 -i 'Compression test clips.mov' \
-threads 4 \
-vf "fade=in:0:30, fade=out:320:30" \
-r 25 -vcodec dvvideo out_fade.mov
~/src/FFmbc-0.6-rc3/ffmbc -y -loglevel debug -vframes 350 \
-r 25 -i 'Compression test clips.mov' \
-threads 4 \
-vf "fade=in:0:30, fade=out:320:30" \
-r 25 -vcodec dvvideo out_fade.mov
# RGB fade
~/src/FFmbc-0.6-rc3/ffmbc -y -loglevel debug -vframes 350 \
-r 25 -i 'Compression test clips.mov' \
-threads 4 \
-vf "[in] format=rgb24, fade=in:0:30, fade=out:320:30, format=yuv420p [out]" \
-r 25 -vcodec dvvideo out_fade_rgb.mov
# RGB fade over alpha
~/src/FFmbc-0.6-rc3/ffmbc -y -loglevel debug -vframes 300 \
-f image2 -pix_fmt argb -r 50 -i Kickabout/50p/frame%04d.png \
-threads 4 \
-vf "[in] fade=in:0:30, fade=out:270:30, tinterlace=4 [out]" \
-r 25 -vcodec qtrle -pix_fmt argb out_fade_rgb.mov
# fade up text over 50p strap, ending in 25i un-pre-multiplied output
~/src/FFmbc-0.6-rc3/ffmbc -y -loglevel debug \
-f image2 -pix_fmt argb -r 50 -i Kickabout/50p/frame%04d.png \
-threads 4 \
-vf "movie=Kickabout/TEXT.png [text]; [in][text] overlay=0:0:1, tinterlace=4[out]" \
-r 25 -vcodec qtrle -pix_fmt argb Kickabout_strap_and_text.mov
~/src/FFmbc-0.6-rc3/ffmbc -y -loglevel debug -t 2 \
-f image2 -pix_fmt argb -r 50 -i Kickabout/50p/frame%04d.png \
-threads 4 \
-vf "movie=Kickabout/TEXT.png, setpts=N, fade=in:20:40 [fadetext]; [in][fadetext] overlay=0:0:1, tinterlace=4[out]" \
-r 25 -vcodec qtrle -pix_fmt argb Kickabout_strap_and_text.mov
setpts=N
~/src/FFmbc-0.6-rc3/ffmbc -y -loglevel debug \
-f image2 -pix_fmt argb -r 50 -i Kickabout/50p/frame%04d.png \
-threads 4 \
-vf "[in] tinterlace=4 [out]" \
-r 25 -vcodec qtrle -pix_fmt argb Kickabout_strap.mov
~/src/FFmbc-0.6-rc3/ffmbc -y -loglevel debug -loop_input -f image2 -pix_fmt argb -r 50 \
-i Kickabout/50p/frame%04d.png -vframes 300 -threads 4 \
-vf "movie=Kickabout/TEXT.png, setpts=PTS-STARTPTS, fade=in:20:100 [text]; [in] setpts=PTS-STARTPTS, [text] overlay=0:0, tinterlace=4 [out]" \
-r 25 -vcodec qtrle -pix_fmt rgb24 out.mov
movie=in.avi:seek_point=3.2, scale=180:-1, setpts=PTS-STARTPTS [movie];
[in] setpts=PTS-STARTPTS, [movie] overlay=16:16 [out]
~/src/FFmbc-0.6-rc3/ffmbc -y -loglevel debug -loop_input -f image2 -pix_fmt argb -r 50 \
-i Kickabout/TEXT.png -vframes 300 -threads 4 \
-vf "[in] fade=in:20:100 [text]; movie=Kickabout/50p/frame%04d.png [strap]; [strap][text] overlay=0:0:1 [out]" \
-r 25 -vcodec qtrle -pix_fmt argb out.mov
~/src/FFmbc-0.6-rc3/ffmbc -y -loglevel debug -loop_input -f image2 -pix_fmt argb -r 50 \
-i Kickabout/TEXT.png -vframes 300 -threads 4 \
-vf "[in] fade=in:20:100 [text]; movie=Kickabout/50p/frame%04d.png [strap]; [strap] format=rgb24, [text] overlay=0:0:1 [out]" \
-r 25 -vcodec qtrle -pix_fmt argb out.mov
-y -loglevel debug -loop_input -f image2 -pix_fmt argb -r 50 -i Kickabout/50p/frame%04d.png -vframes 300 -threads 4 -vf "movie=Kickabout/TEXT.png, setpts=PTS-STARTPTS, fade=in:20:100 [text]; [in] setpts=PTS-STARTPTS, [text] overlay=0:0, tinterlace=4 [out]" -r 25 -vcodec qtrle -pix_fmt rgb24 out.mov
FIELD REVERSE
~/src/ffmpeg/ffmpeg -loglevel debug -ss 20 -vframes 350 \
-i 'Compression test clips.mov' \
-threads 4 \
-vf "format=rgb24,crop=720:575:0:1,pad=720:576:0:0:red" \
-r 25 -pix_fmt yuv420p -vcodec dvvideo -y out-fieldRev.mov
~/src/ffmpeg/ffmpeg -loglevel debug -ss 20 -vframes 350 \
-i 'Compression test clips.mov' \
-threads 4 \
-vf "format=yuv422p,crop=720:575:0:1,pad=720:576:0:0:red" \
-r 25 -pix_fmt yuv420p -vcodec dvvideo -y out-fieldRev.mov
~/src/FFmbc-0.6-rc3/ffmbc -loglevel debug -i out-fieldRev.mov
mplayer out-fieldRev.mov -vf yadif=1 -fps 50 -speed 0.1
MAKE A FILE WITH 1 PIXEL ALL ROUND FOR TESTING BFF to FTT CONVERSION
~/src/ffmbc/FFmbc-0.6-rc3/ffmbc -y -loglevel debug \
-loop_input -f image2 -pix_fmt argb -r 25 -i OnePixelWhiteBorder.png -vframes 300 \
-ar 48000 -ac 1 -f s16le -i /dev/zero \
-threads 4 \
-vcodec dvvideo -r 25 -aspect 16:9 -y \
-map_audio_channel 1:0:0:0:1:0 -map_audio_channel 1:0:0:0:1:1 \
OnePixelWhiteBorder.mov
mplayer OnePixelWhiteBorder.mov -vf yadif=1 -fps 50 -speed 0.1
~/src/ffmbc/FFmbc-0.6-rc3/ffmbc -y -loglevel debug \
-loop_input -f image2 -pix_fmt argb -r 25 -i OnePixelWhiteBorder.png -vframes 300 \
-ar 48000 -ac 1 -f s16le -i /dev/zero \
-threads 4 \
-target pal-imx30 -flags +ildct+ilme -aspect 16:9 \
-map_audio_channel 1:0:0:0:1:0 -map_audio_channel 1:0:0:0:1:1 \
-map_audio_channel 1:0:0:0:1:2 -map_audio_channel 1:0:0:0:1:3 \
-shortest \
-f mxf_d10 -y \
OnePixelWhiteBorder.mxf
mplayer OnePixelWhiteBorder.mxf -vf yadif=1 -fps 50 -speed 0.1
~/src/ffmbc/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-i "OnePixelWhiteBorder.mov" \
-ar 48000 -ac 1 -f s16le -i /dev/zero \
-threads 4 \
-vf "format=yuv422p,crop=720:575:0:1,pad=720:576:0:0:black" \
-target pal-imx30 -flags +ildct+ilme \
-map_audio_channel 1:0:0:0:1:0 -map_audio_channel 1:0:0:0:1:1 \
-map_audio_channel 1:0:0:0:1:2 -map_audio_channel 1:0:0:0:1:3 \
-shortest \
-f mxf_d10 -y \
out_crop+pad-OnePixelWhiteBorder.mxf
~/src/ffmbc/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-i "OnePixelWhiteBorder.mov" \
-ar 48000 -ac 1 -f s16le -i /dev/zero \
-threads 4 \
-vf "format=yuv422p,top=1" \
-target pal-imx30 -flags +ildct+ilme \
-map_audio_channel 1:0:0:0:1:0 -map_audio_channel 1:0:0:0:1:1 \
-map_audio_channel 1:0:0:0:1:2 -map_audio_channel 1:0:0:0:1:3 \
-shortest \
-f mxf_d10 -y \
out_top-OnePixelWhiteBorder.mxf
mplayer out_top-OnePixelWhiteBorder.mxf -vf yadif=1 -fps 50 -speed 0.1
~/src/ffmbc/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-i "Compression test clips.mov" \
-ar 48000 -ac 1 -f s16le -i /dev/zero \
-threads 4 \
-vf "format=yuv422p,crop=720:575:0:1,pad=720:608:0:32:black" \
-vcodec mpeg2video \
-minrate 30000k -maxrate 30000k -b 30000k \
-bufsize 1200000 -rc_init_occupancy 1200000 \
-flags +ildct+ilme+low_delay \
-flags2 +ivlc+non_linear_q -qscale 1 \
-ps 1 -qmin 1 -rc_max_vbv_use 1 \
-rc_min_vbv_use 1 -pix_fmt yuv422p \
-r 25 -top 1 -dc 10 -intra -aspect 16:9 \
-map_audio_channel 0:1:0:0:1:0 -map_audio_channel 0:1:0:0:1:1 \
-map_audio_channel 1:0:0:0:1:2 -map_audio_channel 1:0:0:0:1:3 \
-shortest \
-f mxf_d10 -y \
"Compression test clips.mxf"
~/src/ffmbc/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-i "Compression test clips.mov" \
-ar 48000 -ac 1 -f s16le -i /dev/zero \
-threads 4 \
-vf "format=yuv422p,top=1" \
-vcodec mpeg2video \
-minrate 30000k -maxrate 30000k -b 30000k \
-bufsize 1200000 -rc_init_occupancy 1200000 \
-flags +ildct+ilme+low_delay \
-flags2 +ivlc+non_linear_q -qscale 1 \
-ps 1 -qmin 1 -rc_max_vbv_use 1 \
-rc_min_vbv_use 1 -pix_fmt yuv422p \
-r 25 -top 1 -dc 10 -intra -aspect 16:9 \
-map_audio_channel 0:1:0:0:1:0 -map_audio_channel 0:1:0:0:1:1 \
-map_audio_channel 1:0:0:0:1:2 -map_audio_channel 1:0:0:0:1:3 \
-shortest \
-f mxf_d10 -y \
"Compression test clips.mxf"
mplayer "Compression test clips.mxf" -vf yadif=1 -fps 50 -speed 0.1
~/src/ffmbc/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-i "Compression test clips.mov" \
-vf "pad=720:608:0:32:black" \
-target imx30 -flags +ildct+ilme -aspect 16:9 \
-f mxf_d10 \
"test.mxf"
valgrind ~/src/ffmbc/FFmbc-0.6-rc3/ffmbc_g -loglevel debug \
-i "Compression test clips.mov" \
-ar 48000 -ac 1 -f s16le -i /dev/zero \
-vf "format=yuv422p,crop=720:575:0:1,pad=720:576:0:0:black" \
-threads 4 \
-target pal-imx30 -flags +ildct+ilme -aspect 16:9 \
-map_audio_channel 0:1:0:0:1:0 -map_audio_channel 0:1:0:0:1:1 \
-map_audio_channel 1:0:0:0:1:2 -map_audio_channel 1:0:0:0:1:3 \
-shortest \
-f mxf_d10 \
"test.mxf"
~/src/ffmbc/FFmbc-0.6-rc4/ffmbc \
-loglevel debug \
-i allpatterns/bars601.ts \
-ar 48000 -ac 1 -f s16le -i /dev/zero \
-vf "scale=702:576,pad=720:608:9:32:black" \
-threads 4 \
-target imx30 -flags +ildct+ilme -aspect 16:9 \
-map_audio_channel 1:0:0:0:1:0 -map_audio_channel 1:0:0:0:1:1 \
-map_audio_channel 1:0:0:0:1:2 -map_audio_channel 1:0:0:0:1:3 \
-shortest \
-f mxf_d10 \
"601.mxf"
~/src/ffmbc/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-i 147_0469_04_fido.mov \
-threads 4 \
-vcodec mpeg2video \
-minrate 30000k -maxrate 30000k -b 30000k \
-bufsize 1200000 -rc_init_occupancy 1200000 \
-flags +ildct+ilme+low_delay \
-flags2 +ivlc+non_linear_q -qscale 1 \
-ps 1 -qmin 1 -rc_max_vbv_use 1 \
-rc_min_vbv_use 1 -pix_fmt yuv422p \
-r 25 -top 1 -dc 10 -intra -aspect 16:9 \
-acodec pcm_s16le \
-vtag mx5p -vbsf imxdump \
147_0469_04_fido-mdsh.mov
~/src/ffmbc/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-i 147_0469_01.MP4 \
-vf scale=720:576:1,pad=720:608:0:32,tinterlace=4 \
-threads 4 \
-r 25 \
-vcodec mpeg2video -flags2 +ivlc+non_linear_q -qscale 1 \
-ps 1 -qmin 1 -rc_max_vbv_use 1 -flags +ildct+ilme+low_delay \
-rc_min_vbv_use 1 -pix_fmt yuv422p \
-minrate 30000k -maxrate 30000k -b 30000k \
-bufsize 1200000 -rc_init_occupancy 1200000 \
-top 1 -dc 10 -intra \
-vbsf imxdump -vtag mx3p \
147_0469_04_fido-mdsh2.mov
~/src/ffmbc/FFmbc-0.6-rc3/ffmbc -loglevel debug \
-y -i 147_0469_01.MP4 \
-vf scale=720:576:1,pad=720:608:0:32,tinterlace=4 \
-r 25 \
-vcodec mpeg2video -flags2 +ivlc+non_linear_q -qscale 1 \
-ps 1 -qmin 1 -rc_max_vbv_use 1 -flags +ildct+ilme+low_delay \
-rc_min_vbv_use 1 -pix_fmt yuv422p \
-minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 \
-rc_init_occupancy 1200000 -dc 10 -intra \
-acodec pcm_s16le -ar 48000 -ac 2 \
-vbsf imxdump -vtag mx3p \
-f mov \
147_0469_04_fido-pe.mov
for F in yuyv422 rgb24 bgr24 yuv422p yuv444p yuv411p gray pal8 yuvj422p yuvj444p uyvy422 uyyvyy411 bgr8 bgr4_byte rgb8 rgb4_byte argb rgba abgr bgra gray16be gray16le rgb48be rgb48le rgb565be rgb565le rgb555be rgb555le bgr565be bgr565le bgr555be bgr555le yuv422p16le yuv422p16be yuv444p16le yuv444p16be rgb444be rgb444le bgr444be bgr444le y400a bgr48le bgr48be; do \
for T in 1; do \
echo ${F} ${T} ;\
~/src/ffmpeg/ffmpeg -loglevel debug -y -ss 20 -vframes 350 -i Compression\ test\ clips.mov \
-vf scale=720:576:1,pad=720:608:0:32,format=${F},pixdesctest,fieldorder=${T} -r 25 -aspect 16:9 -vcodec mpeg2video \
-flags2 +ivlc+non_linear_q -qscale 1 -ps 1 -qmin 1 -qmax 10 -rc_max_vbv_use 1 -flags +ildct+ilme+low_delay \
-rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 -rc_init_occupancy 1200000 \
-dc 10 -intra -top 1 -acodec pcm_s16le -ar 48000 -ac 2 -vbsf imxdump -vtag mx3p -f mov imx30-test.mov ; \
echo ${F} ${T} ;\
mplayer imx30-test.mov -vf yadif=1 ; \
done ; \
done
~/src/ffmpeg/ffmpeg -loglevel debug -y -ss 20 -vframes 350 -i Compression\ test\ clips.mov \
-vf scale=720:576:1,pad=720:608:0:32,format=bgr555le,pixdesctest,fieldorder=1 -r 25 -aspect 16:9 -vcodec mpeg2video \
-flags2 +ivlc+non_linear_q -qscale 1 -ps 1 -qmin 1 -qmax 10 -rc_max_vbv_use 1 -flags +ildct+ilme+low_delay \
-rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 -rc_init_occupancy 1200000 \
-dc 10 -intra -top 1 -acodec pcm_s16le -ar 48000 -ac 2 -vbsf imxdump -vtag mx3p -f mov imx30-test.mov
CONVERT HD FILE TO RAW VIDEO AND AUDIO FOR TESTS BELOW
/home/npf/workspace/bbcnpf-nuget/usr/share/bbcnpf-nuget/bin/ffmbc0.5 \
-i /var/bigpool/nuget/inbox/full_sony_ex1r_set/mpeg2_35mbit_1920x1080_50i.mp4 \
-vcodec rawvideo \
-an \
-f rawvideo \
mpeg2_35mbit_1920x1080_50i-1.yuv
/home/npf/workspace/bbcnpf-nuget/usr/share/bbcnpf-nuget/bin/ffmbc0.5 \
-i /var/bigpool/nuget/inbox/full_sony_ex1r_set/mpeg2_35mbit_1920x1080_50i.mp4 \
-vn \
-acodec pcm_s16le \
-f wav \
mpeg2_35mbit_1920x1080_50i-1.wav
CONVERT RAW FILES TO...
XDCAM EX 35Mbps yuv420p
/home/npf/workspace/bbcnpf-nuget/usr/share/bbcnpf-nuget/bin/ffmbc0.5 \
-f rawvideo -pix_fmt yuv420p -r 25 -s 1920x1080 -i mpeg2_35mbit_1920x1080_50i-1.yuv \
-i mpeg2_35mbit_1920x1080_50i-1.wav \
-threads 4 \
-vcodec mpeg2video \
-flags +ildct+ilme \
-flags2 +ivlc+non_linear_q \
-aspect 16:9 -pix_fmt yuv420p -top 1 \
-dc 10 -bf 2 -qmin 1 -lmin '1*QP2LAMBDA' \
-vb 35000k -maxrate 35000k -bufsize 25485834 \
-acodec pcm_s16le \
-f mov -vtag xdvc \
XDCAMEX35Mbps420-1.mov > ffmbcout-1.txt 2>&1 &
CONVERT RAW FILES TO...
DNxHD 185Mbps yuv422p
/home/npf/workspace/bbcnpf-nuget/usr/share/bbcnpf-nuget/bin/ffmbc0.6rc3 \
-f rawvideo -r 25 -s 1920x1080 -pix_fmt yuv422p -i mpeg2_35mbit_1920x1080_50i-1.yuv \
-i mpeg2_35mbit_1920x1080_50i-1.wav \
-threads 8 \
-vcodec dnxhd -vb 185M -flags +ildct \
-acodec pcm_s16be -ar 48000 -ac 2 \
-y DNxHD_1920x1080_50i.mov
CONVERT EBU MEDIA TO...
DNxHD 185Mbps yuv422p
XDCAM EX 35Mbps yuv420p
XDCAM HD 50Mbps yuv422p
1_CrowdRun_1080i25_CgrLevels_SINC_FILTER_SVTdec05_
perl -e '$j=0;for($i=3556; $i<=3805; $i++){$k=sprintf("ln -s %05d.sgi %05d.sgi\n",$i,$j); printf $k; $k; $j++;}'
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-vcodec dnxhd -vb 185M \
-flags +ildct \
-mbd rd \
1_CrowdRun_1080i25_CgrLevels_SINC_FILTER_SVTdec05_DNxHD_185Mbps_422_1920x1080_50i.mov
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-vcodec mpeg2video \
-flags +ildct+ilme \
-flags2 +ivlc+non_linear_q \
-aspect 16:9 -pix_fmt yuv420p -top 1 \
-dc 10 -bf 2 -qmin 1 -lmin '1*QP2LAMBDA' \
-vb 35000k -maxrate 35000k -bufsize 25485834 \
-f mov -vtag xdvc \
1_CrowdRun_1080i25_CgrLevels_SINC_FILTER_SVTdec05_XDCAM_EX_35Mbps_420_1920x1080_50i.mov
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-target pal-xdcamhd422 \
-flags +ildct+ilme \
-vtag xd5c \
1_CrowdRun_1080i25_CgrLevels_SINC_FILTER_SVTdec05_XDCAM_HD_50Mbps_422_1920x1080_50i.mov
2_ParkJoy_1080i25_CgrLevels_SINC_FILTER_SVTdec05_
perl -e '$j=0;for($i=7762; $i<=8011; $i++){$k=sprintf("ln -s %05d.sgi %05d.sgi\n",$i,$j); printf $k; $k; $j++;}'
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-vcodec dnxhd -vb 185M \
-flags +ildct \
-vtag xd5c \
2_ParkJoy_1080i25_CgrLevels_SINC_FILTER_SVTdec05_DNxHD_185Mbps_422_1920x1080_50i.mov
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-vcodec mpeg2video \
-flags +ildct+ilme \
-flags2 +ivlc+non_linear_q \
-aspect 16:9 -pix_fmt yuv420p -top 1 \
-dc 10 -bf 2 -qmin 1 -lmin '1*QP2LAMBDA' \
-vb 35000k -maxrate 35000k -bufsize 25485834 \
-f mov -vtag xdvc \
2_ParkJoy_1080i25_CgrLevels_SINC_FILTER_SVTdec05_XDCAM_EX_35Mbps_420_1920x1080_50i.mov
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-target pal-xdcamhd422 \
-flags +ildct+ilme \
-vtag xd5c \
2_ParkJoy_1080i25_CgrLevels_SINC_FILTER_SVTdec05_XDCAM_HD_50Mbps_422_1920x1080_50i.mov
3_DucksTakeOff_1080i25_CgrLevels_SINC_FILTER_SVTdec05_
perl -e '$j=0;for($i=6494; $i<=6743; $i++){$k=sprintf("ln -s %05d.sgi %05d.sgi\n",$i,$j); printf $k; $k; $j++;}'
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-vcodec dnxhd -vb 185M \
-flags +ildct \
3_DucksTakeOff_1080i25_CgrLevels_SINC_FILTER_SVTdec05_DNxHD_185Mbps_422_1920x1080_50i.mov
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-vcodec mpeg2video \
-flags +ildct+ilme \
-flags2 +ivlc+non_linear_q \
-aspect 16:9 -pix_fmt yuv420p -top 1 \
-dc 10 -bf 2 -qmin 1 -lmin '1*QP2LAMBDA' \
-vb 35000k -maxrate 35000k -bufsize 25485834 \
-f mov -vtag xdvc \
3_DucksTakeOff_1080i25_CgrLevels_SINC_FILTER_SVTdec05_XDCAM_EX_35Mbps_420_1920x1080_50i.mov
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-target pal-xdcamhd422 \
-flags +ildct+ilme \
-vtag xd5c \
3_DucksTakeOff_1080i25_CgrLevels_SINC_FILTER_SVTdec05_XDCAM_HD_50Mbps_422_1920x1080_50i.mov
4_InToTree_1080i25_CgrLevels_SINC_FILTER_SVTdec05_
perl -e '$j=0;for($i=2560; $i<=2809; $i++){$k=sprintf("ln -s %05d.sgi %05d.sgi\n",$i,$j); printf $k; $k; $j++;}'
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-vcodec dnxhd -vb 185M \
-flags +ildct \
4_InToTree_1080i25_CgrLevels_SINC_FILTER_SVTdec05_DNxHD_185Mbps_422_1920x1080_50i.mov
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-vcodec mpeg2video \
-flags +ildct+ilme \
-flags2 +ivlc+non_linear_q \
-aspect 16:9 -pix_fmt yuv420p -top 1 \
-dc 10 -bf 2 -qmin 1 -lmin '1*QP2LAMBDA' \
-vb 35000k -maxrate 35000k -bufsize 25485834 \
-f mov -vtag xdvc \
4_InToTree_1080i25_CgrLevels_SINC_FILTER_SVTdec05_XDCAM_EX_35Mbps_420_1920x1080_50i.mov
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-target pal-xdcamhd422 \
-flags +ildct+ilme \
-vtag xd5c \
4_InToTree_1080i25_CgrLevels_SINC_FILTER_SVTdec05_XDCAM_HD_50Mbps_422_1920x1080_50i.mov
5_OldTownCross_1080i25_CgrLevels_SINC_FILTER_SVTdec05_
25i
perl -e '$j=0;for($i=609; $i<=858; $i++){$k=sprintf("ln -s %05d.sgi %05d.sgi\n",$i,$j); printf $k; $k; $j++;}'
ffmbc -f image2 -i %05d.sgi \
-threads 8 \
-vcodec dnxhd -vb 185M \
-flags +ildct \
5_OldTownCross_1080i25_CgrLevels_SINC_FILTER_SVTdec05_DNxHD_185Mbps_422_1920x1080_50i.mov
SOME FILES IN THE 25i FOLDER ARE CORRUPT
GET THE 50p FOLDER AND INTERLACE THEM
50i
perl -e '$j=0;for($i=1217; $i<=1716; $i++){$k=sprintf("ln -s %05d.sgi %05d.sgi\n",$i,$j); printf $k; $k; $j++;}'
ffmbc -f image2 -r 50 -i %05d.sgi \
-threads 8 \
-vf "tinterlace=4" -r 25 \
-vcodec dnxhd -vb 185M \
-flags +ildct \
5_OldTownCross_1080i25_CgrLevels_SINC_FILTER_SVTdec05_DNxHD_185Mbps_422_1920x1080_50i.mov
ffmbc -f image2 -r 50 -i %05d.sgi \
-threads 8 \
-vf "tinterlace=4" -r 25 \
-vcodec mpeg2video \
-flags +ildct+ilme \
-flags2 +ivlc+non_linear_q \
-aspect 16:9 -pix_fmt yuv420p -top 1 \
-dc 10 -bf 2 -qmin 1 -lmin '1*QP2LAMBDA' \
-vb 35000k -maxrate 35000k -bufsize 25485834 \
-f mov -vtag xdvc \
5_OldTownCross_1080i25_CgrLevels_SINC_FILTER_SVTdec05_XDCAM_EX_35Mbps_420_1920x1080_50i.mov
ffmbc -f image2 -r 50 -i %05d.sgi \
-threads 8 \
-vf "tinterlace=4" -r 25 \
-target pal-xdcamhd422 \
-flags +ildct+ilme \
-vtag xd5c \
5_OldTownCross_1080i25_CgrLevels_SINC_FILTER_SVTdec05_XDCAM_HD_50Mbps_422_1920x1080_50i.mov
Convert to DVCPRO HD
~/src/ffmbc/FFmbc-0.6-rc4b/ffmbc -loglevel debug \
-i ftp.ebu.ch/25i/1_CrowdRun_1080i25_CgrLevels_SINC_FILTER_SVTdec05_/1_CrowdRun_1080i25_CgrLevels_SINC_FILTER_SVTdec05_XDCAM_EX_35Mbps_420_1920x1080_50i.mov \
-ar 48000 -ac 2 -f s16le -i /dev/zero \
-vf scale=1440:1080:1 \
-shortest \
-r 25 \
-vcodec dvvideo -flags +ildct+ilme \
-vb 100M
-pix_fmt yuv422p \
-aspect 16:9 \
-acodec pcm_s16le \
-y out1.mov
SCALE HD TO SD USING EACH METHOD
-sws_flags
fast_bilinear
bilinear
bicubic
experimental
neighbor
area
bicubic_bilinear
gauss
sinc
lanczos
spline
full_chroma_inp
~/src/ffmbc/FFmbc-0.6-rc4b/ffmbc -loglevel debug \
-i "20110504/_dl_FIRES_LANCS_1800_4_5_jupiter_5367078.mpg" \
-ar 48000 -ac 1 -f s16le -i /dev/zero \
-threads 4 \
-vf "[in]scale=720:576,pad=720:608:0:32:black,fieldorder=tff[out]" \
-target imx30 -flags +ildct+ilme \
-aspect 16:9 \
-map_audio_channel 0:1:0:0:1:0 -map_audio_channel 0:1:0:0:1:1 \
-map_audio_channel 1:0:0:0:1:2 -map_audio_channel 1:0:0:0:1:3 \
-shortest \
-y "out1.mxf"
~/src/ffmbc/FFmbc-0.6-rc4b/ffmbc -loglevel debug \
-i "20110504/_dl_FIRES_LANCS_1800_4_5_jupiter_5367078.mpg" \
-threads 4 \
-vf "[in]scale=720:576,pad=720:608:0:32:black,fieldorder=tff[out]" \
-target imx30 -flags +ildct+ilme \
-aspect 16:9 \
-shortest \
-y "out1.mxf"
~/src/ffmbc/FFmbc-0.6-rc4b/ffmbc -loglevel debug \
-i "20110504/_dl_fires_rawsot_1700_4_5_jupiter_5366368.mpg" \
-threads 4 \
-vf "[in]scale=720:576,pad=720:608:0:32:black,fieldorder=tff[out]" \
-target imx30 -flags +ildct+ilme \
-acodec pcm_s16le -ar 48000 -ac 2 \
-aspect 16:9 \
-shortest \
-y "out1.mxf"
~/src/ffmbc/FFmbc-0.6-rc4b/ffmbc -loglevel debug \
-i "20110504/_dl_fires_rawsot_1700_4_5_jupiter_5366368.mpg" \
-threads 4 \
-vf "[in]scale=720:576,pad=720:608:0:32:black,fieldorder=tff[out]" \
-vcodec mpeg2video \
-minrate 30000k -maxrate 30000k -b 30000k \
-bufsize 1200000 -rc_init_occupancy 1200000 \
-flags +ildct+ilme+low_delay \
-flags2 +ivlc+non_linear_q -qscale 1 \
-ps 1 -qmin 1 -rc_max_vbv_use 1 \
-rc_min_vbv_use 1 -pix_fmt yuv422p \
-r 25 -top 1 -dc 10 -intra -aspect 16:9 \
-acodec pcm_s16le -ar 48000 -ac 2 \
-aspect 16:9 \
-shortest \
-y "out1.mxf"
~/src/ffmbc/FFmbc-0.6-rc4b/ffmbc -loglevel debug -i "20110504/_dl_fires_rawsot_1700_4_5_jupiter_5366368.mpg" -vf scale=720:576:1,pad=720:608:0:32,fieldorder=tff -r 25 -top 1 -vcodec mpeg2video -flags2 +ivlc+non_linear_q -qscale 1 -ps 1 -qmin 1 -rc_max_vbv_use 1 -flags +ilme+ildct+low_delay -rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 -rc_init_occupancy 1200000 -dc 10 -intra -acodec pcm_s16le -ar 48000 -ac 2 -vbsf imxdump -vtag mx3p -f mov out1.mov.part
FFmbc:commandScratchpad is mentioned on: Video
|