Page 1 of 1

Raw video encoding VLC<>FFMPEG

Posted: 11 Dec 2012 21:17
by jongerenchaos
I try to encode a video to rawvideo format with vlc, without any problems:
vlc -vvvvvvvv /home/ubuntu/tmp/480vpx.webm --sout "#transcode{vcodec=NV12,fps=23}:std{access=file,mux=avi,dst=test.avi}"

And i re-encode this back with the following ffmpeg command:
ffmpeg -f rawvideo -pix_fmt nv12 -s 640x360 -re -r 23 -i test.avi -strict -2 -vcodec libvpx -acodec vorbis -cpu-used 16 -quality realtime -vb 1500k -metadata track=1 -metadata title="TestTrack" -f webm test.webm

When i do this i get picture slips horizontally (scrolling from right to the left side), like old tv.

What do i wrong?

Re: Raw video encoding VLC<>FFMPEG

Posted: 12 Dec 2012 20:58
by gepebril
What you do wrong?
Well first use something like mediainfo to check all video parameters of the first step.
If these are OK, than ask your question concerning step 2 on a ffmpeg forum.