Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

Pages: (4) « First ... 2 3 [4]  ( Go to first unread post )
Caching input driver, with FFMpeg, in development
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
dloneranger
Posted: Dec 18 2014, 05:47 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



I'll pm you

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
shekh
Posted: Dec 20 2014, 10:36 AM


Advanced Member


Group: Members
Posts: 89
Member No.: 37903
Joined: 21-April 14



Fixed bug when audio had negative offset
Fixed support of video with sparse index

Btw it is interesting that if I take example "Downhill Babes...mkv" which has sparse index and copy it as mp4 with ffmpeg utility it instantly gets full index and works much smoother thanks to it.
 
     Top
dloneranger
Posted: Dec 20 2014, 03:22 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



AFAIK mkv's don't have full indexes by default, though there is an option to write them


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
shekh
Posted: Jan 6 2015, 08:41 PM


Advanced Member


Group: Members
Posts: 89
Member No.: 37903
Joined: 21-April 14



Added project to SourceForge, link on first message.

Added support for multiple segments.
This is intended to join files split by 2 or 4 Gb while recording. But it may be possible to join arbitrary clips as well.
"Append AVI segment" may work too, but it requires patch to VirtualDub itself.

Added support for cineform format. This will use VFW decoder, and it works for avi, mp4, mov.
With avi there is no benefit compared to internal avi driver, other than convenience (no need to select drivers).
Also source code supports decoding with cineform SDK and is about 20% faster, but it is not enabled because it requires license.

Added info about required memory and index quality.
The memory info is essential as some file can require quite a lot.

Fixed some bugs.
 
     Top
dloneranger
Posted: Jan 15 2015, 02:07 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Found a bug that's in both of the FFMPeg plugins
Actually it's an invalid assumption and a cause of some videos that seem to have very high fps

Some videos I've looked at have three streams, two are marked as AVMEDIA_TYPE_VIDEO and one as AVMEDIA_TYPE_AUDIO
eg
stream 0 = video
stream 1 = audio
stream 2 = video

This stream 0 is where the trouble is, as sometimes it's not actually a video but a still thumbnail image
Or, a MJPEG single frame image

If you select this stream 0 as your video stream you're stuffed as all the fps etc is wrong, seeking on it fails etc
You have to ignore that stream and use the other one
av_find_best_stream is an easy way to figure out the correct one

I'm assuming that the images are marked as AVMEDIA_TYPE_VIDEO because there isn't a AVMEDIA_TYPE_PICTURE ........




--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
-vdub-
Posted: Jan 16 2015, 11:16 AM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Does it also cause those Opaque data errors ?

http://ffmpeg.org/doxygen/trunk/group__lavu__misc.html

QUOTE

enum AVMediaType

Enumerator:
    AVMEDIA_TYPE_UNKNOWN 
                                                Usually treated as AVMEDIA_TYPE_DATA.

    AVMEDIA_TYPE_VIDEO 
    AVMEDIA_TYPE_AUDIO 
    AVMEDIA_TYPE_DATA 
                                                Opaque data information usually continuous.

    AVMEDIA_TYPE_SUBTITLE 
    AVMEDIA_TYPE_ATTACHMENT 
                                                Opaque data information usually sparse.

    AVMEDIA_TYPE_NB 

Definition at line 192 of file avutil.h
 
    Top
shekh
Posted: Jan 16 2015, 11:42 AM


Advanced Member


Group: Members
Posts: 89
Member No.: 37903
Joined: 21-April 14



QUOTE (-vdub- @ Jan 16 2015, 11:16 AM)
Does it also cause those Opaque data errors ?

What did you mean by Opaque data errors?
Anyway "DATA" streams have no effect on video\audio reading. Indeed I see data stream in hero4 clips. No problem.
 
     Top
-vdub-
Posted: Jan 16 2015, 10:17 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Every now and then we used to see Opaque data errors. Though it could of been FFMpeg or xvid was a while ago not sure if still an issue thought I would ask

I don't use xvid now cannot remember the last time I did use it mostly only encode using x264 and intermediate lossless encoders

OT: Reminds me to look at x265 again to see if they have made progress and fork builds for XP. And whether any benefit using x265 oposed to x264
 
    Top
shekh
Posted: Jan 16 2015, 10:54 PM


Advanced Member


Group: Members
Posts: 89
Member No.: 37903
Joined: 21-April 14



QUOTE (-vdub- @ Jan 16 2015, 10:17 PM)
Every now and then we used to see Opaque data errors.


I don't use xvid now cannot remember the last time I did use it mostly only encode using x264 and intermediate lossless encoders

OT: Reminds me to look at x265 again to see if they have made progress and fork builds for XP. And whether any benefit using x265 oposed to x264

Got it, these errors are related to direct stream manipulation.
I dont plan to mess with it any soon so I cant help, but thanks for asking smile.gif

OT: afaik cineform is excellent intermediate. Very fast and robust. I tried lagarith once and it was awfully slow (but maybe I downloaded wrong driver).
 
     Top
shekh
Posted: Mar 7 2015, 07:10 PM


Advanced Member


Group: Members
Posts: 89
Member No.: 37903
Joined: 21-April 14



Update:
added support for images and image sequences.
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
54 replies since Nov 25 2014, 01:31 PM Track this topic | Email this topic | Print this topic
Pages: (4) « First ... 2 3 [4] 
<< Back to VirtualDub Filters and Filter Development