[FFmpeg-user] Fw: Unable to get correct decoded file

Hardik Sharma hardik.sharma22 at yahoo.com
Sun May 1 22:33:25 CEST 2011

Thanks Leo but still I am not getting desired output. My decoded video output is with very slow frame rate (even after mentioning frame rate as 30fps) and there is some problem in video frames as per appearance concern. It's different from the input yuv video even without much loss.

Please tell me if I should include more format option while encoding or decoding video sequence. I really appreciate your help. Thanks.

Hardik Sharma     

--- On Sat, 30/4/11, Hardik Sharma <hardik.sharma22 at yahoo.com> wrote:

>From: Hardik Sharma <hardik.sharma22 at yahoo.com>
>Subject: Unable to get correct decoded file
>To: "ffmpeg" <ffmpeg-user at ffmpeg.org>
>Date: Saturday, 30 April, 2011, 12:16
>I am a new bee with Ubuntu and ffmpeg both so please help me with this issue. I encoded the yuv video to h264 by following command-  
> ffmpeg -f rawvideo -r 30 -b 256k -s 352x288 -i silent_cif.yuv -vcodec libx264 -b 256k -s 352x288 -preset slow -f h264 -threads 0 silent264.h264
>But I don't think I am getting correct encoded file as after decoding 
back to yuv video, I am only getting 2 frames and that too wrong frames. 
>Command line for decoding-
> ffmpeg -r 30 -b 256k -s 352x288 -i output.h264 -vcodec libx264 -b 256k 
-s 352x288 -preset slow -f rawvideo -threads 0 slient.yuv
>Please tell me my mistake in command line. I really appreciate your help. Thanks.
>Hardik Sharma  

More information about the ffmpeg-user mailing list