|
|
| papino |
| Posted: Aug 18 2013, 01:08 PM |
 |
|
Newbie

Group: Members
Posts: 5
Member No.: 36993
Joined: 18-August 13

|
hello everybody. I'm asking help here because i can't solve by myself, even if i tried really hard  I recorded (from my dvb-t set top box) some tv programs. I cut out commercials using projectX (the latest version). So now i'd like to encode it in a avi file with x264 for video and lame mp3 for audio. I also need to deinterlace, so i definitly need for virtual dub  here is the problem. When i tell projectX to output as ts file i get a file that i can only open by ffmpeg (the latest version), but i only see a little piece of my video (the initial 10% plus the last minute, so i have missed the central part of the video). So i tried to tell projectX to output m2p, and in this way i still have the same problem with the ffmpeg plugin, but i can open the file with fcchandler plugin. But with this last one the audio is out of sync so i don't know ho to solve. I have to tell that VLC can open both files (ts and m2p produced by projectX). Any suggestions?
Thank you!
EDIT: i forgot to tell that i need to use projectX because the original video is on 2 different files (because it's greater than 4gb). Anyway time ago i tried to open directly mpeg files produced by my dvb-t using virtualdub but i had some other problems, so i don't think the problem is projectX. |
 |
| Abrazo |
| Posted: Aug 18 2013, 04:37 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10

|
In case of TS or MTS files, you can try the DirectShow inputdriver plugin for VirtualDub: > http://forums.virtualdub.org/index.php?act...=ST&f=7&t=19488 If DirectShow decoders for H264 and AC3 are available, it should be possible to get a good result. Eventually, you can install ffdshow and in the Video and Audio configuration settings you can enable the needed decoders. > http://sourceforge.net/projects/ffdshow-tr.../?source=navbar
In case of MPEG-2 files, fcchandlers MPEG-2 plugin should work the best. For decoding the AC3 audio you can install the AC3 plugin and the AC3.ACM codec. > http://sourceforge.net/projects/fcchandler.../?source=navbar If the audio is out of sync, you can try to solve this by using the Audio > Interleaving... > Audio skew correction (you can enter positive or negative numbers in case of audio is starting too soon or too late). |
 |
| papino |
| Posted: Aug 18 2013, 04:50 PM |
 |
|
Newbie

Group: Members
Posts: 5
Member No.: 36993
Joined: 18-August 13

|
thank you for the answer. i'll try and i'll report back :-) |
 |
| papino |
| Posted: Aug 19 2013, 04:23 PM |
 |
|
Newbie

Group: Members
Posts: 5
Member No.: 36993
Joined: 18-August 13

|
...So i updated the ffmpeg input driver, the directshow driver, and also ffdshow. Still i can't open .ts files using the directshow driver (i tried many times to configure ffdshow in order it to decode mpeg files, but nothing changed). Anyway with the new ffmpeg driver now i have a different behaviour of virtualdub: now i can access to all my video.ts, but the video seems to be much shorter than it really is. I googled and i found this is a problem of my .ts file (it has a fake bitrate, higher that the real one, so the driver see it as a shorter video). So i passed the .ts with PVAStrumento and everything now looks of (a lot of work, btw!). Anyone would be so kind to tell me if there is a way, using only ProjectX, to correct the "fake" bitrate? Anyway i'll try again. I really like a sort of "one click" solution, in order to get without any effort a good mpeg file for virtualdub, but i think this is quite difficult  |
 |
| Abrazo |
| Posted: Aug 19 2013, 07:02 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10

|
If all the frames are there, and only the bitrate is wrong, you should be able to correct this in VirtualDub via the Video-menu > Frame Rate...
Under Source rate adjustment: > select Change frame rate to (fps) and type the correct value.
Under Frame rate conversion : > you can leave the selection to Process all frames and thus keep the same framerate as the original, or > you can select Convert to fps and type the framerate that you prefer for the new videofile. |
 |
| -vdub- |
| Posted: Aug 20 2013, 12:54 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
This works with mpeg2, x264 SD and HD TS videos http://www.videohelp.com/tools/MPEG2Repair to Log all video Errors and or Repair TS video
|
 |
| papino |
| Posted: Aug 20 2013, 07:53 AM |
 |
|
Newbie

Group: Members
Posts: 5
Member No.: 36993
Joined: 18-August 13

|
@Abrazo: thank you. Yes, the mpeg ts file has every frame i need, but virtualdub can't solve that problem (i tried lowering the framerate but no success, only using PVAStrumento i had a "correct" mpeg file and everything went fine with virtualdub).
@-vdub-: thank you, i tried that tool but it didn't make any difference :/
Anyway, may be this idea is A BIT crazy, but: what about making possible for virtualdub to use VLC? I mean, VLC can play almost everything (and effortlessy!!). VLC can also stream the video on the net, so it shouldn't be difficult to implement in virtualdub an http client, in order to acquire the video in local streaming by VLC. I think this would solve a lot of problems!
|
 |
| -vdub- |
| Posted: Aug 20 2013, 02:52 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
About mpeg2Repair use it with error log mode only to find all errors then edit those out with Virtualdub
Unkonwn about VLC never use it others here or Phaeron will be able to say more
AviSynth and Virtualdub work together |
 |
| evropej |
| Posted: Aug 20 2013, 03:00 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 514
Member No.: 26523
Joined: 28-November 09

|
I use external programs to convert files to a standard format which vdub likes and then process with vdub. I gave up trying to import every single type of format into vdub since my goal is to use the tool rather than figure out how to make it work. |
 |
| papino |
| Posted: Aug 20 2013, 04:01 PM |
 |
|
Newbie

Group: Members
Posts: 5
Member No.: 36993
Joined: 18-August 13

|
thank you both for suggestions. Virtualdub is a very nice tool; unfortunately it's quite annoying depend on only some video format (i'm using ProjectX to clean up DVB mpeg-ts files (and also for cutting it); anyway i think i'm going to use mpeg2repair and PVAStrumento). The problem, IMHO, is that mpeg2 ts is difficult to handle, so input filter don't made a good job, especially with corrupted files (even if video player can handle it without problems). |
 |
| -vdub- |
| Posted: Aug 20 2013, 08:15 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
Do have a look at the newer tools to replace old PVAStrumento that will enable you to find all errors and to fix them and be able to edit video quickly.
! UK TV broadcasts SD and HD ! (will change over time) SD container: TS formats: Video mpeg2 / Audio m2a (MPEG-1 Layer II) or ac3 HD container: TS Formats: Video x264 / Audio aac or ac3
Some capture software will allow recording (encode or transcode) in/to other containers and formats
SD http://www.videohelp.com/tools/sections/vi...editors-mpg-dvd HD http://www.videohelp.com/tools/sections/vi...ditors-h264-avc
One tool many use is on both links listed in the bottom three of each list. Is considered by many to be the best for editing mpeg2 and TS and at finding and repairing the errors. They don't pay people to promote their software by name so I don't. Moreover they are not a good company for keeping promises to people. Many examples of this on their forums, if you can ignore that fact. It can help you - it is better than all the tools you now use. Unknown if it supports UK SD subtitles the 2 or 3 colour type or if such subs are still used in UK broadcasts. For those extract the subtitles with newer ProjectX versions or a sub extractor tool.
http://en.wikipedia.org/wiki/Comparison_of...ntainer_formats http://en.wikipedia.org/wiki/List_of_codecs |
 |