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.

 
Smart Rendering
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
ersteinmal
Posted: Mar 15 2013, 03:29 PM


Member


Group: Members
Posts: 23
Member No.: 22852
Joined: 17-January 08



Hello! now I'm a little further with AVS, and could merge my *.ts files and upload.
Now I want to save my edits with smart rendering. Just as I find the right one codec?

The original file is

General
ID : 3F3
Complete name : G:\ALIDVRS2\[TS]2013-02-23.08.25.32-ZDF HD-80\000.ts
Format : MPEG-TS
File size : 4.00 GiB
Duration : 40mn 30s
Overall bit rate : 14.1 Mbps
Network name : ASTRA 1
Original network name : BetaTechnik

Video
ID : 6110 (0x17DE)
Menu ID : 11110 (0x2B66)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 6 frames
Duration : 40mn 30s
Bit rate : 12.3 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 50.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.268
Stream size : 3.49 GiB (87%)
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177



P.S.: maybe this question is asks plenty of time, I had not find it yet.

Sorry and Thanks

Carsten
 
     Top
-vdub-
Posted: Mar 15 2013, 07:19 PM


Advanced Member


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



Is this a follow on post from another thread on this forum, where is the older post if is relevant..

You could choose from many different video encoder divx, xvid, x264 inc avc, mpg, ts, wmv, flv, etc. If you can say which you would like to encode your video to to we then could try to help you do that. If need to keep avc in a .ts container search the forum how to use Virtualdub External Encoders for info how to use it together with Virtualdub help file (select F1 or Help from Virtualdub menu) for latest information and commands. You will find details for Smart Rendering also.
 
    Top
ersteinmal
Posted: Mar 15 2013, 07:44 PM


Member


Group: Members
Posts: 23
Member No.: 22852
Joined: 17-January 08



thanks for being help!

My aim is to trunc black borders and use "de logo".

I find out, that all compressions will reduce die Quality, so i like to let it be in the incomming code.

So if you are able to show me one way which works, I´ll be fine.

Thanks

Carsten
 
     Top
-vdub-
Posted: Mar 15 2013, 10:03 PM


Advanced Member


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



That is possible but also to remove black borders and de-logo that will need Full Compression cannot be done with it. So You will be losing some quality you could work with uncompressed video to maintain as much quality as possible which is the best way to enocde from same or to different format. Using Frameserving that feeds your .ts video as uncompressed avi on the fly. Some FrameServers for AVC, x264 etc are AviSynth, Virtualdub to Virtualdub using a plugin, DGAVCIndex.

You would need to install one of those for virtualdub frameserve reading the Help file is the easiest way to learn how to use it. [F1] or from menu Help - Contents

AviSynth
Copy the AviSynth script below need to a new text file, add details to where needed to it, save and change the txt extension .avs. Drag and drop onto virtualdub to load your .ts video to work with.
DirectShowSource ("drive:\YourVideoFilename.ts", FPS=CopyFromMediaInfo, Audio=True)

If you have a few .ts videos to join use this below instead will work. See AviSynth Extended help file included for many other AviSynth options.

DirectShowSource ("drive:\YourVideoFilename.ts", FPS=CopyFromMediaInfo, Audio=True)
+ directshowsource ("drive:\YourVideoFilename.ts", FPS=CopyFromMediaInfo, Audio=True)
+ directshowsource ("drive:\YourVideoFilename.ts", FPS=CopyFromMediaInfo, Audio=True)

Above assumes all your .ts videos have same details frame sizes, aspect, audio etc. Use Mediainfo to show you full video details of each file.

DGAVCIndex
Install DGAVCIndex to frameserve AVC video formats. Run, drag and drop YourVideoFile.ts onto it and all been well with the video it should open. Set any settings you need then [File - Save Project] after it has run through the file drag and drop the YourVideoFilename.dga onto virtualdub to work with it.

To encode the video after applying filters de-logo and crop boarders and resize to aspect ratio. If haven't got you'll need x264 from sourceforge so you can encode to AVC h264 again as you need. Audio can be encoded to aac if have encoder to use with virtualdub else ac3 is as good as aac. Both are better options than rubbish mp3 every time.
 
    Top
ersteinmal
Posted: Apr 8 2013, 06:30 PM


Member


Group: Members
Posts: 23
Member No.: 22852
Joined: 17-January 08



Thanks a lot for Help!

Now I had uses your Tip´s. And I find the goods of DGAVCIndex.

QUOTE
To encode the video after applying filters de-logo and crop boarders and resize to aspect ratio. If haven't got you'll need x264 from sourceforge so you can encode to AVC h264 again as you need. Audio can be encoded to aac if have encoder to use with virtualdub else ac3 is as good as aac. Both are better options than rubbish mp3 every time.


I agree your Audio meenings.

So I only have to solve the Question: witch Pompresseion do I need for the disciped file to use the "Smart rendering".

Regards Carsten smile.gif smile.gif
 
     Top
-vdub-
Posted: Apr 8 2013, 09:55 PM


Advanced Member


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



As said above when de-logo you will need to use full compression for video so no smart render or other such options are available for use. This is because de-logo changes the whole video. By removing a logo encodes again all video frames or I Frames (some de-logo filters allow I frames only option)

With DGAVCIndex and have demux the audio you can load the stream separately to virtualdub using Audio - Audio from other file.. option to use direct stream copy with external encoders, audio used with the muxer as is. Though as you will have aac audio there is no virtualdub filters atm that I know of that can direct stream AAC as is. The audio always seems to be converted to pcm whenever direct audio copy mode is selected. If need an aac audio encoder for external encoders you could use Faac or Qaac. See the External Encoders thread here for basic faac and qaac command use, also the same for other encoders and muxers
 
    Top
DarrellS
Posted: Apr 9 2013, 03:54 PM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



Yeah, I spent all day yesterday googling for an answer to copy aac audio and I finally gave up. I never could understand why ffmpeg can copy the audio in a batch script but it won't work in Virtualdub but after I tried to save the audio as wave in Virtualdub (change extension to aac) and the audio was corrupt then I figured it must be how Virtualdub handles aac (even with fcchandler's aac plugin). You can take that same aac audio in the original file and encode to aac or ac3 with the external encoder feature though and it's just fine.

You could use Yamb to mux the original file with the aac with the edited 264 and remove the original video but for me, it was easier just to re-encode everything to 264-ac3-mkv since I hardly ever mess with mp4 unless I'm using a batch script to copy a bunch of 264-aac-flv to mp4.
 
     Top
dloneranger
Posted: Apr 9 2013, 05:07 PM


Moderator


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



It's not the aac plugin, it's the file type plugin afaik
eg using an mkv with aac
Loading it with ffchandlers mkv plugin and his aac codec installed, gives compressed input audio in virtualdub
But loading the same file with the ffmpeg plugin gives an 'unusable for directstream copy' error
And the DirectShow one only gives uncompressed data

FccHandlers aac plugin is only for 'audio->audio from another source' that lets you load a separate aac file as the audio stream

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
ersteinmal
Posted: Apr 14 2013, 12:22 PM


Member


Group: Members
Posts: 23
Member No.: 22852
Joined: 17-January 08



Thank you for the comprehensive assistance!

I had "smart rendering" understood differently. I thought if you want to change only a small part of the picture, "smart rendering" ensures that the entire image is recompressed.
So I let it stay, and try to figure out why the images in as: h264 be at the very same memory space visibly worse. This probably belongs in another Tread.
ftp://macami.de@www.macami.de/Zwischenablage02.tif


regards Carsten
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
8 replies since Mar 15 2013, 03:29 PM Track this topic | Email this topic | Print this topic

<< Back to Codec Discussion