Username:
B
I
U
S
"
url
img
#
code
sup
sub
font
size
color
smiley
embarassed
thumbsup
happy
Huh?
Angry
Roll Eyes
Undecided
Lips Sealed
Kiss
Cry
Grin
Wink
Tongue
Shocked
Cheesy
Smiley
Sad
<- 1  -   of 38 ->
--
--
List results:
Search options:
Use \ before commas in usernames
oh no it's meant to be a spectacular detonation. reserved for "this should never happen" during alpha testing.
Not a walrus
Quote from Mystery:
Quote from nate:
...(due to yua calling exit(1) following a fatal error from ffmpeg)...

Is it wise to do that? I cannot speak for your code, but std::exit does not call destructors for local variables. Perhaps it might just be better to throw some exception that is not caught?


http://codepad.org/yV3F6yRW

Wouldn't call the local destructors anyway, pretty sure that's implementation defined at best. Don't feel like digging up the standard to check.
Ah, more like an assert, then.
You're probably right. The best way would probably be to throw an exception and catch in main, then exiting gracefully. But then again, it's just a panic attack, so it probably doesn't matter at this stage.
Edit history:
nate: 2013-04-28 10:39:51 am
nate: 2013-04-28 10:38:06 am
new windows build is up that should fix the out of memory crashes from encoding high resolution output. let me know. thanks.
Edit history:
ballofsnow: 2013-04-28 12:01:58 pm
Big step forward. I had 3 clips 1200p/1080i that always crashed, but this time no crash. Good work nate!
.
Willing to teach you the impossible
I have an odd question, but it makes sense to me. I was wondering if it was possible to use Anri or Yua to make a blend deinterlaced video at 30fps that still looks smooth. I have been messing around with it but keep getting jumpy videos (jumpy for a set of frames then smooth and that repeats) or I guess I should say pixel bobbing.

Attached is the type of video I would like to do this with, lots of flickering.

Attachment:
is this any different from what people were discussing on the last few pages of this thread?
Edit history:
Heidrage: 2013-05-01 12:09:35 am
Heidrage: 2013-04-30 11:51:41 pm
Willing to teach you the impossible
You mean the thing with Jay? If so, I want to take a native 60fps game that records at 30fps interlaced, and intentionally make the final encode 30fps blend deinterlaced with no pixel bob. If that give a better idea of what I want.
The Dork Knight himself.
Hmmm, hard to say really. Basically you're looking to do a D4 F1 game and encode it at D4 F2? Your sample doesn't have any pixel bob to worry about, so you could probably get away with setting Anri to D4 F2. The jitter you're seeing in the footage is actually dot crawl, not bobbing.
Quote from Heidrage:
and intentionally make the final encode 30fps blend deinterlaced

You mean like this? https://kb.speeddemosarchive.com/Field_Blending
Wouldn't be acceptable for sda though.
if it's really the dot crawl you're trying to combat then look into temporal smoothing. a lot of people use that to cut down on stuff like that. use avisynth to take it to d4 f1 like usual and then use a temporal smoothing filter, maybe with two frames of range. i'll warn you that i never could get very good results with nes graphics though ... i think i said "it looks like you're on lsd all the time" and enhasa was like "what's wrong with that?" but seriously, i think most people would find it objectionable, or at least worse than the original.

i'm also wondering if the dot crawl wouldn't go away if you used one of these ...
http://www.svideo.com/rcatosvideo.html

you should be able to hook your nes up to your capture device using s-video. let us know.
Terraffirmative!
is it possible to reduce the size of the text for the StatID? The default text size seems to be really large and things don't fit correctly.
you mean you don't want to call yourself M! ? lol. what i'm planning to do is adjust the font size automatically based on how much you type in. ideally i would know how wide something is (to know whether it's wider than the statid image) but i can do it without knowing that too. might work on that today if i have time.
HELLO!
QFontMetrics should give you that right?
Edit history:
nate: 2013-05-02 10:48:14 am
lol. it's my own personal stack overflow right here in the yua thread. at this point i'm thinking, "if he knows qt then why isn't he helping me work on yua?" but it's no problem. that is more than enough of a head start for today.

edit: done.
Code:
        QFont line1_font("Verdana", 32*height_factor);
        line1_font.setBold(true);
        QFontMetrics line1_metrics(line1_font);
        while (line1_metrics.width(statid_line_1->text()) > out_image.width()-10) {
                line1_font.setPointSize(line1_font.pointSize()-1);
                line1_metrics = QFontMetrics(line1_font);
        }
HELLO!
Heh. If I can help with GUI stuff I'd be happy to.  I have a lot of residual Qt knowledge from 5 years working in KDE.
Edit history:
Heidrage: 2013-05-02 03:07:29 pm
Willing to teach you the impossible
Quote from nate:
if it's really the dot crawl you're trying to combat then look into temporal smoothing. a lot of people use that to cut down on stuff like that. use avisynth to take it to d4 f1 like usual and then use a temporal smoothing filter, maybe with two frames of range.

In Vdub, the option just shows a number. Is that number slider the frame range?
no sorry i meant the argument to the denoiser in avisynth. apparently they call it denoising rather than temporal smoothing. here is a good page: http://avisynth.org/mediawiki/Denoisers
I'm pretty glad Yua can actually work with video formats that VirtualDub doesn't recognize without extensive libraries.

Sadly, until the functionality of appending segments is added, it's not nearly as useful to me as it could be Sad


As some additional points, I'd like it if the encoding logs are put into the same directory as the video, instead of dumped on my desktop, and I'm really missing a button to skip one frame at a time to find the perfect frame to cut at.
Quote from Onin:
I'm pretty glad Yua can actually work with video formats that VirtualDub doesn't recognize without extensive libraries.

virtualdub is reliant on the capabilities of the underlying operating system. i see this like bell bottoms or mullets. maybe it seemed like a good idea once, but now it is time to move on.

of course ffmpeg's poor deprecation policy means that extending yua to support new formats without recompiling is so unrealistic that i go ahead and make it harder by linking to ffmpeg statically. but because yua is 100% open source it doesn't have to be me who helps. so in this case state of the art doesn't mean perfect, but i see it as a great leap over 90s digital video on pcs in any case.

Quote from Onin:
Sadly, until the functionality of appending segments is added, it's not nearly as useful to me as it could be Sad

it's definitely on my mind. i have aligned splicing done supposedly but i need to figure out how i want to trigger it when switching segments. it's funny how appending is actually really trivial except that the first audio and video timestamps in an input file are seldom the same so explicit synchronization is essential.

Quote from Onin:
As some additional points, I'd like it if the encoding logs are put into the same directory as the video, instead of dumped on my desktop

the logs are for debugging only and will disappear when yua 1 final is released. i'm going to try to store yua's state in the mp4 metadata so people on this board can tell whether you screwed up the settings without you having to attach a log.

Quote from Onin:
I'm really missing a button to skip one frame at a time to find the perfect frame to cut at.

click on the slider/scrubber once, then use the arrow keys to move one frame at a time.
Willing to teach you the impossible
Are you considering a .avi format output option?
alpha 9. last release before i double down on appending. probably.

- crashes under windows (except for d1 deinterlacing-related) fixed (if you missed it earlier)
- support odd widths
- "shut down when done" (thanks carc)
- automatic statid font size (thanks M!, presjpolk)
Edit history:
Carcinogen: 2013-05-04 11:59:48 am
Good shit! I have one more idea, but if you choose not to implement it (being that it's not exactly conducive to encoding SDA video) I would understand completely - The ability to split videos into 10-15-20 minute chunks for YouTube/Nicovideo? I mean, Avidemux is probably enough to get the job done without desync, but it would be even cooler if Yua did it as well.
You can use mkvtoolnix. Just set a split interval and it will do the job for you. Youtube accepts the mkv containers for uploads, so you should be fine.