Ubuntu Multimedia :: MTS/MT2S To MKV (Esp. Applicable To Sony HD Camcoders)
Jul 10, 2010
After spending many frustrating hours, I finally found a solution to easily re-mux m2ts/mts files produced by Sony HDR-SR12 or other similar camcoders in order to stream them smoothly over DLNA to Samsung C-Series (55C8000) TV in full HD quality. But the solution is generic and can be used for any rendered.
First the problem: Above mentioned Sony camcoder produces 1920x1080, 60i video. However, the time-stamps on the frames in each interlaced field are wrong, both frames of a filed having same time-stamp. This is very problematic for almost all rendering devices. My first approach was to re-encode these mts files using Handbrake to convert to m4v. This worked though at a heavy computing cost. The conversion is very intensive and for 50GB of videos could easily take more than 12 hours on a core-2 processor.
One day, I was browsing Ubuntu forums, I came across this thread. This actually produced the re-muxed file in a fraction of a second as opposed to re-encoding with Handbrake that took very long time.
1. It is using mencoder + lavf, a known broken combination in presence of B-frames.
2. It does not allow to copy the subtitle track (PGS) that Sony camcoder produces. This subtitle track is very important as it contains the recording date/time information which will be valuable when using these videos in future.
The following solution overcomes all the above-mentioned problems, is rock-stable and preserves the sub-title stream as well. I use ffmpeg to simply copy all the streams and output them in an mkv container. No information is lost/re-encoded. Here is the simple answer (as often observed in scientific research, the useful answer to a complex problem can often be stated very simply ):
Code:
ffmpeg -i input.mt2s -scodec copy -acodec copy -vcodec copy -f matroska input.mkv I have written a script that converts all the m2ts files in a subfolder to mkv. The script is as below:
Code:
#!/bin/bash
# m2tstomkv_subs (Fix the faulty fps (dual frames in the interlaced fields with same time-stamps) and repackage in matroska mkv container)
time {
[code]...
The conversion is lightening fast. Finally I am able to watch the videos in their true quality.
View 1 Replies
ADVERTISEMENT
Oct 26, 2010
I wrote this little function that I use from my '~/.bashrc' (from a script I also made, with help) to run a program on a timer, however there is one small issue I'm having.
Code:
##### Run program on a timer
# Usage: program-timer <program> <runlength (in secs)>
function program-timer()
{
$1 &
mypid=`eval ps ax|grep "$1"|grep -iv "grep"| awk '{print $1}'`
[Code]...
Basically, it works just fine, but the issue I'd love to get help with is when the timer runs out, it doesn't shutdown the program. That is, not until I close gnome-terminal. I've tried 'exit' in several places, but it doesn't seem to close it.
Now, the above script does what I want, but using 'killall gnome-terminal' not only closes the gnome-terminal window I am running the function on, but ALL gnome-terminal windows I may have open.
Does anybody see a simple way to fix my small dilemma, to have it close only the gnome-terminal window I'm running the function on?
View 9 Replies
View Related
Dec 3, 2010
Is this howto which is based on FC5 still applicable to FC14?[URL]...
View 2 Replies
View Related
Oct 15, 2010
I have recently graduated from uni and during my time there I have developed an interest in HDL, specifically Verilog. As my current job doesn't lend itself to doing anything in verilog so I decided to keep myself sharp by designing a 32 bit processor that is similar to (but not the same as) the MIPS processor it will certainly be RISC. While starting work on it I have decided to start a blog detailing what I have done including the source file as I am entering my work into the wide world I think it needs a licence but I am not looking to make any money or even to derive any fame from what I'm doing. Like I said the main reason to do it is to keep me active in using HDLs.
I hope to gain from the blog suggestions for alternative(better) ways to do what I am doing, for people to use what I have done as an example of a medium sized project in verilog and to force me to have some form of documentation on my project. That's enough self publication to the question. Is the GPL (either version 2 or 3) applicable to work in HDL as it is not a traditional programming language but shares many of the same features? It certainly does not feel like I should use a CC license. I'm not sure this is the correct forum for this question but it seems most applicable.
View 5 Replies
View Related
Oct 28, 2009
I have just installed Centos 5.4 on my box and run "yum update", but to my surprise it says there is nothing to be updated:
# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: centos.intergenia.de
* base: centos.intergenia.de
* extras: ftp-stud.fht-esslingen.de
* updates: centos.bio.lmu.de
Setting up Update Process No Packages marked for Update test
View 4 Replies
View Related
Jan 13, 2010
I just bought a new TV and I'm trying to use my ubuntu box as a media server. I've included my specs below. Ubuntu recognizes the TV fine and the resolution is automatically set to 1920x1080 according to the display prefs which is native to the TV. I can see the desktop but it extends beyond the borders of my TV, which makes me think that somehow the resolution isn't set properly. I can't see my top or bottom task bar at all
Furthermore, the image is quite messed up. It's hard to explain, but text doesn't appear properly, nor do any icons etc on the desktop, they're somewhat pixellated. What's even more confusing is that movies themselves seem to play fine. I've downloaded some 720p mkv's and they play great, so it's just the desktop itself that is messed. I've installed the NVidia driver manually from their site and it's the latest 173.14.22.
[Code]...
View 1 Replies
View Related
Dec 30, 2010
I just installed Ubuntu on my Sony Vaio VPCEB23FM. However, when I tried to watch videos, there was no sound coming out. I went to [URL] and tried out the link in post #5, but that completely got rid of my sound card and I no longer have any version of ALSA.
Code:
[anurag@Anurag-Vaio:~$ aplay -l
aplay: device_list:223: no soundcards found...
anurag@Anurag-Vaio:~$ lspci -v
[Code]....
View 9 Replies
View Related
Feb 15, 2011
I have a problem with the system detecting my Sony Walkman NWZ-S639F. When I plug the device, the player's screen says 'Connecting', however nothing shows up on the laptop screen. When I was running Linux Mint 10, the player connected with no problem, and since Mint 10 is basically Ubuntu 10.10 with extra software, I think that I miss certain software packages.
View 1 Replies
View Related
Sep 5, 2010
I have a Sony Vaio VGN-SZ740 laptop with ubuntu 10.04. Unfortunately the motion eye webcam in not working. When I type lsusb in the terminal, it gives the following message:
Code:
View 9 Replies
View Related
Oct 5, 2010
I am having a problem with my new laptop Sony VPCEA1S1E. I installed Ubuntu 10.04 LTS and since then I cannot hear any sound. I have tried a lot of things before posting in here but nothing seems to work. From changing the module value in the alsa=base.conf file to installing the updated alsa drivers (drivers,utils,base}. I have also checked the alsamixer so that nothing is muted. I am struggling with this problem two days now and it does not look like I am getting somewhere. The various postings I have read so far did not work for my case.
A few things which might be useful at first:
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0 .....
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on Oct 5 2010 for kernel 2.6.32-24-generic (SMP).
View 5 Replies
View Related
Nov 12, 2010
I'm having a hard time fixing the sound on my Sony Vaio Vaio VPCEE25FX/WI. Headphones work for some reason, but speaker doesn't.
View 1 Replies
View Related
Mar 28, 2010
I've bought Sony VAIO F11 and I can't find any driver for video card. Is it possible to configure 195.XX NVidia driver for this card? It doesn't work now ;(,
View 1 Replies
View Related
Jul 10, 2010
I'm trying to capture video from my Sony DCR-HC21 video camera. I've managed to install Kino fine but was getting the error
aw 1394 kernel module not loaded or failure to read/write /dev/raw/1394
I could get it working by opening as root but then the files belong to root which I didn't want. So I did the following (as suggested in another thread:
chmod 777 /dev/raw1394
And now I get the error "No AV/C compliant cam connected or not switched on"
I've tried so many things ie [URL]
and as I'm a novice I'm reluctant to keep trying random things when I don't really know what its doing.
OK, it's back to the first error, is there anyway to run Kino and capture video without changing to root?
View 9 Replies
View Related
Aug 13, 2010
I have a Sony GC1 Net-Sharing Camera, and it has the ability to be a webcam when connected to the computer. Back on XP, this was picked up instantly, but Ubuntu doesn't seem to recognize it, and I've been to the webcam help topic on the Ubuntu website and it gets me nowhere.
View 4 Replies
View Related
Sep 6, 2010
I have a Sony Walkman NWZ-S545. I have Rhythmbox 0.12.8. I have a System 76 amd64 computer. I have run Ubuntu (now 10.1) for a couple of years and before that Linspire and haven't had MS Windows for years.
What I want is to be able to simply transfer music files from my computer to the Walkman. Nothing fancy. Drag and drop is fine. (I was hoping that it would be shown on the desktop, that I could open it and access it and drag files to it.)
I looked in Ubuntu help and found: "Ubuntu will work with most portable audio players, including iPods. Normally, all you have to do is plug the player into your computer and then use Rhythmbox to copy songs to and from the player."
When Rhythmbox didn't recognize it and no icon appeared on my computer screen indicating it was plugged in as an external device, I went back to Ubuntu help and found and installed the mtpfs and mtp-tools packages and made sure that the MTV plugin in Rhythmbox was checked. Now Rhythmbox could see the Walkman BUT could not play any songs! And there was no Walkman icon on the desktop.
When I tried to play the 5 sample songs on the Walkman, I got one of these 3 errors:
a. Couldn't start playback - no file name specified for reading
b. No URI set
c. Unable to copy file from MTP device: PTP Layer error 02ff: LIBMTP_Get_Filemetadata(): call to ptp_mtp_getobjectpropssupported() failed.
(BTW, my Rhythmbox setting under preferences - music is for .ogg - can see other options under edit but cannot switch to them. My mp3 songs transferred from my external hard drive to Ryhthmbox beautifully and play just fine)
After further searching, I read I should confirm that libmtp8 was installed and I found that it was.
So I went to Ubuntu Rhythmbox help and read: "If Rhythmbox Music Player does not detect your device as a portable audio player, you can create an empty file named .is_audio_player at the top level hierarchy of the filesystem of your player."
OK - I am stuck here at several levels:
1) Is this what really needs done?
2) If so, how? (I searched ".is_audio_player" and came up with several comments and how-tos, all seeming to involve going into the root directory and inserting an empty file somewhere. First of all, I can't get into my root directory even as the administrator with full privileges! Secondly, I know enough to know that even if I could - I shouldn't!
View 4 Replies
View Related
Nov 13, 2010
I have finally got both video drivers working. Is it me or is the quality of the Intel drivers almost better than the nvidia? I will try something with hardware acceleration soon but the 2D (compiz etc) all works really well.
View 1 Replies
View Related
Feb 12, 2011
Title says it all.
View 1 Replies
View Related
Mar 15, 2011
I'm trying to run Wammu with sony ericsson xperia x10 mini (usb cable), the SD card inside the phone appears but I can't get something like /dev/ttyACM to communicate with the phone.
(It's ubuntu, generic kernel with all stuffs and I had had a samsunng phone working in the past)
View 1 Replies
View Related
Mar 20, 2011
I've just installed Ubunto having never had a go at anything linux before. My problem at the moment is trying to transcode downloaded AVI files to use on my Sony Satio. I'm using arista transcoder, and I can't seem to find anything that works for my phone. I've tried about 4 different sony presets (there isn't a specific one for satio) and I've tried a couple of others, but none of the outputted files are recognised by my phone once I've transferred them across.
View 1 Replies
View Related
Jul 31, 2011
Im able to detect the monitor on the laptop once connected but the monitor indicates "No Input". I've tried rebooting the computer with the HDMI cable connected with no avail. I have also tried out a host of other solutions offered in different forume with absolutely no change.
I have a HP pavilion dv6 3310si with 32-bit Ubuntu 11.04, an ATI HD Radeon 5600 with latest ATI radeon driver installed and this is my xorg.conf;
My xorg.conf:
Section "Module"
Load "glx"
EndSection
[Code]....
View 2 Replies
View Related
Aug 10, 2010
I have played around with Avidmux but its just not what I'm looking for, any video editing software similar to Sony Vegas would be awesome such as dragging clips on a timeline and such.
View 3 Replies
View Related
Oct 11, 2010
I have a problem with installing ubuntu 10.10 in my vaio cw. when I boot it , it doesn't show anything on my LCD but when I plug a monitor in , there would be an output. Also I have the same problem with 10.04 version.
View 7 Replies
View Related
Nov 23, 2010
I have a Sony Vaio VPCZ128. It has a NVIDIA GeForce GT 330M GPU with CUDA Technology (SPEED MODE) and Intel HD Graphics (STAMINA MODE) (switchable). The Processor is an Intel Core i7-620M with 2.66 GHz and the Chipset from Intel HM57 Express chipset.
Finally I successfully installed Ubuntu 10.10 (mainly following the advice on [URL] and using his kernel). Every thing is working fine including sound (still a few minor problems with backlight and Fn F5/F6). But I still desperately try to get the internal microphone running.
View 1 Replies
View Related
Sep 3, 2010
i plug my camera into my laptop and it won't mount the camera's memory, when i plug the memory card directly to the laptop it mounts without problems.
1) a good DIVx/ wmv and DVD movies player?
2) audio/ mp3/ wav player
View 3 Replies
View Related
Apr 1, 2010
I've had a look and can't find this particular problem on the boards (feel free to correct me if there is something useful already though). I've recently got a Sony HDTV, and have hooked it up via HDMI to an Nvidia GeForce graphics card. Surprisingly enough, I'd like to watch movies/TV this way. However I'm experiencing flickery horizontal white lines on the desktop, and horizontal lines through video. I generally use VLC to play stuff, and have the 805 Nvidia proprietary driver installed.
So far I've tried:
Changing the resolution and refresh rate (Including the native TV ones)
Using Twinview, Separate X Screen and unplugging my monitor altogether.
Uninstalling the Nvidia Drivers and using the standard ones
Re-Installing the Nvidia Drivers
Xine Player
Changing video output of VLC to X11
Using Force scaling (I think, it's a tv-specific setting to compensate for differences in native resolution)
Switching desktop effects on and off
In short, it doesn't seem to be an issue with drivers, resolution, refresh rate, video files, codecs or players. How to stop these flickery lines as I wouldn't like to have to give up on the OS over one problem.
View 2 Replies
View Related
May 1, 2010
Not exactly sure but tried several fixes and I'm now getting sound.
Not overly loud but decent enough. Funnily enough it sounds louder inside a windows virtual machine!
I've managed to get everything working including built in webcam on my laptop.The only thing I can't get is sound.
I have a Vaio VPC-EB1E0E which has "Intel HD Audio" . sound worked in Windows when I first booted up and used a Realtek Audio driver.
I'm using Kubuntu 10 RC1 - 64 bit (unable to get any earlier version of U/Kubuntu to work - unable to get Fedora to work either).
The closest info I've seen to helping is:
[URL]
I installed it but wasn't sure how to configure and it still didn't work... (no idea what codec etc)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
Subsystem: Sony Corporation Device 9071
Flags: bus master, fast devsel, latency 0, IRQ 22
[Code].....
View 1 Replies
View Related
Mar 18, 2010
I'm working on getting my myth box hooked up to my Sony flat panel display.Originally the nvidia drivers could not read the EID, so defaulted to only 640x480 over my HDMI-DVI connection.I manually updated xorg.conf with a mode for the resolution I know the thing can handle. Suddenly there are several resolutions avaialble in nvidia-settings and it seems to be communicating with the TV, as it is now listed as a Sony FP display rather than a CRT.I'm able to change the resolution now as expected.my problem, however, lies with the TV itself. I can't seem to get it to actually display the output. I'm able to remote desktop into the box and can see Gnome logged in and everything.However nothing on the TV itself.How do I troubleshoot this? Am I missing something obvious?
View 6 Replies
View Related
Jan 4, 2010
I can't get Ubuntu to mount my Sony DRU540A, no matter what I do. Audio CDs, Data CDs and burning are impossible, does anybody have any ideas on how to mount this unmountable drive? It worked well enough to install Jaunty Jackalope, and I never had any problems using this drive with windows xp, but now that I've upgraded Karmic Koala it doesn't seem to work no matter what I try.
View 4 Replies
View Related
Jun 9, 2010
I've been trying to install Ubuntu 64bit on Sony Vaio CW and the Screen is 14 inch when I boot from CD it seems to work normal but after i select "Try Ubuntu without installing" or "Install Ubuntu" then the screen goes black like nothing happening but the CD runs for while then stop. Again I reboot to try again this time I press F6 then select "nomodeset" and it boots fine I was happy though, after installation success when I boot again WTF it goes black again and then I reboot and press "E" during the options that showing to select OS then I remove "Quit Splash".
I guess then I add "nomodeset" and control+X to boot, it works fine. So when I log in and of course I activate the Nvidia Graphic Driver then I reboot and WTF again the screen was out sync or something like the the screen didn't show properly. The Application menu normally is on the upper left of the screen but this time it was on the center of screen and the Shut down button came to the left side and i have to move the mouse cursor to the right and then it would appear on the left just like the resolution is to big for the screen.
View 1 Replies
View Related
Jan 3, 2010
I'm running ubuntu 9.10 and I'm having difficulty with my Sony DRU-540a & burning CDs. No matter what, every disc I put in is unwritable. In Brassaro it says:
There is No Recordable Disc Inserted
So I tried Nero & that also said there was no recordable disc. I know these discs are blank, I just bought them yesterday. They're the same type of disc I used before switching permanently to ubuntu. When trying to play an audio cd with VLC I get the following error:
Your input can't be opened:
VLC is unable to open the MRL 'cdda:///dev/sr0'. Check the log for details.
I installed ubuntu with this drive, why can't ubuntu read it?
View 1 Replies
View Related