Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: question on May 12, 2014, 08:24:33 AM

Title: auto->720p does nothing?
Post by: question on May 12, 2014, 08:24:33 AM
Im trying to convert a 1600x900 video into 720p for youtube but the option seems to do absolutely nothing...video resolution doesnt change at all. What gives?
Title: Re: auto->720p does nothing?
Post by: zakk on May 12, 2014, 09:37:16 AM
What codec do you use ?
Title: Re: auto->720p does nothing?
Post by: Jan Gruuthuse on May 12, 2014, 09:38:05 AM
Close avidemux: open avidemux: load video. Avidemux looks like LoadVideo screenshot.
From menu: Auto: 720p, set aspect ratio as required if asked 4:3 / 16:9 / 1:1
Avidemux should now look like SaveVideo screenshot.
Check in filters. Active Filters: swsResize: swscale Resize : .... x .... => 1280x720, algo 1
Save Video. That should be it.
Title: Re: auto->720p does nothing?
Post by: AQUAR on May 12, 2014, 10:22:56 AM
Just to add to Jan's response.

Each one of these auto options, runs a small script.
These scripts change the default encoding settings of Avidemux to suit the selected auto definition.
Some are:  setting the output container (muxer) and setting a display resolution (via the resampling filter) etc.

You probably will not notice any changes in the video display screens of avidemux.
Title: Re: auto->720p does nothing?
Post by: question on May 12, 2014, 11:18:00 AM
Well usually absolutely nothing happens when i click auto->720p...

This time round i got a popup saying TinyPy:Exception, Exception:

And that was it. Thats without touching any of the settings, just loading the video and clicking on auto->720p.

Not sure what you mean by codec?
Title: Re: auto->720p does nothing?
Post by: question on May 12, 2014, 11:23:19 AM
Upgraded avidemux, got this error : http://i.imgur.com/JJjpYk7.png
Title: Re: auto->720p does nothing?
Post by: AQUAR on May 12, 2014, 11:29:36 AM
It might be usefull to provide more information about this video file.
Mediainfo is a free utility that will analyse media files and provide such details.
Its very easy to use. You get it here:
http://sourceforge.net/projects/mediainfo/files/binary/mediainfo-gui/
Title: Re: auto->720p does nothing?
Post by: mean on May 12, 2014, 05:44:16 PM
It looks broken indeed
Title: Re: auto->720p does nothing?
Post by: question on May 13, 2014, 05:14:28 AM
It looks like one of the scripts in avidemux is failing (line 17)

General
Complete name                            : C:\mwo5.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 131 MiB
Duration                                 : 54s 585ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 20.2 Mbps
Writing application                      : Lavf54.29.104

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 54s 585ms
Bit rate                                 : 20.1 Mbps
Width                                    : 1 600 pixels
Height                                   : 900 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 60.000 fps
Minimum frame rate                       : 58.592 fps
Maximum frame rate                       : 62.759 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.232
Stream size                              : 131 MiB (99%)
Writing library                          : x264 core 129 r2230 1cffe9f
Encoding settings                        : cabac=1 / ref=2 / deblock=0:0:0 / analyse=0x3:0x113 / me=dia / subme=7 / psy=1 / psy_rd=0.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=0 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,21 / fast_pskip=1 / chroma_qp_offset=0 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=2 / b_pyramid=0 / b_adapt=0 / b_bias=0 / direct=0 / weightb=0 / open_gop=0 / weightp=0 / keyint=500 / keyint_min=100 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=0

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 54s 571ms
Bit rate mode                            : Variable
Bit rate                                 : 102 Kbps
Maximum bit rate                         : 128 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 677 KiB (1%)

Title: Re: auto->720p does nothing?
Post by: AQUAR on May 13, 2014, 11:10:34 AM
Tinypy scripts like those found under the auto menu do work at least on windows 7.

Whenever executing a second tinypy script, Avidemux 2.6 will crash.
Probably the only time you would want to run another project script is when you close and reload a new video.
If so, you will need to exit and restart avidemux.
Title: Re: auto->720p does nothing?
Post by: question on May 13, 2014, 01:35:18 PM
Huh? Im not trying to run a second script at all. Like i said i open the video, auto->720p then get that error message. For 2.6.8 64 bit.
Title: Re: auto->720p does nothing?
Post by: mean on May 13, 2014, 06:13:02 PM
Confirmed, something is broken
Title: Re: auto->720p does nothing?
Post by: AQUAR on May 14, 2014, 08:12:56 AM
@ question

I was merely describing my own experience with running Tinypy scripts, under windows 7 (x86 & X64) and with the latest avidemux revision.
This for the benefit of others who are trying to use this function.

Mean is the developer of this program, and he has already indicated something is broken with the scripting engine.
Since there is a problem we simply first need to wait for a fix.

If there is still an issue afterwards, we would look at your media source and see if that breaks the auto script in someway.
Title: Re: auto->720p does nothing?
Post by: question on May 17, 2014, 02:16:45 PM
Oh, ok. How do i convert to 720p in the meantime then?
Title: Re: auto->720p does nothing?
Post by: Jan Gruuthuse on May 17, 2014, 02:31:04 PM
Load video and run from Menu: File: Tinypy Project: Run Project: and browse to unpacked content of zip (720p.py). Video part should be set by this settings file.
Title: Re: auto->720p does nothing?
Post by: question on May 18, 2014, 10:02:21 AM
Huh? Load video with what? AVIdemux?

What menu:tinypy project? I dont see that option in avidemux at all?
Title: Re: auto-><font style='color:black; background-color:Lime;'>720p</font> does nothing?
Post by: Jan Gruuthuse on May 18, 2014, 10:25:08 AM
Unpack from previous posting attached zip file.
In avidemux load your video.
From Textual Menu: File: Tinypy Project: Run Project and browse to 720p.py and select it.
Title: Re: auto->720p does nothing?
Post by: question on May 21, 2014, 10:42:41 AM
You arent making much sense here. Where do i put the 720.py file from the zip file? And where is the textual menu? Im looking at avidemux now and there is no menu named "textual".
Title: Re: auto->720p does nothing?
Post by: Jan Gruuthuse on May 21, 2014, 12:05:50 PM
Textual = none graphical menu