Ubuntu Multimedia :: Batch Extraction Of Subtitles From Mkv Files?

Jul 16, 2011

I have recently been tasked to extract the subtitles from a lot of mkv files. Hundreds of them, maybe even more than a thousand. To do this, I modified a script I found online:

#!/bin/bash
IFS="|"
if test -z $1; then

[Code].....

So in the above example the subtitle is actually in track number one and my script would be borked for that particular file. Is there a way to integrate mkvinfo into the script and parse it to see what track should be extracted? Like, read it line-by-line and change the value of some #TRACKNO variable everytime a string like "| + Track number:" appears, and stop when a string like "| + Track type: subtitles" appears? Maybe even skip doing anything if there aren't any subtitles.

PS: I actually prefer SRT subtitles to ***. If there was some command line tool I could use to convert the resulting *** file to SRT I would be much obliged.

View 2 Replies


ADVERTISEMENT

Debian Multimedia :: Mplayer Audio Extraction From Video Files

Dec 9, 2010

I am on Squeeze. In the past I have successfully extracted audio from video files. Recently when I try it I get an unplayable file, just some brief noise nothing more. Mplayer on the other hand plays every video and audio file out there. Is there something wrong with mplayer? I installed mplayer from the repo. I haven't compile mplayer since before Lenny.

View 14 Replies View Related

Ubuntu Multimedia :: No Sound In Gnome-subtitles With Mkv Files?

May 9, 2010

I got a problem with gnome-subtitles when I try to sync an srt file with an mkv file: no sound available, whereas in the case of an avi file no problem of course. Did you experiment the same problem and find a workaround?

View 1 Replies View Related

OpenSUSE Multimedia :: Subtitles To High In MKV Files?

Jun 16, 2010

I use divxenc 1.4.6 to create AVI files. Works great. Recently, I started using the option to subsequently convert that to MKV, so I can include multiple subtitles inside the file. Unfortuately, the subtitles show up much to high in the picture. In the AVI format, the subs are just above the bottom of the image. But in the MKV here they appear at about 1/3 up from the bottom. This behaviour shows in both Mplayer for Linux and VLC for Windows. So I guess it's in the file. Is there an updated version of divxenc, or another tool to generate MKV's directly ?

View 2 Replies View Related

OpenSUSE Multimedia :: 11.3 - Cannot Play Files With External Subtitles In Kaffeine

Jul 22, 2010

I'm using openSUSE 11.3 for my laptop and Kaffeine built in as my player. But when I tried to play any files with external subtitles, there is nothing happened. The drop-down list of subtitles is just gray and cannot be used.

So I have two questions:
(1) Can Kaffeine built in openSUSE 11.3 load subtitles automatically?
(2) If it cannot, how to load subtitles manually?

View 3 Replies View Related

Ubuntu Multimedia :: How To Batch Convert Files To .flv?

Apr 16, 2011

So I have a php script that is setup to stream flash video (.flv) and I absolutely love having it. The problem is that any files I want to stream have to be in .flv format for it to work properly as .avi and others obviously don't stream well. Up until now, I've used FFMpeg to change the format from .avi to .flv, however the process takes a lot of time if you have a lot of videos, added to that you have to do one file at a time definitely makes it a pain.Does anyone know of a bash script that can take all the files (i.e. avi, .wmv, .mkv, .mpeg4) in one folder and automatically convert it to .flv? Then possibly delete the old files? Low resolution is fine, so long as it at least viewable. Does anyone have a script or know of a program that can do this (I run Ubuntu 10.04). I think FFMpeg has the best chance of doing this, but I don't know the syntax to actually do so.

I've searched the internet, and while I have found a few scripts, they didn't work for me (still looking into two scripts I found.I am currently messing with them to see if I can get them to work).It would be immensely helpful if someone knew of a way to do this.I also forget to mention that I have used Winff, but I was looking more for a bash script to do this so that I can set a cron job to convert them every hour or so.

View 4 Replies View Related

Ubuntu Multimedia :: Batch Convert Audio In Video Files?

May 8, 2010

a movie is encoded with AC3 in 6 channel audio, what I get out is all of the sounds except for voices, which in 5.1 would be sent to the center channel. What I usually do is fire up avidemux and convert the audio to mp3 stereo, as converting to a 5.1 format usually ends up with a very odd sound (like running everything through an echo chamber). What I'd like to do is run a script to batch-convert these files from AC3 to MP3. The video format may vary, but they are usually XVID. I am comfortable at the command line, but I am not well-versed in audio/video tool terms. I don't need anything extravagant, I just want something that works. Heck, even if it is done one at a time, having a shell script that I can use to simply type:

tool.sh inputfile.avi outputfile.avi

View 4 Replies View Related

OpenSUSE Multimedia :: 11.2 - Batch Of Codecs To Work With MKV Files

Jan 25, 2010

System - openSUSE 11.2 "Emerald" KDE (with gnome base)
Player - vlc
I'm hoping to find a batch of codecs for my newly installed openSUSE OS. I have a very troublesome collection of .mkv files that took several codec packs to make them work. For a brief explanation, I had tried haali and matroska both together and they still didn't work on certain mkvs. I ended up using CCCP, but that's win only as far as I can tell. It took the latest update of CCCP to work on all of my mkvs.

View 4 Replies View Related

Ubuntu Multimedia :: Cant Play Mp4 Files With Dual Audio And Dual Subtitles ?

Jul 20, 2011

I cant play mp4 files with dual audio and dual subtitles. I am using a laptop with intel graphics. I've already tried mplayer, vlc, and smplayer. But still the files wont play properly. I been jumping all over the forums reading and trying anything i come up to. What do I need to do? oh btw I am using Ubuntu 10.04.

View 3 Replies View Related

Ubuntu :: Iso File Extraction - Go Through 3500+ Rom Files And Delete Added ;1 To Nes Extension

Aug 15, 2010

I downloaded an ISO of some nes roms and used the archive manager to extract the files. It extracted them but it added a ;1 to the end of the extension. I don't want to go through 3500+ rom files and delete the added ;1 to the nes extension. How can I prevent this in the future?

View 3 Replies View Related

Red Hat / Fedora :: .bin Extraction Error Unable To Create Temporary Files

Jul 12, 2011

It is saying to make sure there is enough room in the tmp folder, so I cleaned out the entire tmp folder but the same error is still happening. Is there a way to make the tmp folder bigger? Or perhaps extract the temporary files to a different folder? Or maybe the size if the tmp folder is not even the problem?

View 1 Replies View Related

Ubuntu Multimedia :: How To Convert The .sup Subtitles

Feb 12, 2011

i recently got my hands on a movie and it came with the subtitles file, but it's in .sup format, which by the looks of it, is not supported in mplayer or vlc. i've looked online, and this seems to be the only format the subtitles come in. is there any successful conversion program to where i can convert them to .ssa?

View 3 Replies View Related

Ubuntu Multimedia :: How To View Two Subtitles

Apr 10, 2011

I would like to see two subtitles in the same video, one in my language and another in english, to learn the other language. At windows I was using BsPlayer, but in Ubuntu I don't know any that does it. Do you know any?

View 4 Replies View Related

Ubuntu Multimedia :: Adding Subtitles To A Video?

Feb 6, 2010

I'm sure this is easy to do. I want to create one of those "Hitler" internet meme things for a presentation I'm doing at work, which of course, involves adding custom subtitles to a video. Now, I've found the tutorial that says how to use the right filter with avidemux, but I was wondering what the easiest way is to create the file for that filter to read. Is it just a matter of manually writing it up in my fav text editor? something that looks like

startTime,duration,text

(one per line) then I'd rather just textedit it manually, but if it's something complicated, then I should use some software to do it...

View 9 Replies View Related

Ubuntu Multimedia :: Edit Subtitles Embedded In A Mp4 Vid?

Jul 21, 2010

I recently acquired a few japanese anime which have English subtitles. All the videos are in .mp4 format. They have embedded subtitles (though not hardsubbed, since I can turn them off). My question is how do I edit and re-embed these subtitles, since the translations are less-than-perfect?

View 1 Replies View Related

Ubuntu :: How To Run Batch Files?

Oct 19, 2010

I recently installed JDK 6 runtime using apt-get install in terminal. I downloaded a .jar file and attempted to run it but I got an error telling me it has blocked the file for some reason.Another thing was, how can I run batch files? I know ubuntu doesn't come with something like MS DOS but is there anything similar that I can run batch files with?

View 3 Replies View Related

Ubuntu Multimedia :: Make Subtitles Appear In The Black Bars?

Jan 30, 2010

using any software(totem/vlc/mplayer/heck, i'd download a new one if it had this capability) make subtitles appear in the bottom black bar that exist due to video being 16:9 on my 4:3 monitor and not on top of the film leaving all of that black bar real-estate wasted?

View 2 Replies View Related

Ubuntu Multimedia :: Watching Video With 2 Subtitles At Same Time

Feb 23, 2010

How to watch video with two subtitles(different languages) simultaneously?

View 5 Replies View Related

Ubuntu Multimedia :: Embed Subtitles In Video File?

Apr 30, 2010

I have a film that has been split into 2 files, both of which has an associated srt subtitle file.

I want to embed the subtitle file permanently in the films, so I can subsequently combine the 2 video files (and so have continous playback).

I've tried playing about with Avidemux but no joy so far. Can anyone point me in the right direction?

View 3 Replies View Related

Ubuntu Multimedia :: Subtitles On Top Of Other Windows (for Example Flash Videos)?

May 8, 2010

I am looking for a subtitle player, that would show subtitles on the screen. For example, when i watch a video in ..... (music video..) it would display independatly the text (so I can have a karaoke music video)Does software like this exist?

View 3 Replies View Related

Ubuntu Multimedia :: Movie Player - No Video - No Subtitles ?

May 13, 2010

I have just upgraded to Lucid. While trying to watch movies (i have installed all the requisite plugins), I encountered certain problems. The following is what I noticed after some thorough search into the issue:

1. Suppose one goes to the location of a video file, say, /Home/Videos/Sound of Music.xyz , double clicking the file would open the movie player (Totem) but one would not be able to see any video, though sound is coming.

2. Sometimes, on entering the fullscreen the video started from double clicking the file is visible, but leaving full screen, it is lost again. This however doesnt happen in all cases, because mostly one sees no video if through double-clicking the file.

3. The same operation of playing, if done through the player (by /Movie/Open.. or by Adding a video file in the playlist) happens quite properly.

4. A .mkv file doesnt play for long, since the player crashes.

5. Subtitles are not detected, even after putting the settings on automatic loading of subtitles (/Edit/Preferences/Automatically.....)

View 1 Replies View Related

Ubuntu :: Compile Batch Files In Dos?

Nov 9, 2010

Is it possible?I am mainly looking for A shell script or program that can convert a Batch (.BAT) file into a Windows executable (.EXE), or
A program that can be run from MS-DOS that can turn a batch into an exe.

View 3 Replies View Related

Ubuntu Multimedia :: Watch Video With Two Subtitles(different Languages) Simultaneously?

Oct 31, 2010

how to watch video with two subtitles(different languages) simultaneously?

View 1 Replies View Related

Ubuntu Multimedia :: Video Editing Software With Subtitles Capability?

Jul 3, 2011

Can anyone recommend open software that will allow me to edit videos and add subtitles? I have footage in one language and would like to have subtitles for people that are fluent in another language.popcorn for the people watching my videos

View 3 Replies View Related

Debian Multimedia :: Getting The Subtitles To Be Included In The File Dump.vob?

Jul 1, 2011

Doing this: mplayer dvd://1 -v -dumpstream -dumpfile dump.vob Gives me all the audio tracks, but not the subtitles. How can I go about getting the subtitles to be included in the file dump.vob? I've tried something like: mplayer dvd://1 -v -sid 5 -dumpstream -dumpfile dump.vob (where -sid 5 was the correct subtitle) but this does not work. I'm going to use mencoder to make an .avi file (with subtiutles, obviously), so I could, as a last resort, use some other program that extracts the subtitles (suggestions?).

View 3 Replies View Related

OpenSUSE Multimedia :: Kaffeine Does Not Show Subtitles Anymore?

Mar 15, 2010

I'm using Kaffeine 1.0-svn3 from Packman repo on openSuse 11.2 with KDE 4.3.5. In Kaffeine, I can not find the menu where I can choose the subtitles. (I want to watch an avi-file with a separate subtitle-file in srt format). With openSuse 11.0, KDE 3.5.8. and an older version of Kaffeine, there was a possibility to select subtitle files (srt).

View 5 Replies View Related

Fedora :: Batch Converting Of PNM Files?

Aug 27, 2010

when i scan some documents they are saved as .PNM files. what I would like is JPGs.

does anybody know any good ways of batch converting pnm files to jpeg files.

View 9 Replies View Related

Programming :: Batch Process Files In VI?

May 29, 2010

I'm completely new to scripting and I'm trying to figure out how to write a script that will get a list of all the files in a directorywn through any subdirectories.When I have the list I want to o each file in VI and change the fileformat. So far all I have been able to figure out is that VI can do the batch processing and that "ls -R" gets me the recursive file list. I'm still pretty clueless on how to do the batch process with the VI editor. I think I'm supposed to use the Ex mode but I don't know how to get the list of arguments from the filelist into the editor so they can be processed. If it matters the files were all written in a Windows editor and have gotten the MS carriage returns so I want to do a :set ff=unix command on all the files without having to go into each file manually, there are over 300 files that need updated.

View 3 Replies View Related

Ubuntu :: Gimp Batch Process Multiple Files Index To B&W?

Apr 15, 2010

I scanned hundreds of pages in gray scale and would like to batch process them to B&W. You can do this using the gimp GUI. what it does is get rid of all the gray shading from reflections off the paper when scanned. So you get crisp white backgrounds with black text and diagrams. I would like to simply do this to the entire group directory at one time as it would be quite a lot of effort to open them and do them one by one.

View 3 Replies View Related

Ubuntu :: Mega Batch Files To Rename - Includes Sub Folders

Oct 20, 2010

I have quite a few sound sample files totaling over 4 gigs in size with around 80 root folders and then around 34 sub folders. i have a total of 13 DVD's in the above format. how do i "change the date" on all files in one go is that possible?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved