News:

--

Main Menu

AVI- Main@L4 video Progress Bar Trouble

Started by Tinhorn, September 28, 2016, 11:49:19 PM

Previous topic - Next topic

Tinhorn


I have a Motion Sensor Camera to see Deer, etc but can't cut it's video because the Progress Bar don't work for some reason.   Avidemux Play, etc is ok   (Virtual Dub works ok) 

Maybe somebody can finger-out what I'm doing wrong with the Media Video Property     

thanx

Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 16.2 MiB
Duration                                 : 30s 38ms
Overall bit rate                         : 4 537 Kbps

Video
ID                                       : 0
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Format settings, GOP                     : M=1, N=5
Codec ID                                 : H264
Duration                                 : 30s 33ms
Bit rate                                 : 4 459 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 30.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.161
Stream size                              : 16.0 MiB (98%)

Audio
ID                                       : 1
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : FF
Duration                                 : 30s 38ms
Bit rate                                 : 64.0 Kbps
Channel(s)                               : 1 channel
Channel positions                        : Front: C
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 235 KiB (1%)
Alignment                                : Split accross interleaves
Interleave, duration                     : 23 ms (0.70 video frame)

Jan Gruuthuse

#1
re-mux avi to mkv with mkvtoolnix  MKVToolNix

If you have the choice: don't record in .avi (dated container format)
Upload a 10 second recording causing the same behaviour in avidemux. Time permitting dev(s) could have a look at this and see if a solution is possible.
ps:- Use a free dropbox account, mega or similar webservice (free public access, without registration to download your uploaded video) thank you.

Update to a more recent avidemux (2.6.14) 32 or 64-bit matching your Windows (win32 or win64): http://www.avidemux.org/nightly/

Tinhorn


This camera can only record in AVI, I'm surprised it doesn't use MP4.

Every once in a while I update Avidemux, like you mentioned, but so far no luck.

I can convert the videos using FFMPEG and Avidemux and don't have any trouble that way.  Its just that I was hoping to use Avidemux and avoid getting the picture quality reduction (like a second-generation Xerox copy).

for right now I think I'll wait and see if the update to Avidemux will fix it...   and I need to find a dropbox and be ready... LOL

thanx 

thanx for   

dosdan

#3
Quote from: Tinhorn on September 29, 2016, 01:55:17 PM

I can convert the videos using FFMPEG and Avidemux and don't have any trouble that way.  Its just that I was hoping to use Avidemux and avoid getting the picture quality reduction (like a second-generation Xerox copy).


Recompression causes quality loss. You are just demuxing (unpacking) the two streams (video and audio) in the AVI, and then remuxing (rewrapping) the exiting h.264 video stream and the AAC audio stream into an MP4 container.

So:

AVI[v: h.264, a: AAC]  ->  MP4[v: h.264, a: AAC]


Since the streams are just copied, not recompressed, there is no quality loss in either the video or audio streams. And the conversion is fast

And you can use a batch file, situated on your Windows desktop, and drag-and-drop one or more AVIs onto it to make the conversion process easy to perform. Look at the batch file description at http://avidemux.org/smif/index.php/topic,17148.msg77044.html#msg77044


Here's a version that specifically changes AVI to MP4.  It can also easily be changed to automatically delete the original AVI if no conversion error occurs:

Convert_AVI_to_MP4.bat
@echo off

cls
set filename=""

:FILES_LOOP
for %%F in (%1) do (
set filename=%%F 
echo Processing %%F
ffmpeg.exe -i %%F -c:v copy -c:a copy  -y -hide_banner -loglevel error %%~nF.mp4
if errorlevel 1 goto ERROR_OCCURRED
dir %%~nF.mp4 | find "/"
rem Remove REM from the start of the next line if you wish to delete the original file if no error occured in the conversion.
REM del %%F
echo.
shift
)
if not "%1"=="" goto FILES_LOOP
goto FINISHED

:ERROR_OCCURRED
echo.
echo An error occured when trying to process %filename%
echo Aborting...

:FINISHED
echo.
echo.
pause


It has a "progress indicator", of sorts, in that it will show the name and size of each MP4, as it is produced, which is handy if you're converting multiple AVIs.

Dan.

Tinhorn


Welp, I sure didn't know I good just copy/copy this way, and it worked...

thanx guys