|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#26 | ||
|
Quote:
Gosh interlacing should be banned I tell you! Id rather shoot 1280x720p or even 960x540p than 1080i....this camera was particularly horrendous with the interlacing artifacts, I mean the edges of things standing still would spike, it was just awful. I hope I can deinterlace the footage before I deliver it...I don't care if it takes a bit longer!Quote:
EDIT: Both of you have been VERY generous! Many times its easier to just walk away and I try my best to be the exception if I feel I can contribute effectively and I'm glad I see that in other users! Makes this smaller section nice
__________________
-13" MacBook Pro, 2.4Ghz C2D, 8GB RAM, SSD+HDD. -Canon 550D, Canon 6D (In the mail ), EF 35mm ƒ2, EF 50mm ƒ1.8, EF 85mm ƒ1.8, EF-S 18-55 ƒ5.6.
Last edited by nateo200; Sep 13, 2012 at 10:16 PM. |
|||
|
|
0
|
|
|
#27 |
|
Hi. Just came across your program. Tried running it and keep getting errors trying to convert mkv files to m2ts files. Screenshot of error is attached. Any ideas?
tried it with 6 files I have and none of them were processed thanks |
|
|
|
0
|
|
|
#28 | |
|
Quote:
An .m2ts file is less relaxed when it comes to accepting streams than an .mkv file, it needs this keyframe information. Therefore just copying the stream results in an error. You will probably have to automatically add some information to the stream. This is kind of a re-encoding, but not really since you don't use quality. It is rather called re-muxing. If you dare to use the Terminal in Mac OS, this might possibly be done if you type (or copy-paste) and adapt the following line into the Terminal: Code:
/Applications/Video\ Container\ Switcher.app/Contents/Resources/ffmpeg -i /Volumes/.../inputfile.mkv -acodec copy -vcodec copy -bsf h264_mp4toannexb outputfile.m2ts |
||
|
|
0
|
|
|
#29 |
|
thanks for your help. these files were downloaded, not sure where they came from. basically what I'm trying to do is to convert stuff i download to m2ts format so that it plays fine via my windows media center extender. Extenders don't support mkv files natively
let me try in one file via terminal ---------- just tried coverting through terminal and it seemed to work fine. took less than 10 seconds Code:
/Applications/Video\ Container\ Switcher.app/Contents/Resources/ffmpeg -i ~/Documents/test/Homeland\ -\ 2x01\ -\ 720p\ HDTV\ x264-EVOLVE.mkv -acodec copy -vcodec copy -bsf h264_mp4toannexb ~/Documents/test/homelandtest.m2ts
ffmpeg version 0.11.1-tessus Copyright (c) 2000-2012 the FFmpeg developers
built on Aug 16 2012 18:49:35 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --disable-ffserver --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-fontconfig --enable-libfreetype --enable-libass --enable-filters --enable-runtime-cpudetect
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, matroska,webm, from '/Users/user1/Documents/test/Homeland - 2x01 - 720p HDTV x264-EVOLVE.mkv':
Metadata:
creation_time : 2012-10-01 03:08:26
Duration: 00:55:46.17, start: 0.000000, bitrate: 3243 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s (default)
[mpegts @ 0x102028400] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/Users/user1/Documents/test/homelandtest.m2ts':
Metadata:
creation_time : 2012-10-01 03:08:26
encoder : Lavf54.6.100
Stream #0:0(eng): Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 90k tbn, 23.98 tbc (default)
Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), 384 kb/s (default)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=80226 fps=9570 q=-1.0 Lsize= 1481697kB time=00:55:46.00 bitrate=3627.6kbits/s
video:1167297kB audio:156852kB global headers:0kB muxing overhead 11.897996%
|
|
|
|
0
|
|
|
#30 | |
|
Quote:
![]() Do you mean "automate" in a sense that it works from the Terminal? Or with a nice graphical interface? For the Terminal, I could write you a very simple script. If you know any bash scripting, this is very easy. A nice GUI took me a few hours the last time, and I don't really have too much free time right now (my first child was born 16 days ago... ).
|
||
|
|
0
|
|
|
#31 |
|
I've written one for you:
Code:
#!/bin/sh for f in *.mkv; do Video\ Container\ Switcher.app/Contents/Resources/ffmpeg -i "$f" -acodec copy -vcodec copy -bsf h264_mp4toannexb "$f.m2ts"; done NOTE: 1, it assues the MKV's to convert is in the current directory; as is Switcher.app 2, it only seems to be compatible with MP3 audio tracks. Of the (few) MKV files I've tested it, only converted the audio of MP3's and in no way the DTS / AC-3 tracks. |
|
|
|
0
|
|
|
#32 | |
|
Quote:
For the guy asking: Do you have any idea how to make a bash script in Unix? If not, just pasting the second line (without the #!/bin/sh) into your Terminal will do exactly what he described: Take all the .mkv files in the current directory and convert them into the same directory. The issue with AC-3 not being supported might actually stem from the ffmpeg version. I'm not sure which one you are using, but the GPL-version doesn't contain the AC3 codec... |
||
|
|
0
|
|
|
#33 |
|
Thank you floh and Menneisyys2 had a total brain fart. I can script it myself. i thought it would be easy to roll this into the ui but totally unnecessary
floh - congratulations. definitely no time with newborn |
|
|
|
0
|
|
|
#34 | |
|
Quote:
If you want to do it though, it is open source and very simply written. Just download the source code and add 2 lines or something to the code. I myself was really surprised how simple Cocoa programming is... |
||
|
|
0
|
|
|
#35 | |
|
Quote:
|
||
|
|
0
|
|
|
#36 | |
|
Quote:
|
||
|
|
0
|
|
|
#37 |
|
is this for PowerPC Macs??? The Link provided by floh does not give information, what the system specs have to be.
|
|
|
|
0
|
|
|
#38 | |
|
Quote:
Yeah, I just checked. I don't even have the option to build binaries for PowerPC on XCode 4.x anymore. Sorry, but I can't help you there. |
||
|
|
0
|
|
|
#39 |
|
Thank you for your work! That try was very kind of you!
|
|
|
|
0
|
|
|
#40 |
|
Chapter
Speaking of metadata, how about a tool to edit chapter titles without reencoding? It's worth $10 to me.
|
|
|
|
0
|
|
|
#41 |
|
Yes, I'd pay for that, too. But it's much more programming effort because it needs a more extensive interface. So sadly I don't have the time to do it. But maybe someone else wants to?
|
|
|
|
0
|
|
|
#42 |
|
Bare Bones
When you say Interface, you probably don't mean UI, but I'm just looking to change existing chapter names, not add additional chapters. Does that make it easier?
|
|
|
|
0
|
|
|
#43 | |
|
Quote:
|
||
|
|
0
|
![]() |
|
| Tags |
| convert, software, video container |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 10:07 AM.






Gosh interlacing should be banned I tell you! Id rather shoot 1280x720p or even 960x540p than 1080i....this camera was particularly horrendous with the interlacing artifacts, I mean the edges of things standing still would spike, it was just awful. I hope I can deinterlace the footage before I deliver it...I don't care if it takes a bit longer!



Linear Mode
