Hack needed: Advice in recording video in extension 3gp instead of mp4? - MDA III, XDA III, PDA2k, 9090 ROM Development

When my Harrier (wm2003se) records video in its standard mp4 format, playback on the pc is greeted with a "samr" codec not found error, prohibiting sound. (This was just a bad marketing ploy that never took off.)
Renaming the extension to 3gp solves the error.
So I ask, is there anyway to record/save in the 3gp extension instead? Like a registry hack?
*I am not trying to record video in the 3gp format, I only want to save the result in .3gp instead of .mp4

ok, several things here:
1. if your pc is not able to playback those mp4 files, try vlc media player. it'll work, since it is not dependant on installed codecs but comes with a propreatary decoder, that works with nearly any media file extension. because you should really record in mp4 as it has much higher quality and resolution than 3gp.
2. changing the file extension hardly seems like a proper way to deal with a problem like that, it does not convert the file content, i cannot imagine, why that would work, except for a really strange media player, i mean, if i create a word document with word 2010 and it has the extension .docx, removing the x at the end does not make it readable with word 2003, instead of renaming it, you should rather encode it to another format.
3. i don't know about possible camera-related differences between the blueangel and the harrier, but if i wanted my blueangel to record in 3gp format, i'd go to camera (of course, why would i open the calculator here ), click "tools", "options", "modes", choose "video" in the first dropdown menu and in the 2nd one, named encoder, i would change from MPEG4 to H.263, which is 3gp
if it is absolutely necessary for you to work with 3gp, i hope the 3rd point works for you, but i think you would be better off, using mp4. if, however, it does not work for you, please make sure to post back, i would really like to know, whether the harrier is so much different.

Related

mp4 plays but no audio

Now I've read a lot here and I've tried Quicktime 6, mpegable ds decoder and 3ivx directshow filters.
They all work more or less (i like 3ivx best), but NONE of them plays the audio.
However the camera application on the ppc can playback video and audio.
What the hell is this? And I dont like Motion JPEG avi cause it's too big.
Converting also seems to be no option: I tried Riverpast Video Cleaner and a heavily upgraded virtual dub mod, but they can't even read the video. Quicktime Pro 6 can at least import the video, but no audio again.
Any ideas?
If someone wants to do more research, here are two good sites concerning mp4 players:
http://www.audiocoding.com/wiki/index.php?page=Software+Audio+Players+for+Windows
http://www.rarewares.org/
I've now tried WinMPG Video Convert and the Philips Platform4 Player - only video, as always.
I suppose the audio codec used is not the mp4 AAC LC (low complexity) codec because that's the most common one which can be played back by any mp4 player.
btw, mp4UI shows me a video and a audio stream (like most othre applications), but I can only export the video file and there is no information on the audio codec used, seems to be unknow to any program.
I tried several recorded mp4 files, always the same, and they DO playback video+audio on the ppc.
I'm sticking with MJPEG Avi
That's about 100 kB/s so I can hardly record more than 5 min. But hey who needs to? At least it can be converted by quicktime uncompressed avi export in no time, and then encoded to whatever you want.
More annoying is the fact that I need to remember getting the file off the pocket pc pretty soon because otherwise I will run out of space. I'd prefer taking a series of snapshots and carrying them around with me.
Well copying the file via USB will take almost as long as the video duration is, and a storage card can't be used because it decreases the recording frame rate significantly.
Motion MJPEG also seems to catch more redundant frames (the same picture in two frames) than mp4, but it's still okay.
cant you just record to your device and then copy the recording to your sd card manualy ?
Yes I thought of that, it would approximately take the same time as the video duration is. If you really need to do another recording while on the go, you can do that to free your memory.
btw, I chose divx5 250 kbit CBR + mp3 in virtual dub, only took a few seconds to encode a minute and now I've got a file that can be played back equally well on both machines. I'm using beta player for pocketpc, and it plays fine in fullscreen using the ati imageon chipset. File size is comparable to choosing the mp4 format in the first place.
It works now
mp4 video+audio works with quicktime!! hooray!!
Quicktime always told me it couldn't find the software needed on the server.
But when I opened the mp4 file today, the automatic download of the audio codec succeded.
Even with disabled firewall qt couldn't download the software before. Strange.
And I can export it to uncompressed avi if I need to edit the file with other programs.

mp4 video play back on PC

Hi Folks,
I just took for the first time a video clip with my Magician today, and had the Camera settings to
Capture Mode: Video
Capture Format: MPEG-4
Capture Size: Large
it produced a nice video clip file with in the .mp4 format (lets not talk about the quality)
I copied this file over to my SD card, and from there to my PC to play here.
It played by default using Apple Quick Time (7.0.3), no probs.
I tried to open it with WMP10 on my PC, and only got the sound, not video.
I was assuming, that a video clip taken with a Microsoft product (Magician WM2003) would play by default using the Microsoft pendant on the PC (WMP10), and MS does not rely on a 3rd party software (QT).
Any ideas what I'm doing wrong, or if I'm just missing the right codec on my PC to play back the file ?
Thanks
torklemm said:
Hi Folks,
I just took for the first time a video clip with my Magician today, and had the Camera settings to
Capture Mode: Video
Capture Format: MPEG-4
Capture Size: Large
it produced a nice video clip file with in the .mp4 format (lets not talk about the quality)
I copied this file over to my SD card, and from there to my PC to play here.
It played by default using Apple Quick Time (7.0.3), no probs.
I tried to open it with WMP10 on my PC, and only got the sound, not video.
I was assuming, that a video clip taken with a Microsoft product (Magician WM2003) would play by default using the Microsoft pendant on the PC (WMP10), and MS does not rely on a 3rd party software (QT).
Any ideas what I'm doing wrong, or if I'm just missing the right codec on my PC to play back the file ?
Thanks
Click to expand...
Click to collapse
Correct me if i'm wrong but i do believe the camera program on modern HTC devices (like the Magician) is made by HTC itself and not by MS. So it's possible it uses different kind of codecs.
MS isn't allowed to ship a lot of codec with WMP. Only some basic and MS-made codecs. So you have to rely on third party apps/codecs to play the .mp4 files.
Hello Torklemm
You can use the VLC Player to Play almost any type of media including the mp4 , 3gp etc etc .
here is the link to download it - h**p://www.download.com/VLC-Media-Player/3000-2194_4-10267151.html
You can also install the Nero Digital MPEG 4 AVC h.264 dshow decoder , after i installed this , my wmp ver 10 was able to play the Mp4 video files.
Cheers.
Sean_Dillon said:
Hello Torklemm
You can use the VLC Player to Play almost any type of media including the mp4 , 3gp etc etc .
here is the link to download it - h**p://www.download.com/VLC-Media-Player/3000-2194_4-10267151.html
You can also install the Nero Digital MPEG 4 AVC h.264 dshow decoder , after i installed this , my wmp ver 10 was able to play the Mp4 video files.
Cheers.
Click to expand...
Click to collapse
very useful decoder!
but only motion decoding not audio track.
i see only motion without sound.
Hmmm , That is Strange Vigor_ , I thought the audio recorded in the video format of Magician was either mp3 , wma or wav . . . all 3 being suported by wmp. Will have to check this Thanx.
It's none of those. The audio is AMR Narrowband, whatever the blazes that is! I've been having the same problem converting it. AMR doesn't seem to be supported by much.
mp4 format
You should use a plugin or converter program. For plugin Ulead video suite v9.0 is the best solution.For convert purpose I offer IMTOO program.Another way is using avi format instead of mp4
Where do you get that Nero Digital dshow decoder? A Link would be nice.
Re: mp4 format
bucat said:
You should use a plugin or converter program. For plugin Ulead video suite v9.0 is the best solution.For convert purpose I offer IMTOO program.Another way is using avi format instead of mp4
Click to expand...
Click to collapse
The same with me. I use ImTOO 3GP Video Converter 2.1.55.1107b, good stuff.
Where do you get that Nero Digital dshow decoder?
The File Is Attached To The Post , Please Log-in To View and Download it.
How to do it for free, though it's a ton of work
Okay, I've successfully done it now. My biggest problem was that imTOO 3gpp costs money, and I just couldn't justify spending the money on it.
There's probably a few different ways to do this, but here's how I've done it:
1) Separate the Video stream from the audio stream
I used Microsoft Graphedit for this. It comes in a Microsoft SDK, but if you google it, you can find it.
When you open graphedit and select render the file, you'll get a message saying that part of the stream isn't recognised. That's the AMR audio. That's step 2, so ignore. Assuming you've got an xvid mpeg 4 codec on your machine already (and I suspect also a 3ivx codec), a graph will show up starting with your video file and ending with a video renderer. Click on the video renderer, delete it, and click on the xvid decoder and delete it. Then add a filter called file writer to the video stream coming out of the 3ivx media splitter.
Run that and you have an xvid mpeg-4 video stream with no audio.
2) Separate the amr audio stream
I used Miksoft 3gp decoder for this. For some reason I couldn't do video with this tool, so I just clicked the "convert audio only" option. It gave me a PCM .avi file.
3) Mix the two together
I have used two programs for this, both locatable through google and both freeware. Virtualdub and TMPGENC.
Virtualdub is handy if you have to rotate the video stream. I don't think you can use virtualdub to finalize the video because the .avi sound file kicks up an error for me. But the video I wanted to convert was filmed on my JAM with it held lengthwise (aka 320x240), so when the file is normally viewed, you see it 240x320 and have to tilt your head.
I prefer to use TMPGENC and end up with an MPEG-1 file. Here's why...
You input the xvid video file as the video source, the .avi pcm audio as the audio source, under advanced, select "Full screen (keep aspect ratio)" instead of the "full screen" that is presented there, and then let her run. You end up with a video in mpeg-1 that is formated to 352x240 (NTSC vcr resolution), but with black stripes above and below so that the image isn't stretched or distorted, like it would be if you just went with "full screen". You can then convert that into an avi file with whatever software you want.
It's a ton of work to do, but for me, it was a better solution than spending another $30US on something I'd use minimally. I also do a fair bit of video work, so I had all the other tools and codecs handy.
Good luck!
Hi
I use apples Quicktime - pro can also convert to AVI's.
BR
Daniel
The way I did it was to get the K-lite codec pack. Google it and don't download any versions from places that try to charge you for it, it's free. Also be aware of dodgy sites that may include spyware/malware with it. I've been stung a couple of times.
Then nearly any freeware converter will work. You can also play them in WMP.
Errrr...yes, that would seem to be a "faster" way of doing it...
screen capture
hmmm, need help...can't seem to capture images (using the screen capture button) when playing mp4 files on the vlc player...i've imported the image on adobe photoshop but it was distorted...help?
this is for info in relation to the original post
I too could not play my mp4 videos on my PC with sound and tried all the various players and plugins but this link from last year worked
http://forum.xda-developers.com/viewtopic.php?t=12308&highlight=mp4

Trinity video format

I've seen some information spreaded in the forums about video recording on Trinity, and had some troubles watching them on a desktop computers, so here is the results of my research, and the doubts i Still have:
Videos recorded on trinity with maximum quality CIF:
resolution:352x288
Framerate:15fps
container: MP4 (3GPP)
Video codec: MPEG4 (ASP)
Audio codec: AMR - NB (Narrowband)
To properly play videos on your desktop computer you need to install a directshow filter called MP4splitter.
-It is possible to convert video to AVI format (lossless) using mp4cam2avi, but it doesn't work with audio.
-The AMR format is not easy to edit or to transcode to other formats, and it's not possible to use as audio stream on a AVI container (not sure).
Questions
Is there a program to merge several mp4 together lossless (no re-encoding)?
Is it possible to set up another resolution to be used on the video (i.e. 640*480) as this is not a hardware limitation?
Is it possible to use another codec for the audio stream?
Is it possible to use another framerate?
- By editting registry I'm able to change framerate (HKLM\Software\HTC\Camera\Recparam)
Mediacoder
I use Mediacoder to convert many format of video (recorded on a dvd from TV...) on my htc : choose MP4 and use TCPMP to read it.
Video Conversion
Hi n0t,
Have a look at NCH Software - www.nch.com - and find a program called Prism Video Converter. It can be downloaded as a trial and expires after a while but long enough to try out. It works perfectly and is very simple to use. NCH has a wide selection of software, especially conversion from one format to another. Some programs are free but all are downloaded as trial versions.
Hope this helps
Adam
n0t said:
Questions
Is there a program to merge several mp4 together lossless (no re-encoding)?
Is it possible to set up another resolution to be used on the video (i.e. 640*480) as this is not a hardware limitation?
Is it possible to use another codec for the audio stream?
Is it possible to use another framerate?
- By editting registry I'm able to change framerate (HKLM\Software\HTC\Camera\Recparam)
Click to expand...
Click to collapse
Is there a program to merge several mp4 together lossless (no re-encoding)?
- MP4Box is a command line that does it, YAMB is a GUI that works fine with it (and it's free). It can split, join and extract streams from MP4 or 3GP container. This way it is possible to edit lossless the video streams.
-I want to be able to edit and apply some filters to the clips with virtualdub. To transcode the video stream to an avi container (lossless) I can use MP4Cam2Avi, Mediacoder, or Super. But I have to convert audio to PCM WAV to use it in virtualdub, as AMR can't be used in an AVI.
Stream Video
Is it possible to make a live video broadcast from trinity (not using videocall)?
This way with an internet connection, it would be possible to send a stream to a computer anywhere...

convert videos?

hi,
how do i convert videos taken with the blackstone?
i setup mpeg4 but neither windows movie thing editor nor virtualdub can handle the file.
but i can play it with mpc without any problems.
linux...at least i see the video
i like to convert it to some moviemaker compatible format so i can quick edit some files to one video with effects in between.
thx!
Blackstone videos are already highly compressed as it is, so recoding them only to be able to use them in movie maker would give you awful videos. your best bet is avisynth - a frameserving application which basically feeds uncompressed stream from original video to the editing application. The idea is this, you create a text file which contains a link to the input file, save it with an .avs extension and then open that with an editing application. The avs file could be as simple as this:
DirectShowSource("c:\VIDEO0001.mp4")
I tried it now, and it works. You need to download avisynth and install it. Unforunately, i don't remember which apps open .avs files.
sorry i don't get it...
it's not about compression in detail.
i mean i do not want to compress or decompress the files.
i can not use it with moviemaker cause i just hear the sound and the picture is black.
so i thought i convert it to a format moviemaker can handle as it seems htc is saving it in some format that can not be used.
which i think is strange but...what do i know...
i which i could do all that with my jaunty
Well, here's the deal - every time you edit a video and save it, you are recompressing it, meaning you're getting a degraded picture quality. If you are only cutting out portions of video, then you can save it without recompression, meaning you get the same quality as the original file. The moment you add effects to the video (transitions, resizing, etc...), you have to reencode video - and get lower quality. Now, that may not be a big deal when your input files are high resolution videos, but when the input file is a heavily compressed ile, such as those made with Blackstone, it will definitely show.
Movie maker can't open mp4 files. The way i see it, if you really want to edit the files, your best bet is to download Super, a freware app which uses AviSynth as a part of it's encoding process, then output the files from blackstone as avi files in HuffYuv codec (lossless compression codec), open it in Windows Movie Maker, edit it and then save it. Note that Windows Movie Maker doesn't output to mp4, only wmv.
As far as getting only the sound an no video - deinstall all codecs or codec packs from your system and install ffdshow.

Best way to play Movies on Rhodium :)

Dear Friends!
I spent last two weeks trying different app's to get best solution for Movie experience on our beloved Rhodium/Tilt2/Touch pro2 device.
The main idea was to get divx movie to play smoothly and to get best quality as possible.
As we know H.264 codec (mp4) is hardware supported and it gives best results.
So considering that, I got best video experience with inbuilt HTC player that supports hardware acceleration for video.
It does not have a lot of options, and scrolling forward and backward is a little cumber stone, but it provides the best picture so I think (IMHO) is still the best choice.
When Choosing right software my main goal was to have as few steps as possible.
I found that the easiest way to do the conversion is with ImTOO Video Converter Ultimate 6. (http://www.imtoo.com/video-converter.html)
I tried a lot of different software, Trial and Freeware, and ImToo proved to be the best from lot of different perspectives. So it's my number one choice for this task (and also some other video encoding stuff.)
STEP1. Subtitles (Skip to STEP2 if You don't need them)
In case English is not your native language, you would probably (like me) want to have some subtitles with your movie:
You will need to convert *.srt and *.sub subtitles to *.ssa type, so You could get 'Outline and Drop Shadow' effect.
'Subtitle Workshop' (http://www.videohelp.com/tools/Subtitle_Workshop) seems perfect for that. (It has all needed settings and also Batch conversion option)
Press Shift+Alt+L to get to Settings/Output menu, where You can set the subtitle settings like Font, Color, etc.
Choose SubStation Alpha (*.ssa)
Border style: 'Outline + drop shadow'
Font:Arial, Bold, 22, (works best for me), encoding...
Load Subtitle and save it as SubStation Alpha format or use Batch Converting option under Tools/Batch Convert options (Ctrl+M) (if You have more than one subtitle to convert):
-set the source folder for subtitles, output folder, FPS and SubStation Alpha format.
STEP2. Encoding to H.264 format with Imtoo
a.Load your video file
b.Load the profile in general video format/ 'H.264/MPEG4 AVC video'
and set conversion settings to
Video: (Manually enter!) Video Size 800x480,
Note: If You enter for example 576x432 instead 800x480, there will be no sound on your HTC, only video. Don't ask me why, it's the same thing that happens to lots of people with many different encoders and it has something to do with AAC settings detailed, which will also change, when you change video settings....but I am not enough in to hardcore encoding, to understand what is the reason, I only know that this problem appears to be very common when converting for Rhodium with different software....
Bitrate 256K, Frame rate 25FPS(should be same as sub file FPS!)
Audio:Mpeg-4 AAC, 44100, 128K
Now You should set/add Subtitles:
Go to: Edit/effect/Subtitles. (Note: only Ultimate version of Imtoo!)
Add Sub if not already there, and set font to Arial, Style to Bold and Size to 22 (or smaller if You prefer)
Convert the movie and transfer it to Your Touch pro2
That's it!
Enjoy playing Your file on HTC.
Final Output size of the file is not the same as stated Output Size, nor it is the Bitrate. Imtoo bug I guess...But File plays smoothly enough at least for my taste.
Try and let me know how it works for You!
What i do is open you tube in chrome and i already have chrome extension installed on chrome.http://www.chromeextensions.org/music-videos-photos/chrome-youtube-downloader/. So when i play video i get options to save video in all the available formats and the Mp4 video i get is usually 20mb or 25 mb (sometimes less than that) in best quality.
Other thing you can do is go to this site http://keep-tube.com/ and downlaod video in MP4 format in great quality.
I think the best option is chrome extension because you get best quality video/audio with less size
Give it a try.
I don't know why you do this, just download core player
I watch LOST season 6 on my phone just download jackos s2 rom and disable manila for better performance
I use Pocket Divx Encoder to make xvid files of my favorite videos and then play them with CorePlayer using the QTV setting for best quality.
I use DivX Player. It was made for QVGA but works just fine on TP2, just the menus & fonts are small. It'll play DivX encoded AVI's that must DVDRips are.

Categories

Resources