Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
29th May 2009, 14:16 | #521 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Here is the sample:
http://www.mediafire.com/file/4wuhzj...ample.ffms2.7z
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
29th May 2009, 17:19 | #522 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
|
This was an interesting clip. What internally happens:
1. Seeking is required 2. The normal LAVF seeking method is called 3. A packet is attempted to be read but fails since 2 failed and the position is now at the file end? 4. No audio for you For some reason it doesn't like your audio track. Adding AVSEEK_FLAG_ANY seems to make the seeking succeed on your clip but seems to introduce audible artifacts in my other mp3 in avi test clip. I think this is a LAVF bug so remux to mkv and enjoy life.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
29th May 2009, 17:31 | #523 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
|
Some more thinking produced this compile. It should work on more clips like yours but without introducing any regressions at least. So much for seeking always succeeding in a simple avi...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
29th May 2009, 18:10 | #524 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Thanks. I will test your new compile once I get home. I mist to leave now.
BTW: That AVI file was created with Avidemux.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
30th May 2009, 00:36 | #525 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
|
This is the full todo list for FFMS2. Vote on the features you want or suggest your own. I'm personally guessing 2-5 are what people want mostly but I could be wrong...
Todo
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet Last edited by Myrsloik; 19th August 2011 at 12:24. Reason: More todo updates |
30th May 2009, 14:13 | #529 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
2nd June 2009, 22:16 | #530 | Link |
warpsharpened
Join Date: Feb 2007
Posts: 787
|
See here...
Updated to latest ffmpeg-mt and ffms2 (beta 9) sources as of today. Built with ICL 11 and includes static pthreads and libfaad. Last edited by TheRyuu; 5th July 2009 at 02:48. |
3rd June 2009, 10:14 | #532 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
|
Now give me a code sample too because I've looked at it before but couldn't figure out what the arguments are even supposed to be or if I created it correctly. Otherwise I'm just going to assume it's something old and forgotten in FFmpeg...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
3rd June 2009, 16:28 | #533 | Link |
Registered User
Join Date: Feb 2005
Posts: 140
|
av_parser_init(CODEC_ID_MPEG2VIDEO) -> set s->flags to PARSER_FLAG_COMPLETE_FRAMES -> av_parser_parse2 -> read s->repeat_pict?
I don't know what happens if you don't pass in real values for pts/dts/pos, though. And why isn't av_parser_init documented, or called av_parser_open... |
9th June 2009, 16:50 | #535 | Link | ||
Fighting spam with a fish
Join Date: Sep 2005
Posts: 2,699
|
Quote:
Edit: Okay, time for a bug report. When loading a Blu-ray M2TS file, 19.6 GB (21,077,882,880 bytes), I receive the following error upon completion of the indexing stage. This is with the latest, ffmpeg-mt build by TheRyuu. Video is H.264, 23.976 fps. Script: Quote:
Download, extract, and play the avs with the latest version of the ffmpeg-mt build. www.mirror.adubvideo.net/ffms2bugsample.7z Last edited by Adub; 9th June 2009 at 18:28. |
||
9th June 2009, 20:26 | #538 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
|
I looked at the sample and can't explain it. For some reason it fails to decode even a single frame in the video which means the height/width can't be determined either. It "works" if lavf's ts splitter is used but then you have so many other issues it's not interesting anyway. Nice clip to have for future testing.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet Last edited by Myrsloik; 9th June 2009 at 21:02. |
10th June 2009, 00:01 | #539 | Link |
Fighting spam with a fish
Join Date: Sep 2005
Posts: 2,699
|
Damn. So no quick fixes, eh? And I was so excited to use a frame accurate ffmpeg-mt Avisynth source as well. What's weird is that it works just fine when using Haali's DSS2, and since you are using Haali's internal splitter, shouldn't it work just the same?
|
10th June 2009, 00:37 | #540 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
|
Both yes and no, I only use the parser part through COM so slightly different behavior is to be expected (just like you don't see segment linking and all that fancy stuff for matroska). I think I'll have to ask Haali for ideas. Demuxing it to a raw stream makes it crash too. Is the clip corrupt?
And about your post in another thread, the mt compile doesn't have any known bugs that aren't also in the normal compile.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
Thread Tools | Search this Thread |
Display Modes | |
|
|