Extract the Contents of a trec. recording

  • 4
  • Problem
  • Updated 2 years ago
  • (Edited)
Can anyone tell me how to extract the contents of a trec. file? You can extract a camrec. But the Program update to trec. recording files. Takes that feature away. Another Camtasia update, another Camtasia Let Down.
Photo of Joe Morgan

Joe Morgan

  • 6806 Posts
  • 3735 Reply Likes
  • Another lost Camtasia feature.

Posted 5 years ago

  • 4
Photo of kayakman

kayakman, Champion

  • 6866 Posts
  • 2190 Reply Likes
I assume you're looking for the video stream?

best solution is to put trec on timeline and produce as AVI
Photo of Stephen Wagner

Stephen Wagner, Employee

  • 641 Posts
  • 166 Reply Likes
A trec is based on the MPEG-4 container format.    The things that distinguish a trec from an mp4 is that a trec uses the TSC2 codec for screen recordings, and it contains multiple video and audio streams.   The latter is actually possible in a regular mp4 file, but most players do not support it.  A trec does not contain separate files that can be directly extracted.  

Any tool that can extract streams from an mp4 might work on a trec.  It depends on how well they handle multiple streams, and how well they deal with unusual codecs like TSC2.  

Why do you want to extract the contents of a trec file?
Photo of Joe Morgan

Joe Morgan

  • 6806 Posts
  • 3735 Reply Likes
Thanks Stephen, I am fully aware of why a trec recording is a container. I want the cursor effects available to me during the editing process in Camtasia. But I want to extract the contents for the reasons I've posted below in my response to Kayakman.

Plus, saving a corrupted trec. that will not open in Camtasia is another reason to extract the contents.

So I will turn the question around and ask you this.
Why would I not want to extract the contents of a trec. ?????

I could Downgrade to 8.3.0  and get camrec. back.
That would mean losing the ability to shut off individual audio and video tracks, a feature that I've wanted for a very long time.

Regards, Joe
(Edited)
Photo of Stephen Wagner

Stephen Wagner, Employee

  • 641 Posts
  • 166 Reply Likes
I have seen your posts about the change from camrec to trec and I understand your complaints, but there is not much point discussing that in this particular thread.

As I said, a trec use the MPEG-4 container, so extracting the the contents of a trec is the same as extracting the contents of an mp4.  Whatever tools you use to extract the contents of an mp4 are likely to work on a trec as well.  I know that ffmpeg can extract the audio from a trec.   You will not get a WAV file, as there is no WAV file to extract, but you get the AAC encoded audio exactly as it is in the trec.
Photo of Joe Morgan

Joe Morgan

  • 6806 Posts
  • 3735 Reply Likes
Actually I want the WAV audio file in it's raw form.  I don't want to reproduce what has already been produced.
 With Camtasia the only "Audio Only" render is a downgrade to a MP3 file.
Plus the process Is a waste of my time.

Also, sometimes I use small portions of the recorded video in other  Video Editing Programs for applying special effects and nice titles.
I can trim them much faster than I can produce them in Camtasia.

I know I can output small clips with Camtasia but it's still a time consuming process.

This was easy before TechSmith took away camrec.

Thanks, Kayakman. 

I'm hoping someone has found a way to truly extract the contents. I have no problem using the extracted AVI file in any of my other Video editing programs.
Regards, Joe
(Edited)
Photo of kayakman

kayakman, Champion

  • 6866 Posts
  • 2190 Reply Likes
if only looking for the audio, put trec on timeline; separate audio from video; put audio in Library [so no extra production]

will that work for you?
Photo of Joe Morgan

Joe Morgan

  • 6789 Posts
  • 3735 Reply Likes
Thanks again, but it won't get that audio file  into another program ( Adobe Audition ) is my favorite audio editing program. Camtasia gives you MP3 audio only output. Plus it's still an extra step to boot.
Photo of kayakman

kayakman, Champion

  • 6866 Posts
  • 2190 Reply Likes
with the audio on timeline, you can export it as a WAV
Photo of bureaudeprod .

bureaudeprod .

  • 4 Posts
  • 2 Reply Likes
VLC opens .trec files. Use its "convert & stream" option in the file menu. Choose the file to convert. I tried it and it made me an m4v file with the 2 video tracks and the audio in it. Open the m4v with audition and voilà !

Use Mkv Merge GUI to export the m4v's video or/and audio separate tracks.

And by the way, be patient with VLC. The export is quiet long. You can watch its progress on VLC's timeline.
(Edited)
Photo of Clark

Clark

  • 25 Posts
  • 3 Reply Likes
Anyone have an update to this?  I need to have an AVI file for editing, but I like to record the system audio, too.  System audio can only be recorded in .TREC format.  So I'd like to record in .TREC and then edit the AVI file in Adobe Premiere Pro.  I would really rather not export the entire 1 hour video to AVI, but if I must, how can I do it without losing quality.  Camtasia AVI recordings are extremely high quality, but I can't seem to get even close to that quality encoding from Camtasia Studio.  Any thoughts?
Photo of bureaudeprod .

bureaudeprod .

  • 4 Posts
  • 2 Reply Likes
VLC opens .trec files. Use its "convert & stream" option in the file menu. Choose the file to convert. I used m4v which includes  2 video and 1 audio tracks in one file (just like .trec) 

Use Mkv Merge GUI to export the m4v's video or/and audio separate tracks.

And by the way, be patient with VLC. The export is quiet long. You can watch its progress on VLC's timeline.
(Edited)
Photo of kayakman

kayakman, Champion

  • 6866 Posts
  • 2190 Reply Likes
exporting/producing to AVI with editing dimensions and production size the same as original trec dimensions should give you a virtually loss-less result
Photo of Clark

Clark

  • 25 Posts
  • 3 Reply Likes
So I've never been clear on how to do what you're suggesting from Camtasia Studio?  How do I export a lossless AVI from CS?  Of course that's only half a solution, because there will be transcoding time—which we would all love to avoid.  Nonetheless, how is it done?
Photo of bureaudeprod .

bureaudeprod .

  • 4 Posts
  • 2 Reply Likes
VLC opens .trec files. Use its "convert & stream" option in the file menu. Choose the file to convert. I used m4v which includes  2 video and 1 audio tracks in one file (just like .trec) 

Use Mkv Merge GUI to export the m4v's video or/and audio separate tracks.

And by the way, be patient with VLC. The export is quiet long. You can watch its progress on VLC's timeline.
(Edited)
Photo of Clark

Clark

  • 25 Posts
  • 3 Reply Likes
Can VLC export an AVI without quality loss?
Photo of bureaudeprod .

bureaudeprod .

  • 4 Posts
  • 2 Reply Likes
Possible, but I never tried. However, whatever the type of file exported with VLC, it'll contain both video tracks (screen + camera) wrapped up together. You'll need to go through a conversion process to seperate video tracks anyway I think.
(Edited)
Photo of lewie895 .

lewie895 .

  • 1 Post
  • 0 Reply Likes
There is no M4V option and it doesnt load up the video after i save it
Photo of serhioromano

serhioromano

  • 16 Posts
  • 2 Reply Likes
This is not good to change camrec to trec without option to continue to use camrec. Just recently I have discovered that someday along the update format was changed.

I work in both Camtasia and Final Cut. Sometimes I treat video in FCPX before use in Camtasia sometimes I first add collouts, coursor, ... and then move video to FCPX. The second scenario is ok as I have export it anyway and I do to Apple ProRes.

But If I need first insert video to FCPX then it is a problem. Before I just used original video from camrec and FCPX creates ProRes version automatically. No I need to export video on camtasia first even I had no changes to video track, just to be able to use it as video file. That is kinda a bummer.

I believe there are some cool advantages of using your new trec format, but could you at least leave an option to continue to use camrec?
Photo of Kevin Mojek

Kevin Mojek, Employee

  • 582 Posts
  • 120 Reply Likes
Official Response
Camtasia Studio 8.6 is available now. It includes the capability to extract media streams from a TREC file.
Photo of Joe Morgan

Joe Morgan

  • 6773 Posts
  • 3730 Reply Likes
That's excellent News!
Any other new features we can look forward to?

Regards, Joe
Photo of Joe Morgan

Joe Morgan

  • 6773 Posts
  • 3730 Reply Likes
Thanks, the same answer came to me about the time I hit submit. I normally wait to upgrade out of fear of bugs. It looks like I'll give this one a whirl today.
Will post back if I run into anything.
Regards, Joe
(Edited)
Photo of Joe Morgan

Joe Morgan

  • 6806 Posts
  • 3735 Reply Likes

Hey Kevin,

I've upgraded to Camtasia 8.6

I've encountered some bugs when trying to extract a .trec file.

When trying to extract an older .trec recording. The extracted file will not play in Windows media player.

 I could open it in VLC media player after granting special permissions to override a broken AVI file index. VLC media player gave me the option to fix the broken file or play as is. Either option will play the file.

 I also tried to open these AVI files in Adobe Premier Pro CS6. Adobe recognizes the files as corrupted and could not import them.

So I recorded a couple of small test files for extraction.

I recorded some music videos while using a microphone. I then opened the recordings in camtasia 8.6. When I extracted the contents of those .trec files. The microphone audio was attached to the.AVI file and system audio was saved to a separate file. The system audio file contained no audio in both instances. Adobe Audition confirmed the files were blank and created at 44.100Hz 16bit stereo.

The same videos played without  any problems or issues in Windows media player or the VLC media player. I had no problem exporting system audio from the timeline but it did require that additional step.

The extracted files from the new.trec recordings imported into Premier Pro without any issues as well. I have a lot of other things to accomplish today and I cannot test anything further at this time.

Regards, Joe

I'm using Windows 8 and a high powered and up to date computer.

(Edited)
Photo of Kelly Mullins

Kelly Mullins, TechSmith Employee & Helper

  • 2849 Posts
  • 620 Reply Likes
Official Response
Hello,
We are happy to announce with today's release of Camtasia Studio 8.6, you will find the ability to extract the contents of a .trec file added to the Clip Bin funtionality.

You can find that option here:
Right-click on a .trec in the Clip Bin. Choose Extract recording contents.


For existing customers who use version 8.x, choose Help > Check for Updates to get this latest version.

For those who do not have version 8.x, you can download the free trial here:
https://www.techsmith.com/camtasia.html

Kelly
User Assistance
TechSmith
Photo of Joe Morgan

Joe Morgan

  • 6787 Posts
  • 3734 Reply Likes
So no feedback regarding the glitch's I posted about earlier?

Regards, Joe
Photo of Kevin Mojek

Kevin Mojek, Employee

  • 582 Posts
  • 120 Reply Likes
Hi Joe. What did you mean by an 'older' trec recording? I don't think we've made any changes to the file format.

Currently it is hard-coded which streams go in which files. The microphone audio gets packaged up with the video stream because... well, because that's how it worked with camrecs... system audio would be a separate WAV file. I agree it would be nice to be able to choose which audio stream goes with the video stream in the AVI.

I'm trying to reproduce the problem with silent system audio being output now; I'll report back here once I know more.
Photo of Kevin Mojek

Kevin Mojek, Employee

  • 582 Posts
  • 120 Reply Likes
Yup, looks like there is a problem with the screen-video + mic-audio + sys-audio combination. Until we get that fixed, you can extract the screen-video + mic-audio first and the sys-audio by itself in a second step. Thanks for reporting it.
Photo of Joe Morgan

Joe Morgan

  • 6787 Posts
  • 3734 Reply Likes
For older versions . What I meant was that when I extracted files created with the .trec format using older versions of Camtasia is where I had problems.
The newer recordings " Todays Recordings " using 8.6 I have no problems.
The error message for VLC media player looks like this.

I used previously recorded .trec files when i first installed 8.6 this morning. Recorded in Jan 2015. So probably 8.4.  Being able to extract the AVI and edit in a program like Premier Pro at times is a good feature. I extracted .camrec for the same purpose.
Regards, Joe
(Edited)
Photo of serhioromano

serhioromano

  • 16 Posts
  • 2 Reply Likes
When to expect this feature on Mac?
Photo of booradlly

booradlly

  • 4 Posts
  • 0 Reply Likes
This feature is not working for me at all. 
Issue #1:
Had lots of errors, then I realized issue.
YOU HAVE NO PROGRESS BAR.

I assumed because there was no notification in the program, that it was an instant operation. But after furthur testing, no, it takes a while to create the file. But there is ZERO knowledge that is happening in the background from the Cam Studio UI.

I have no knowledge when it is done extracting the contents at all.

Issue #2:
After waiting till I thought it was good and done, vlc opens just fine, and mediainfo gives good information. However, the first 20 secs of video has no video and the audio is VERY loud static. Trec plays first 20 secs just fine, and publish produces a video with first 20 secs just fine also.
Photo of booradlly

booradlly

  • 4 Posts
  • 0 Reply Likes
BTW, I can supply said video if needed, I just did a random capture on an online video to test.
Photo of booradlly

booradlly

  • 4 Posts
  • 0 Reply Likes
Also, using mediainfo on trec's works perfectly. I find out the audio is using the AAC codec, and the video is using your proprietary tsc2 format/codec.
However, when I use mediainfo on the avi created from "extract to recording contents", I get different info for the audio, I get pcm as the format. I still get tsc2 as the video.  
Photo of booradlly

booradlly

  • 4 Posts
  • 0 Reply Likes
Also, why does it create an avi, I know that is just the container, but given the container for the trec is mpeg-4, why change that ???
Photo of krelios

krelios

  • 3 Posts
  • 1 Reply Like
How long should it take to extract the contents? I have a 90-minute .trec file that I'm trying to get the content out of (since Camtasia hangs my computer to the point of bluescreening if I try to render it all) but without a progress bar I just see that Camtasia is "working" (the spinning blue Windows 10 circle) and I see that my mic audio is currently a 4GB AVI and I don't see any files for the system audio or the video yet...
Photo of krelios

krelios

  • 3 Posts
  • 1 Reply Like
Actually, it looks like the old bug that couldn't extract more than 4GB from a .camrec is still around for the .trec format. The audio gets to exactly 4.00GB every time I try to export and then stops...
Photo of douglasdavidmelo

douglasdavidmelo

  • 1 Post
  • 1 Reply Like
When I export using all the 3 options - Screen Video, Microphone Audio and System audio - The system audio doesn't work... the file is corrupted... Anyone with the same problem? 
Photo of kayakman

kayakman, Champion

  • 6866 Posts
  • 2190 Reply Likes
try tech support ...

This is a free service and you can submit a ticket here:https://support.techsmith.com/hc/en-us/requests/new

Or call, >>> 1.517.381.2300
Toll Free: 800.517.3001 (U.S. & Canada Only)
8:00 AM to 7:00 PM EST Monday through Friday
Photo of Gerrit Schulze

Gerrit Schulze

  • 4 Posts
  • 0 Reply Likes
Quite annoying how extracting of all avis from trec files goes:

Issue #1: the file has always the same name like 'screen_video_mic_audio.avi', thus is overwritten by the next extraction.

Issue #2: to circumvent issue #1 one could give a folder name to where the content will be extracted into. But this is cumbersome, because I need to copy the file name of the trec file from windows explorer, to make a folder with its name. After extracting I have to rename the created avi file to its original file name. Plus I won't be able to import these clips into Premiere and preserve the file name.

Sorry, but this is bad programming and leads to frustration. I have several takes of screen captures with meaningful names (scene, take, pickup a.s.f.).  What is so complicated to adopt the extracted files' names from their source files?

Issue #3 'Extract recording contents' does not work with more than one file. So I have to proceed like above for every good take one by one?

Great! I now have two licenses of a professionally useless tool (Mac & Windows). Dear TechSmith , do you have any ideas, how to fix this?

Issue #4 has been mentioned by booradlly  already: no visual response of the extraction state, no warning that existing files will be overwritten

Luckily Premiere Pro CC 2015 can import the extracted avi files. That is the only good news.
Photo of kayakman

kayakman, Champion

  • 6852 Posts
  • 2181 Reply Likes
have you considered just rendering each trec as an AVI?

if you have multiple trec files to process, you could do so using batch processing?
Photo of Gerrit Schulze

Gerrit Schulze

  • 4 Posts
  • 0 Reply Likes
No, I haven't tried the batch yet. Thanks for the hint!

I have set up a production preset for AVI using the TechSmith Screen Codec 2. When adjusting the settings with the 'Video compression...'  button, in Video Compression Options window > 'Configure...' button, the quality slider can be increased, but the setting isn't saved.

Can I assume that using the  TechSmith Screen Codec 2, won't recompress the visual content of the trec fiiles during batch processing?

Another issue which stroke me: I have a system to rate screen capture takes appending  '+'  or '++' to the file name (w/o the single quotes),  when a take was good or very good. The batch mentions that the name is invalid and refuses to import, however it is a valid file name on Windows and Mac. 
Photo of kayakman

kayakman, Champion

  • 6852 Posts
  • 2181 Reply Likes
re "...TechSmith Screen Codec 2, won't re-compress ...": it is called a lossless codec, and is not supposed to degrade quality; I've never noticed any such degradation when making AVIs from AVIs, even after making multiple generation productions [something I've done when working on very complex animation sequences]; but I've never tweaked the default compression settings; maybe ask tech support?

re the file name issue, why not use something like X and XX or -X and -XX?
Photo of Gerrit Schulze

Gerrit Schulze

  • 4 Posts
  • 0 Reply Likes
Hi kayakman,

thanks again for your answers. Yes, of course I have replaced the + signs already, Just was wondering, if I can keep my habit or should alter it to something like you suggested.

And yes, AVIs look pretty good in Premiere after batch processing.

Cheers,
Gerrit
Photo of Jill Flowers

Jill Flowers

  • 1 Post
  • 0 Reply Likes
My colleague recorded a 2-hour lecture today.  We selected F10 and saved the trec recording.  The preview screen opened up then crashed leaving a white screen that didn't do anything else.  I closed the preview screen knowing that the trec file had been saved first.  When I tried to open it in Camtasia it told me that the file type is not supported or required codes are not found.  I tried installing the TSC2 codec and it still won't open.  Any ideas?  PS its Camtasia 8.6
Photo of Kelly Mullins

Kelly Mullins, TechSmith Employee & Helper

  • 2844 Posts
  • 617 Reply Likes
Hi Jill,
I'm sorry this has occurred.
I urge you to contact Technical Support right away today since we are closed on the weekend.

Please see this post for more information:
https://feedback.techsmith.com/techsmith/topics/camtasia-corrupt-files-crashes-hanging-and-projects-...

Kelly
User Assistance
TechSmith
Photo of gavinbrockis

gavinbrockis

  • 1 Post
  • 0 Reply Likes
Why is there no facility to do this on the Mac version? To extract audio only for editing in a DAW I had to export as Windows zip, save to Dropbox, open on a PC, separate audio & video, export m4a files to Dropbox and import to Mac again. Crazy. Add this simple feature please. trec seems to be only a modified mp4 container so this should be simple.
Photo of Kevin Mojek

Kevin Mojek, Employee

  • 582 Posts
  • 120 Reply Likes
On Windows or Mac, you  can import the TREC into Camtasia and do a Share -> Export Audio Only... That will allow you to save as M4A or WAV.