[FFmpeg-user] Poor quality output when converting avi to mp4

Ute Willmore uwillmore at remotegeo.com
Tue Jul 25 01:32:20 EEST 2017


Gyan,
thanks for getting back to me and taking the time to explain.

I am not sure how they are produced, except that someone takes a video, it
may be stored on a DVR before it is downloaded to a PC, but it could be
downloaded from the camera straight to the PC as well. This is for a
commercial product so all kinds of video cameras are used, whatever the
client wants to use. I don't know if the problem happens only when they are
stored on a DVR before they are downloaded to the PC or not.

I am a software person! So I know very little about the hardware involved
in this. I just write the code for the software that uses the videos. :-)

I'll try to find out though and let you know when I do.

For now, I hope I can replace ffmpeg with mp4box. I thought the version on

On Mon, Jul 24, 2017 at 1:57 PM, Gyan <gyandoshi at gmail.com> wrote:

> On Tue, Jul 25, 2017 at 1:10 AM, Ute Willmore <uwillmore at remotegeo.com>
> wrote:
>
> >
> > What is non-standard about my input video?
> >
>
> That I don't know. Only that ffmpeg doesn't decode most of the frames from
> the original file.
>
>
> > I ran many conversion commands, and listed several of them in my original
> > message. Which one did you use?
> >
>
> 'ffmpeg  -v verbose -i hd.avi -vf scale=640:480 scaledoutput.mp4'
>
> What does "Muxing to TS" mean and why/how did you do that? What does
> > "Invalid NAL warnings mean?
> >
>
> H.264 data is stored in chunks called NAL units. I transferred the contents
> to another container format just to test the result, so you can ignore this
> part.
>
>
>
> > Is this the one you are using?
> > https://www.videohelp.com/software/MP4Box
> >
>
> Yes, but this is the download page at the official site:
> https://gpac.wp.imt.fr/downloads/gpac-nightly-builds/
>
> mp4box is one of the tools bundled.
>
>
> > Do you have any idea what needs to be done to
> > produce a standard avi video in the first place?
> >
>
> How are these AVIs produced?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list