|
|
| Ninara |
| Posted: Jul 17 2014, 02:18 AM |
 |
|
Newbie

Group: Members
Posts: 5
Member No.: 35623
Joined: 30-October 12

|
I have several videos, .flv files, which I want to put a black bar over a small part to obscure something. I will be watching the videos in MPC-HC, the version that comes with the latest CCCP.
I don't know if VirtualDub can help me as I don't want to edit the videos themselves, just have an script or such. I don't suppose you (as dumb as this might sound) do this with subtitle files?... like make a black bar just appear wherever by using a subtitle file, not sure if those work with .flvs though.
I'm completely useless when it comes to computer languages. |
 |
| malky |
| Posted: Jul 17 2014, 09:00 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 290
Member No.: 22386
Joined: 6-November 07

|
Not sure what you want to do, but you can use a subtitle to cover a part of a flv file. This one line srt file starts the subs at the half second mark and ends after 1 min 20 sec 'Pos' is the position of the subtitle. Th character I used was the shifted thingie above the \ .
| CODE | 1 00:00:00,520 --> 00:01:20,640 {\pos(194,208)} |||||||||||||||||| |||||||||||||||||| |
I took a snap of a frame of the video and used a paint program to figure out the size and position. This is how the flv appears on playback

In VirtualDub you either have to use a bmp file and a logo filter then recompress as an avi file or use an ssa subtitle with the Textsub filter. The logo filter is easier, the SSA method is a PITA. |
 |
| -vdub- |
| Posted: Jul 18 2014, 05:43 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
If you choose not to use the logo filter and bmp file to do this as malky has mentioned. Need another option use a subtitle tool to produce the subtitles black frame to mask where you need covered without text only black or a colour prefer. They can be all black without text if you like, which maybe better. Have a look at www.videohelp.com tools section for many subtitle tools to make and edit as needed. Ones you may find helpful are the ones you can load your video into then go from there. Check which subtitles MPC-HC can auto load most subtitles are .srt files which should be ok for most or all video players |
 |
| malky |
| Posted: Jul 18 2014, 09:53 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 290
Member No.: 22386
Joined: 6-November 07

|
Of course, in the example video frame I posted with the yellow bars, MPC has options to set background/foreground etc of subtitles to all black/100% opaque:the example shown would be a rectangular black box. |
 |
| -vdub- |
| Posted: Jul 21 2014, 04:16 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
I'll leave a link below just in case like to try a tool to do this or for future projects. That said most likely malky idea may be a quicker and easy to do
http://subtitlecreator.sourceforge.net/Sub...orHomepage.html The latest version SubtitleCreator v2.3rc1 released on 2008-07-12 (YY/MM/DD) |
 |