INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
whited frames on generated h264

Forum Index -> Video -> Linux Printer-friendly version
Reply to topic
Author Message
marcio.sfs
Member


Joined: 05 Jun 2007
Location: Brazil

Post Posted: Jun 05, 2007 13:15 Posts Comp View users profile Send private message Reply with quote

Hello.
Converting movies to h264 some files is creating videos that beggins with whited frames.
I try converting the original to others formates to then generate h264, and the same problem occur.
Some idea ???
Thaks.

Márcio
Brazil, SP


tekkieman
Grizzled


Joined: 23 Mar 2004
Location: Over the hill

Post Posted: Jun 05, 2007 13:45 Posts Comp View users profile Send private message Reply with quote

Could you provide some information on the types of files you are converting? What are you using to convert to h264? FFMPEG? What version? How many white frames are you getting? When this happens, is the audio still in sync?
_________________


marcio.sfs
Member


Joined: 05 Jun 2007
Location: Brazil

Post Posted: Jun 05, 2007 14:10 Posts Comp View users profile Send private message Reply with quote

Yeah, this is the command line I use:

Code:
ffmpeg -i origem/1910_1962/2007-05-21-infamous.mov -vcodec h264 -s 320x174 -b 400k -r 48 -acodec mp3 -ar 22050 -ab 56 med/2007-05-21-infamous.mov


IdVid gives the following informations:

Code:
File: origem/1910_1962/2007-05-21-infamous.mov
              Width: 480 pixels
             Height: 260 pixels
       Aspect ratio: 1.33:1
             Frames: 0
           Duration: 00:02:21 hours/mins/secs
          Framerate: 24.000 frames per second
       Video format: avc1
      Video bitrate: 0 bits per second
---------------------------
Audio track 1 (Stream 0.0, AID 0):
---------------------------
              Codec: aac
            Bitrate: Stream #0.0(eng): Audio: aac, 44100 Hz, stereo000 bits per second
      Sampling rate: 44100 Hz
=========================================================
Audio is compliant with the following formats:
  Not compliant with (S)VCD or DVD
Video is compliant with the following formats:
  Not compliant with (S)VCD or DVD
This video does not seem to be compliant with (S)VCD or DVD
standards. If you burn it to a video disc, it may not work.
=========================================================


The Ffmpeg version is SVN-r7813.

This problem happens in the beggin of the video file, and audio is OK.

Ffmpeg outputs a set of this lines:
Code:
[h264 @ 0x39318f50d0]OVERFLOW levelcode=4101


How much more lines, more whited frames.

Original file: http://www.cineclick.com.br/video_help/perfect_original_file.mov
Generated file: http://www.cineclick.com.br/video_help/whited_generated.mov
Thanks for helping smile.gif


GMaq
Linux Member


Joined: 17 Mar 2004
Location: Canada

Post Posted: Jun 05, 2007 14:37 Posts Comp View users profile Send private message Reply with quote

Hi,
I've had similar issues encoding H.264 with ffmpeg, I finally traced it back to the quantizer settings. In your command line you have not specified a qmin or a qmax. H.264 or at least x264 which ffmpeg uses has a a range from -qmin 2 to -qmax 51. I found that increasing the qmin to a value of 10 stopped the overflows and retained excellent quality. Try adding -qmin 10 -qmax 51 to your command line and see if it helps. It eliminated the problem for me.
_________________
My Site: www.bandshed.net
Wife's Site: www.morethanwordsbooks.ca
My Guide: http://forum.videohelp.com/topic330839.html
My App: http://www.bandshed.net/3GP.html


marcio.sfs
Member


Joined: 05 Jun 2007
Location: Brazil

Post Posted: Jun 05, 2007 14:48 Posts Comp View users profile Send private message Reply with quote

The problem was sucessfully fixed.
Thanks a lot. laugh.gif biggrin.gif


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Linux Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
About   Advertise   Forum Archive   RSS Feeds   Statistics