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

2017-08-02 Thread Ute Willmore
Gyan, just wanted to let you know that mp4box has been fixed. They actually had a fix for me to test by Friday, but I didn't see the message until Saturday and couldn't test before Monday. As of yesterday both versions are fixed, and the fixed versions can be found here: all versions should now in

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

2017-07-31 Thread Gyan
On Tue, Aug 1, 2017 at 12:11 AM, Ute Willmore wrote: > I still plan on posting the solution to the superuser group, to answer my > own question on that group from 2 weeks ago, but not until I know when GPAC > will release the test version I have to their official download site. No > sense in tel

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

2017-07-31 Thread Ute Willmore
William, thanks for the reply but mp4box has been fixed and I got a test version from GPAC support on Friday. So I'll just stick with that. I went to the site you suggested but the site was out of date, the last update was in 2013. I could not find anything about command line options in the docum

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

2017-07-31 Thread Ute Willmore
Gyan, the problem has been solved! I had reported a bug with the GPAC support site, and someone named A. David got back to me on Friday to let me know he/she thinks he fixed it.The email was in my spam folder and I didn't find it until Saturday, but man was I surprised and relieved to see it. I te

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

2017-07-27 Thread Gyan
On Fri, Jul 28, 2017 at 3:56 AM, Ute Willmore wrote: > Which version are you using Gyan? Maybe I can get the same version? I > really don't want to start all over trying to find a way to extract the raw > video with a different application. > It's built as part of this suite from the current gi

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

2017-07-27 Thread William Caulfield
On Thu, Jul 27, 2017 at 3:26 PM, Ute Willmore wrote: > Unfortunately, I ran into a serious problem with the solution you provided, > Gyan. > I don't recall if I mentioned already that the 64 bit version of mp4box I > got from https://gpac.wp.imt.fr/downloads/gpac-nightly-builds/ doesn't > work >

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

2017-07-27 Thread Ute Willmore
Unfortunately, I ran into a serious problem with the solution you provided, Gyan. I don't recall if I mentioned already that the 64 bit version of mp4box I got from https://gpac.wp.imt.fr/downloads/gpac-nightly-builds/ doesn't work at all for me. I always get a message from Windows saying the appli

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

2017-07-26 Thread Gyan
On Thu, Jul 27, 2017 at 12:29 AM, Ute Willmore wrote: > > *Would you mind if I posted your solution on the super user group?* I just > want other users of ffmpeg to have this solution available to them. It > could save someone a lot of time and frustration. > I will also include the bug report C

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

2017-07-26 Thread Ute Willmore
Carl Eugen, My supervisor told me that this happens only when we save the video to a DVR after recording it, and then download it to a PC to play it. If the video is NOT saved to the DVR, i.e. downloaded to the PC from the video camera, the video is fine and conversion/scaling is no problem. I ho

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

2017-07-26 Thread Ute Willmore
Thanks Gyan! You are a life saver! I really want you to know how grateful I am that you helped me with this problem. I had tried so many different ways to get this solved and got nowhere. I asked for help on the superuser group, but got none. I tried different converters but it seemed there was alw

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

2017-07-26 Thread Gyan
On Wed, Jul 26, 2017 at 9:50 PM, Ute Willmore wrote: > That helps, but I don't see the second command to get the audio or use > ffmpeg to play the video. > The 2nd command in my original post (where I presented this method). It is, ffmpeg -v verbose -i hd_video.h264 -i hd.avi -map 0 -map 1:a

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

2017-07-26 Thread Ute Willmore
Thanks Guam, That helps, but I don't see the second command to get the audio or use ffmpeg to play the video. Did something get truncated, or did you forget to type it? I am reading your mail on my phone using Chrome to access gmail. Maybe that is causing problems? The message I received is sho

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

2017-07-25 Thread Gyan
You have to run mp4box -aviraw video hd.avi which will create hd_video.h264 The h264 file cannot be played by many (most?) players but it can be used by ffmpeg, as shown in the subsequent command. The h264 file only contains video, no audio so it has to be combined with the audio from the o

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

2017-07-25 Thread Ute Willmore
Gyan, I am having trouble with mp4box and I am hoping you can help me once again. I downloaded and installed the 32 bit and 64 bit version of GPAC but when I try to run either one, I get errors or a file that won't play. I am running mp4box on the cmd line using this command: mp4box -aviraw video

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

2017-07-25 Thread Gyan
On Tue, Jul 25, 2017 at 12:42 PM, Carl Eugen Hoyos wrote: > 2017-07-24 20:55 GMT+02:00 Gyan : > > As best as I can tell, ffmpeg does have issues with parsing non-standard > > H.264 bitstreams. It's certainly not as resilient as other decoders. > > Could you elaborate? > Every few weeks, there's

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

2017-07-25 Thread Carl Eugen Hoyos
2017-07-24 20:55 GMT+02:00 Gyan : > As best as I can tell, ffmpeg does have issues with parsing non-standard > H.264 bitstreams. It's certainly not as resilient as other decoders. Could you elaborate? FFmpeg decoders (and demuxers) were written with the intent to read as many non-standard files as

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

2017-07-25 Thread Carl Eugen Hoyos
2017-07-24 20:26 GMT+02:00 Ute Willmore : > dropbox.com/s/dw6ml8iwnnkmoz9/hd.avi?dl=0 This is now ticket #6551, thank you for the sample! Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To u

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

2017-07-24 Thread Ute Willmore
I understand what you mean, Moritz! I used to work under UNIX so command line was all I used. It's been a while since then, but when I use a tool like ffmpeg it comes back quickly. Looking at the command line documentation for VLC yesterday, I got confused. The problem is, that they allow you (or f

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

2017-07-24 Thread Moritz Barsnick
On Mon, Jul 24, 2017 at 16:07:00 -0600, Ute Willmore wrote: > confirm a bug. VLC allows you to use ffmpeg to convert a video from the > command line and I want to see what the output looks like before I report a > bug. Actually, vlc (or the command line version cvlc) has its own "engine" for conve

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

2017-07-24 Thread Ute Willmore
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 pro

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

2017-07-24 Thread Ute Willmore
Thank you Moritz! I will at least consider doing that, but I was beginning to suspect a bug myself. I just need to find a solution or work around first before I can take the time to do some more testing with VLC to confirm a bug. VLC allows you to use ffmpeg to convert a video from the command line

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

2017-07-24 Thread Moritz Barsnick
On Tue, Jul 25, 2017 at 00:25:36 +0530, Gyan wrote: > Running your conversion command on your source, I see > > Input stream #0:0 (video): 856 packets read (18695093 bytes); 104 frames > decoded; > > Muxing to TS and playing that throws invalid NAL warnings. But that was a conversion, right? >

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

2017-07-24 Thread Gyan
On Tue, Jul 25, 2017 at 1:10 AM, Ute Willmore 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 d

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

2017-07-24 Thread Ute Willmore
Gyan, I am still very new to video conversion and ffmpeg, so I don't understand parts of your reply. Please explain: What is non-standard about my input video? I ran many conversion commands, and listed several of them in my original message. Which one did you use? What does "Muxing to TS" mean

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

2017-07-24 Thread Ute Willmore
crf stands for constant rate factor. Allowed values are between 0 and 51, default is 23. To get better quality, use a lower number. The recommended start value, if the default does not work for you, is 18. 0 is lossless. You can read on the topic here: https://trac.ffmpeg.org/wiki/Encode/H.265 UR

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

2017-07-24 Thread Gyan
On Mon, Jul 24, 2017 at 11:56 PM, Ute Willmore wrote: > Hi everyone, > > I am hoping someone on this list can help me with a problem I am having > when converting a .avi video to .mp4 using FFmpeg. The output I get starts > out looking good, but then degrades and by the time the 18 second video >

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

2017-07-24 Thread Phil Rhodes
I'd be interested to know what "crf 23" actually means. How do I get it to do, say, 2.5Mbps? P ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ.

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

2017-07-24 Thread Gyan
On Tue, Jul 25, 2017 at 12:15 AM, Reindl Harald wrote: > ffmpeg -v verbose -i hd.avi -vf scale=640:480 scaledoutput.mp4 > > > > without a bitrate param the results are poor because of ridiculous low > bitrate defaults, at least that was the case many years ago as we > implemented our php-wrappe

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

2017-07-24 Thread Reindl Harald
Am 24.07.2017 um 20:26 schrieb Ute Willmore: I am hoping someone on this list can help me with a problem I am having when converting a .avi video to .mp4 using FFmpeg. The output I get starts out looking good, but then degrades and by the time the 18 second video finishes it is hard to recogniz