|
|
| her34 |
| Posted: Mar 4 2012, 05:36 AM |
 |
|
Member
 
Group: Members
Posts: 14
Member No.: 21931
Joined: 16-August 07

|
| QUOTE (fccHandler @ Mar 4 2012, 05:03 AM) | Regarding fragmented files, you may have noticed that the QuickTime plugin doesn't pop up a parsing dialog and movies seem to load instantly. The reason is that it only parses the 'moov' resource (which is usually pretty small), and it expects to find everything there that it needs to deliver the audio and video samples.
The problem with a fragmented file is that its 'moov' resource is only partially filled in; most of the needed fields and tables are empty. Instead, they are located elsewhere in the file and I will have to do a much deeper parse to build the tables dynamically. The current code is not equipped to handle this at all. It would definitely involve a whole lot of work to make this possible, maybe even a complete redesign of the plugin. | Thank you for the insight.
As a followup question, under normal streaming circumstances how do webpage players handle the missing table info? Do they parse each fragment before playing? Do they handshake with the web server to get all the tables ahead of time? |
 |
| wsm-9t6 |
| Posted: Mar 19 2012, 07:16 PM |
 |
|
Member
 
Group: Members
Posts: 11
Member No.: 34514
Joined: 18-March 12

|
Regarding the following post on the Doom9 board:
http://forum.doom9.org/showthread.php?p=15...971#post1565971
I'd like to know if the problem described is also fault of the QT-input plugin,
OR if it is caused by ffdshow only. 
~~~~ EDIT ~~~~
Just my humble guess:
1) the Microsoft VC-1 decoder outputs black frames = the fault is of the QuickTime plugin
2) VirtualDub crashes = the fault is of libavcodec's VC-1 decoder |
 |
| fccHandler |
| Posted: Mar 24 2012, 04:28 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (her34 @ Mar 4 2012, 01:36 AM) | | As a followup question, under normal streaming circumstances how do webpage players handle the missing table info? Do they parse each fragment before playing? Do they handshake with the web server to get all the tables ahead of time? |
Sorry, I don't know the answers to those questions. I didn't even know that fragmented .mp4 existed until recently, because it isn't part of the QuickTime specification that my plugin was based on.
-------------------- May the FOURCC be with you... |
 |
| fccHandler |
| Posted: Mar 24 2012, 05:04 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (wsm-9t6 @ Mar 19 2012, 03:16 PM) | I'd like to know if the problem described is also fault of the QT-input plugin,
OR if it is caused by ffdshow only. 
|
A little of both. Apparently these particular .mp4 videos have some codec-specific data in a 'dvc1' atom which the VC-1 decoder requires. When that data is missing, ffdshow simply crashes. The QuickTime plugin was not aware of the data and so it wasn't being fetched. I've fixed that for version 2.5:
http://fcchandler.home.comcast.net/Plugins/QuickTime
-------------------- May the FOURCC be with you... |
 |
| dloneranger |
| Posted: Jun 20 2012, 09:15 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Here's an mp4 taken with a phone https://dl.dropbox.com/u/17024916/Video0002.mp4
It's showing some strange decoding with the quicktime plugin It should be 15fps, but is decoded as 15000fps The audio isn't decoded at all
Not a problem for me, just thought I'd supply it as a quirky file
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| fccHandler |
| Posted: Jul 1 2012, 06:26 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (dloneranger @ Jun 20 2012, 05:15 PM) | | It should be 15fps, but is decoded as 15000fps |
Thank you for posting your file.
Since QuickTime and MP4 files do not have a fixed framerate, I have to derive one based on the duration of each frame as specified in the file. First the plugin assigns a timestamp to each frame based on its distance (in time) from the previous frame. Then a frame table is built from those timestamps, and its resolution is the minimum distance between any two frames.
The quirky thing about your file is that the distance between the penultimate frame and the final frame is 1 millisecond. So in order to display the final frame precisely at the indicated time, I have to scale the calculated framerate by 1000, which makes it 15000. The result is approximately 999 dropped frames for every 1 real frame!
It's a weird situation which I've fought with before, and at the moment I don't really have a good solution. For this particular file, you can work around it by going into the Video / Framerate dialog, and choosing Decimate by 1000.
I see also that the AMR Narrowband audio track is rejected by the plugin because it has an invalid sample rate of 1000 Hz. I will fix that in the next release by forcing the AMR Narrowband sample rate to 8000 Hz in all cases. (As I understand AMR, that is what it must be.)
-------------------- May the FOURCC be with you... |
 |
| dloneranger |
| Posted: Jul 1 2012, 06:59 AM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Thanks for looking at it We have to use cheap phones at work, and the boss wants some site reports with video of the areas reported on As usual, it's got to be done with what ever I have to hand, cost nothing, be done in my own time, and on his desk 2 days before he asked me for it
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| elm |
| Posted: Sep 28 2012, 04:08 PM |
 |
|
Newbie

Group: Members
Posts: 2
Member No.: 35501
Joined: 28-September 12

|
Hi, at first I would like to thank you for your Quicktime plugin.
I have some game videos and among them there are a few MP4 videos, which when I import to Virtualdub with your plugin, the Virtualdub shows NO VIDEO message. From about 53 MP4 files that I have, this occurs with 6 of them and all six are AVC/H264 videos. I have tested it on two different computers which have installed different codecs and on both the Virtualdub says NO VIDEO message. Here is one video http://archive.org/download/Quake3QuakeLiv...1_The_Movie.mp4 If you want, you can look at it.
Thanks. |
 |
| fccHandler |
| Posted: Sep 30 2012, 05:25 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (elm @ Sep 28 2012, 12:08 PM) | I have some game videos and among them there are a few MP4 videos, which when I import to Virtualdub with your plugin, the Virtualdub shows NO VIDEO message.
|
Thank you for posting the video. Indeed the problem was specific to AVC, but it's very rare and difficult to explain so I'm not even going to get into that. Anyway, here is the fix:
http://fcchandler.home.comcast.net/Plugins/QuickTime
-------------------- May the FOURCC be with you... |
 |
| elm |
| Posted: Sep 30 2012, 02:48 PM |
 |
|
Newbie

Group: Members
Posts: 2
Member No.: 35501
Joined: 28-September 12

|
Thank you for your quick response and especially for the fix. I was ready to provide samples of the other problematic MP4 videos, but now it is not necessary, because after you fixed the plugin, all of them are now loaded into Virtualdub properly and there is no NO VIDEO message anymore.
Great job! |
 |
| j7n |
| Posted: Oct 15 2012, 05:14 AM |
 |
|
Newbie

Group: Members
Posts: 4
Member No.: 35440
Joined: 13-September 12

|
I have a MOV file with 'ima4' audio that is decoded with very poor accuracy compared to ffmpeg and QuickTime Alternative.
MOV: http://dl.dropbox.com/u/88902520/temp/perretta.mp4 (trimmed at 16 MB) virtualdub: http://dl.dropbox.com/u/88902520/temp/perrettaVd.flac ffmpeg: http://dl.dropbox.com/u/88902520/temp/perrettaFf.flac
Using plugin version 2.5 and VirtualDub 1.9.11 |
 |
| wsm-9t6 |
| Posted: Oct 20 2012, 03:51 AM |
 |
|
Member
 
Group: Members
Posts: 11
Member No.: 34514
Joined: 18-March 12

|
Apologies for the apparent off-topic, but fccHandler's site has been "down" for quite a while, 
will it ever be back? |
 |
| Abrazo |
| Posted: Oct 20 2012, 07:38 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10

|
Not a real answer to your question, but thanks to VirtualDub's forum members Placio74 and Gral you can find a copy of fccHandler's stuff: - https://skydrive.live.com/redir?resid=2A1EF...0BE839E!179 - http://gral.y0.pl/~fcchandler/ |
 |
| wsm-9t6 |
| Posted: Oct 21 2012, 02:12 AM |
 |
|
Member
 
Group: Members
Posts: 11
Member No.: 34514
Joined: 18-March 12

|
Thanks for the mirror sites,
let's hope fccHandler chimes in soon. |
 |