Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JEEB

Pages: [1] 2 3 4
1
H.264/AVC / Re: x264 r2245 crash?
« on: January 12, 2013, 10:39:24 AM »
I'll build a debug binary, but you'd also have to get a copy of GDB for it to actually get a backtrace.

> launch 'gdb binaryname'
> wait for gdb to load the symbols from the binary
> type 'run --all --your --options'
> wait for it to crash
> 'bt' for a backtrace, 'bt full' for a more detailed backtrace

edit: is that a 32bit binary or 64bit binary?

2
Avisynth Development / Re: FFMS2 (The Fabulous FM Source 2)
« on: December 21, 2012, 11:42:12 AM »
I have a feeling that the problems with ffms2 come from all the latest builds being built with MSVC'd libav/ffmpeg and friends. At least as I remember that the reports had a file size mentioned in them (4GB?).

I'll try and make a 4GB+ sample when I get the time, and test it with a build of my own (mingw-w64 libav/ffmpeg, and ffms2 itself with MSVC).

3
H.264/AVC / Re: Writing to mp4 with libx264
« on: September 10, 2012, 05:14:45 AM »
tl;dr
Depends on your use case. Also GPAC contains lots of "do not want" in its source tree.

GPAC used to be more or less in a situation where it couldn't be built well for a lulzy amount of time (all those forks that since have stopped being updated still remind us of that). Then certain people started making L-SMASH, first to make something to be implemented in x264, and later it outgrew its original priorities because x264_L-SMASH ended up basing itself on Kovensky's x264-audio, which was in the end never finished. Yes, at one point there was actually a time when adding audio encoding/muxing into x264's command line encoder seemed like a better idea than trying to fix up ffmpeg's shortcomings. Now L-SMASH is a mp4/mov/3gp demuxer/muxer library, which at least for me is currently the only thing that poses as any kind of alternative to libavformat.

Long story short: Unless GPAC is the only thing that does something you need, only look at libavformat or L-SMASH.

4
H.264/AVC / Re: Colorspace for x264 frames
« on: September 10, 2012, 02:52:58 AM »
(lib)x264 takes in whatever you set it to output, it doesn't convert internally (the command line app might do it automagically with swscale or something, but the library is just a library). Look at i_csp in both structs x264_param_t and x264_image_t in x264.h.

5
H.264/AVC / Re: x264 not writing video track framerate?
« on: September 09, 2012, 05:16:07 AM »
Also, I would like to have people understand the following things (that came up in a conversation with my friend):
  • The timing_info part of the VUI contains the timescale and the timebase. This is not the frame rate (that said, the whole notion of a "frame rate" is really something that hasn't been in the MPEG formats for quite a while).
    • timescale / (2 * timebase) is the maximum possible frame rate of the stream in the H.264 specification (this is field-based)
  • Picture timing SEI can contain the PTS (Presentation Time Stamp) of a frame. x264 does not write this information to begin with. By taking a list of all the PTS and seeing if the difference is stable, this can be used to find the frame rate of a stream.
    • The MaxFPS I just noted is actually set in Picture Timing SEI, so that as well can in a way be thought to not exist if that thing in itself doesn't exist.
      Quote
      n_frames specifies the value of nFrames used to compute clockTimestamp. n_frames shall be less than
      MaxFPS = Ceil( time_scale ÷ ( 2 * num_units_in_tick ) ) (D-2)
      NOTE 8 – n_frames is a frame-based counter. For field-specific timing indications, time_offset should be used to indicate a distinct clockTimestamp for each field.
    • It could also be thought that if there is no HRD information in the stream, both timescale and num_units_in_tick are something that really doesn't contain much information in itself.
tl;dr
There is no spoon and just by having the timing_info in the VUI you can only set the maximum frame rate. That said, that information is used rather generously to supposedly show the "frame rate" of an elementary stream.

edit: Also I have no idea what the fact that Matroska is not an ISO/IEC standard has to do with the fact that for whatever reason the player wants an arbitrary value in the VUI in order to play content that does not have a single frame rate to begin with.

edit2: Added some extra information that was added during the discourse.

6
H.264/AVC / Re: x264 not writing video track framerate?
« on: September 09, 2012, 03:42:06 AM »
Yeah, if the player requires timing_info in vui while being able to parse Matroska timestamps (= VFR content can be played just fine), it's borked.

7
H.264/AVC / Re: x264 not writing video track framerate?
« on: September 07, 2012, 07:29:35 AM »
I would really appreciate it if it was the same file, just run through eac3to to make it "work" with your plastic toy. Not two separate files.

8
H.264/AVC / Re: x264 not writing video track framerate?
« on: September 07, 2012, 12:02:38 AM »
timing_info in vui.
D'oh, yes. OTL

Hmm, shouldn't x264 be able to do that automatically?
It does, but you are giving it a frame rate of "59.94000", not 60000/1001 (look at the v1 timecodes file you posted).

I don't know if this helps but this is what I can extract from a working mkv file (the second timecode example in my post), timecodes for a 50p part:
Code: [Select]
# timecode format v2
0
20
40
60
80
100
120

This is what comes out of the incorrectly working mkv file, timecodes for the 25p part:
Code: [Select]
# timecode format v2
0
40
80
120
160
200
50p has half sized steps compared to 25p? Looks correct to me. Also, that mkvinfo log of a file that you created in that whatever way you exactly did it first (I'm somewhat still derped on that, you output to mp4 first, then remux that to matroska?), and then of that file that gets run through eac3to.

So is this a problem with the container or x264?
Not simple enough of a thing to straightforwardly put onto either thing at this point :P We don't even know why exactly those plastic toys fail to play some files correctly.

9
H.264/AVC / Re: x264 not writing video track framerate?
« on: September 06, 2012, 08:08:10 AM »
Try comparing mkvinfo output for both the matroska file you create at first, as well as the file that eac3to outputs. Matroska has per-frame timestamps which is what should get used for playback, and those should always be there (by understanding this it should be relatively obvious how dubious the notion of 'frame rate' is when dealing with Matroska). Looking at the spec, there is a DefaultDuration field and a BlockDuration fields that contain general timestamps according to the TimecodeScale. Changes to those could show some of the reasons on what the hardware playthingy of yours is failing with certain files.

Also I see in the video that eac3to says "Writing new framerate "25fps" to bitstream." I wonder what exactly that means, as I don't remember there being a "frame rate" thing in the H.264 specification. Also with VFR content it's pretty sure that if it writes a single frame rate, that is wrong, wherever it is wrting it.

As for the timescale, select the smallest common value that would let you have both 25/1 frames per second as well as 60000/1001 frames per second in there. 59.94 is non-exact.


10
H.264/AVC / Re: x264 not writing video track framerate?
« on: September 05, 2012, 11:33:35 AM »
Oh the fabulousness of non-exact frame rates :)

I have no idea what the 'frame rate' information is that eac3to is reading, but it seems to have something to do with some information looking like "standard" or "non-standard" timestamps or whatever. You should really look into this. In mp4 timestamps are in two parts a la X/Y. The timebase (Y) is generated from your timecodes file so that it would work with the exact frame rates of "59.94000" and "25".

I wonder if we finally could start writing 60000/1001 or something like that in v1 timecodes (and actually have that supported). Otherwise the only way to work around this is to set the timebase manually on the command line.

11
H.264/AVC / Re: x264 direct encode
« on: September 03, 2012, 10:01:02 AM »
  • Originally we had no other ways to input things into x264 than raw YCbCr, raw YCbCr in y4m or avisynth input
  • x264 does have some filters, but if you need to do something a la IVTC and/or hifist resize, that can't be done
  • For some things, ffms2/lavf input isn't perfect (that list of things is rather specific and small)
Those are the three main reasons (in no specific order) why most things tell you to handle source decoding etc. in something else :)

12
Encoder GUIs / Re: handbrake - 10bit
« on: August 28, 2012, 12:49:06 PM »
HandBrake 0.9.6 already supported 10-bit H.264, and it's been out since 02/2012 (before this topic was started).
Ah, gotcha :)

13
Encoder GUIs / Re: handbrake - 10bit
« on: August 28, 2012, 12:27:55 PM »
I think what this person meant is 10bit H.264 decoding support, and I would _think_ that just an update to the libav/ffmpeg library used would let one do this (used as 8bit YCbCr internally after swscale converts the 10bit input to 8bit).

But yes, if one would like a full high bit depth workflow and the capability to output both 8bit and 10bit H.264, things get a little more intricate :)

14
Avisynth Usage / Re: Change is coming
« on: August 28, 2012, 11:25:14 AM »
At the moment it seems that you can just load up an Avisynth plugin dll and have it work. There are some gotchas regarding VapourSynth's caching setting for certain filters, but in general it should JustWork.

15
Avisynth Usage / Re: Change is coming
« on: August 28, 2012, 09:41:39 AM »
People will be able to make mappings for their scripting language of choice, the API is C, and Vapoursynth itself is a C++ project using Qt and libswscale.

The pre-provided mappings will be for Python 3.x.

16
Avisynth Usage / Re: Change is coming
« on: August 28, 2012, 06:32:19 AM »
There is now a site. People have begun testing, and public release should not be too far with a FAQ in relation to using avs filters in Vapoursynth correctly.

17
General Discussion / Re: teat
« on: August 20, 2012, 11:25:57 AM »
Probably typo of 'test'.

This topic has no content and I shall thus lock it down.

18
Those are leftovers from the added stuff, should probably ask Google to reset their cache regarding that.

I'm pretty sure if you surf the site with a google etc. user id now, it should be as clean as it should be :)

19
H.264/AVC / Re: Wether JM will support 4 k resolution ??
« on: August 17, 2012, 03:56:44 AM »
Have you compiled JM as 64bit? This might be blindingly obvious, but if you don't compile it as a 64bit binary it will fail if it tries to allocate over a certain amount of memory.

You might also see the code if the way they are allocating memory and the related variables actually can hold >32bit values. It could be a bug in there.

20
Forum / Site Suggestions & Help / Re: Maybe a wiki?
« on: August 15, 2012, 05:46:03 AM »
I don't really see the need for another wiki to be created.

There is MeWiki for general ripping/encoding -related things, as well as for one of the best pages listing and explaining the options for the x264 encoder (I usually link it to newbies on IRC, quite useful). Currently has some (somewhat outdated) MeGUI related things, but most probably could be updated and/or widened to cover other things as well. For Avisynth there's the avisynth.org wiki.

Also, if one actual needs actual more or less technical information on various formats, the famous MultimediaWiki does exist already.

21
H.264/AVC / Re: encoding video with C++
« on: August 10, 2012, 07:21:26 AM »
I'll look in the ffmpeg's doxy (but I don't find it really easy to read :-/ )
I never said it's easy to read, I just prefer the way online documentation is created on ffmpeg's site to libav's :P

22
H.264/AVC / Re: encoding video with C++
« on: August 09, 2012, 07:05:26 AM »
If you are using libx264 itself for encoding, then you use it to create the stream, and then you mux that into a container of choice with libavformat (libavcodec deals with decoding/encoding packets of data, libavformat with putting those packets into various formats). See the doc/examples folder in whichever part of the forking you use, and libavcodec/libx264.c on how you can get your H.264 stream into packets for libavformat muxing (you can also check it all on the web via ffmpeg's doxy, which IMHO is just more easily readable than libav's similar stuff).

Also, for mp4/mov/3gp there's L-SMASH, and for mpeg-ts there's libmpegts as format-specific muxing libraries (there's also one for matroska).

23
Yes, it seems like the account this forum was hosted on indeed was compromised at least on a file system level. While it doesn't look like the attacker was in it for the private data (mostly just file-wise changes done to show spam to Google), one must always assume the worst. Thus, as per standard procedure, even though it seems as if the information was most probably not accessed illegitimately in the database, and even though all passwords on this site are hashed (and salted), if you have re-used the password you have used on this site, it is recommended that you change it as soon as possible. Also, this piece of forum software lacks the capability to force people to reset their passwords, but you should definitely do so as well.

It is not yet known if a local problem led to this, or if this was a bigger problem with the hoster's systems. I am not going to point any fingers towards anyone at this point and just try and make the current situation better.

So far:
  • Full tarball backup of the compromised forum has been made for further analysis. We already know how the spam effect was done, but more has to be learned about possible points of entry and so forth.
  • The forum has been completely reset file-wise. If there was any cruft that might have made intrusion easier, it sure isn't there any more.
  • All uploaded avatars have been removed and disabled. Only non-local stuff can now be used. One of the possible entry points is a PHP script uploaded as a picture.
  • Overall file rights have been minimized.
  • Moderators' and administrators' passwords were reset, as well as everything possible in the overall forum configuration was changed.

24
Forum / Site Suggestions & Help / Re: The blanked post bug
« on: July 23, 2012, 01:45:19 PM »
And... Fixed! I have no idea where it broke, but doing a 'conversion' from ISO-8859-1 to UTF-8  fixed it :)

Sorry it took so long. Even more derp that I only decided to run that thing now, as I was already working on getting this site cleaned up.

25
H.264/AVC / Re: [ASK] Download via GIT for old version
« on: July 21, 2012, 07:49:27 AM »
    • where I can get the hash for r2200?
    • please give me for an example how to do?
    'git log' is the way to get a full log that in most sane shells you can then scroll through to find what you need (works on cygwin and most probably on the custom shell in msysgit, I just added msysgit's /bin into my msys/mingw setup's PATH, which leads to getting spammed with the whole changelog at once into stdout). If you know how many commits from your current HEAD something is, you can use what Groucho2004 noted, which can also be accomplished with:
    Code: [Select]
    git reset --hard HEAD~NUMBERwhere, for example, in case of NUMBER being 1 you get the previous commit from the current HEAD (current state of the repository). 'Reset --hard' can also be used with a hash, naturally

    (you can use the HEAD~1 with 'git checkout' as well, but that will lead you to not being on any branch any more, also you can return back to your usual track with reset --hard'ing to origin/master where origin is the remote you want to reset to, and master being the branch you want to use).

    26
    Forum / Site Suggestions & Help / Re: The blanked post bug
    « on: May 18, 2012, 01:46:03 AM »
    One thing is great -- the posts are in the database just fine, they're just not coming up for some reason.

    This SMF install has been plagued with problems, herp le derp.

    27
    H.264/AVC / Re: OpenCL lookahead for x264
    « on: May 18, 2012, 12:23:56 AM »
    The related Doom9 thread seems to have some results here.

    28
    H.264/AVC / Re: Latest ex.JEEB x264 build2184 (10-bit issue)
    « on: April 23, 2012, 06:27:37 AM »
    [issue_resolved] But you're right. The old MPC-HC build 1.3.1299 might be the culprit of wrong report. Even thou LAVVideoFilter V.0.49 does the decoding, oldy mpchc1.3 gives back that weird report. Newer 1.5/1.6 builds report same streams as 10bit. But does decode of 10bit really depends on movie player w/ internal filters disabled?
    Code: [Select]
    Author: Spec-Chum <Spec-Chum@10f7b99b-c216-0410-bff0-8a66a9350fd8>
    Date:   Fri Oct 9 21:47:39 2009 +0000

        Changed: "DirectShow Audio" label on playback->output now says "Audio Renderer"


        git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1299

    Somehow I'm not surprised a Mediainfo from 2009 wouldn't "see" the difference between different bit depth H.264 and would just show everything as "8bit" :) .

    In fact, i really have four long reencodes w x86 build that can be obtained from fushizen before i noticed that MPC-HC really show 8bit resolution for all of them and i thought that fft3dgpu induce something to appears as color banding at low bitrates (nevertheless that fft did quite the opposite in the past for me)
    I cannot use x86-64 builds because fft3dgpu is still 32bit only
    > fft3dgpu
    > wouldn't induce banding


    It's a denoiser. Depending on usage, it is bound to do damage to gradients and related things. On the other hand, if you can actually find something that looks like a broken encoder feature, I'd be glad to check out a short y4m dump of the source that reproduces the issue, and a minimal command line for the actual act of reproducing it :P . But somehow I am relatively sure this is not a case of an actual breakage :) .

    Also, 1) Don't use 64bit Avisynth, and 2) Check out avs2pipemod for piping stuff from 32bit Avisynth to 64bit x264.

    I just thought this one might be wrongly patched or something by someone else as the blog went offline. In fact im glad to know these are still yours patched builds.
    Bugs in patches are always possible, which is why I do a couple of test encodes every time I compile with every build :) . Of course, I can't be testing everything, so proper bug reports are always welcome :) .

    29
    H.264/AVC / Re: Latest ex.JEEB x264 build2184 (10-bit issue)
    « on: April 22, 2012, 03:24:30 PM »
    The trouble i think might be that patched build aint 10bit at all (wrong fork) because i get strange artifacts which are regular using low bandwidth in 8bit resolution. And now when i finally checked out resolution bit in MPC-HC/Media Info tab it also shows 8bit which is rather frustrating to acknowledge that i really saw those banding artifacts which i didnt have with Jeeb c119 encodes or w/regular c122 build 2184
    Just did a quick test encode with the 64bit patched build on a random clip I had on hand ("x264-10bit ep01_terop1.avi --crf 22 --preset fast -o out_testan_crf22.mkv"). My output is properly 10bit and there seem to be no problems with it, I'm pretty sure this is a PEBKAC, so re-check your things. It should be literally impossible for a 10bit build to output 8bit H.264, the 8bit code paths should be blocked.

    But, in this new build 2184 this strange fourth line show ups (which i fancy rather it's unnecessary)
    It outputs the settings string. I wasn't planning on adding this feature, but Komisar's "cosmetics" patch sounded good (and it does indeed make x264 output the used crf value in more detail, which is the part I actually meant to take in), and happened to contain that. I don't like the feature, but I don't hate it either. I will probably end up editing the patch later to make it only output it in case of a certain setting being set :P .

    Another few discrepancies are that this build reports as Core123
    Code: [Select]
    x264 - core 123 r2184+681M 5d72658 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1
    Completely normal, the commits that I cherry-picked out of the development tree are those that one-up'd that. A list of patches used for the "2184" patched builds (including cherry-picked development tree commits) can be easily seen here. I could have one-up'd the revision number for every development tree commit used, but that would've not been exactly correct, as there could be changes in both the contents as well as the arrangement of those commits, leading to a discrepancy. In the end I decided to just tend to them as "patches".

    30
    Forum / Site Suggestions & Help / Re: New forum look
    « on: June 25, 2011, 02:08:22 AM »
    All I can say is WTF.  Is this a new version of the forum software?  How many versions were skipped?  It looks very "Web 2.0" with all these rounded corners.
    Yes, this is the "new" SMF2 theme, which came along as the forum was upgraded (I am as surprised as you are about SMF getting to releasing a final version of it after... four years of development and two years of release candidates). Depending on how people like the new design it will either be reverted or kept.

    Also, you can switch themes in your profile, so if you want to have something else right now, it is possible.

    Pages: [1] 2 3 4