Dingoonity.org

Dingoo Official Firmware => Media => Topic started by: MickeyKnox on August 11, 2010, 03:33:41 pm

Title: Encoding videos for the Dingoo
Post by: MickeyKnox on August 11, 2010, 03:33:41 pm
I would like to encode some videos for the Dingoo.
I have some videos with low quality end low resolution,
however, they don't all play well on the Dingoo, so i guess
it's not obvious, what is the best solution.

I don't care about the native OS and its Video Player, but
just about Dingux with mplayer. To encode the videos i would
like to use mencoder.

Now my question is: which parameters are to use for optimal results?

Resolution: i guess 320x240 is fine.

Bitrate: If i don't care about space, what is the maximum bitrate the Dingoo
can handle? Or, if that's very high, what is the maximum bitrate that makes sense?

Codec: Which one delivers in your experience the best results?

And there is a zillion other options, filters and whatever i don't really know about.
Which of them could be used to tweak the video for better results?
Title: Re: Encoding videos for the Dingoo
Post by: eule on August 11, 2010, 03:58:46 pm
Dingux mplayer doesn?t really give satisfactory results unfortunately...
I always encode with Xvid, 320x240, ~1000kbit/s, and watch those with the native video player.
Title: Re: Encoding videos for the Dingoo
Post by: madhatter on August 11, 2010, 04:18:10 pm
as eule said, dingux cant handle videos yet. and if you wanted to ask a question about mplayer shouldnt this be in the dingux help section?
Title: Re: Encoding videos for the Dingoo
Post by: CJB100 on August 12, 2010, 10:47:47 am
Get your hands on CinemaForge and encode to .mpg format. Use 320x240, and any bitrate / quality should be good. As everyone has said, mplayer ain't all that good, especially the IPU free version.

My mplayer won't really play any other video format other than .mpgs, and even then, it's kinda a hit or miss. I encoded about 20 vids and all but 1 worked. However, mplayer is prone to inconsistent (but thankfully not mind-blowing or frequently-occurring) hiccups in the video stream. Unless you're wanting to watch videos that are over 5 min long, you should only get a hiccup like this every 3 or 4 video watches.

All in all, mplayer is great for short funny skits or youtube vids to show your friends, but sucks for watching, say, tv shows or music videos.
Title: Re: Encoding videos for the Dingoo
Post by: SiENcE on August 12, 2010, 03:16:28 pm
Now my question is: which parameters are to use for optimal results?

Take a look in my signature (->Dingoo Review->video codec analysis of dingoo).
Title: Re: Encoding videos for the Dingoo
Post by: MickeyKnox on August 16, 2010, 12:21:35 pm
Oh.. i'm a little puzzled that mplayer is considered that bad.
mplayer was the main reason for me to bother with Dingux.

So what's it worth? Emulators run very well on the native OS
in my experience. Is it still merely a technology demo?
(serious question, i don't mean to offend anyone, nor start some flaming...)

Thanks for your tips anyway, i guess i have to stick with the native
player then.

@SiENcE:
Thanks for your link, i think i stumbled over it some time ago, but forgot
about it.
Title: Re: Encoding videos for the Dingoo
Post by: eule on August 16, 2010, 12:50:30 pm
Err, just look at Dingux? emulator page at the wiki: http://dingoowiki.com/index.php/Dingux:Emulators (http://dingoowiki.com/index.php/Dingux:Emulators)...
Not to mention the lots of homebrew software.  ;) There?s some for Native too ofcourse, but the majority is ported to Dingux.
I like native, and never understand those who want to dismiss it in favor of having only Dingux, but i like Dingux more.  :D
Title: Re: Encoding videos for the Dingoo
Post by: Meneer Jansen on August 16, 2010, 03:37:36 pm
Mplayer rules supreme on Linux. But on the Dingoo it's another story. A Dingoo is by no means like a PC so mplayer does not run well on it (yet?). I find the native player very good! It can zoom, resume etc. Its brilliant. Wanna encode video's for the Dingoo? I don't do that anymore w/ mencoder. I use the immaculate Avidemux. Just choose "lavc MP4" as codec (= xvid) a resulution of 320x240 or 384x288 and a video bitrate of about 800 ~ 1.000 and encode the audio to MP3 128 kbps. That way it even looks quite nice if you play the video on a TV or a PC.

Beware, however, the color depth of Dingoo's TV out is not 24 bit (= true color) but 16 bit. You won't notice that on Digoo's screen but on a TV you'll see some "blocking artifacts" i.e. it looks as though you encoded your video with a very low bitrate. The Dingoo is perfect to play single player classic games on your TV but for movie (clips) it's only suited as a portable video player or to give somebody a quick glance at your video's on a TV. :)
Title: Re: Encoding videos for the Dingoo
Post by: MickeyKnox on August 17, 2010, 01:37:13 pm
Allright, so i guess i'm going to use the native player too.
I don't want to have my games distributed on both systems,
are there any considerations to use only Dingux for games?

All suggestions for bitrates goes to ~1000kb/s. What about
higher bitrates, like 1500 or even 2000? Is that too heavy for
the Dingoo? Any experiences?
Title: Re: Encoding videos for the Dingoo
Post by: eule on August 17, 2010, 01:51:47 pm
I think for Xvid @ 320x240 even 1000kbps are overkill. If you look at SiENcE?s video comparison, you?ll see that some files run fine up to 6000 kbit, so i guess it should be not much of a problem. Depends on the codec probably, experiment a bit.  :P
Title: Re: Encoding videos for the Dingoo
Post by: axiomprime on September 05, 2010, 04:36:51 am
I use Handbrake with the ffmpeg encoder so it makes an mp4 that'll play on most handheld devices. I set the height ti 240 but let the width take care of itself, then you have the option of watching in widescreen if you plug your Dingoo into a TV.

I usually set Handbrake to aim for a target size rather than set a bitrate. That way I can easily tell how many episodes/movies I can fit on my card. 100mb for a half hour show, 200mb an hour, 400mb for a movie. Everything looks fine on my Dingoo or on a small TV, it looks pretty ratty on my 42inch LCD but I don't use it for that. Anime comes out great and usually doesn't even take up the full amaount of memory.
Title: Re: Encoding videos for the Dingoo
Post by: grumpus on December 09, 2010, 11:54:45 am
I've had no luck so far. I used Handbrake to make 320x240 mp4 files (NOT H.264) with MP3 audio; 100 mb for an hour, or 50 for half an hour episodes...
While it plays back well on my computer, on the Dingoo it will show one of the first frames, make horrible, loud noises and then proceed to fast-forward the video (60 video seconds in like 5 seconds) while continuing to make horrible noises.
I tried it with another AVI file with DivX encoing, and it was the same behaviour. The Dingoo would either crash or fast-forward till the end and not react to any input :(
MPlayer on dingux would not even recognize any video files i had on the card.

Axiomprime, Would you care to share your Handbrake profile?

edit: I also used ffmpeg directly - unfortunately, with the same result.
Code: [Select]
ffmpeg -i Life\ on\ Mars/Life.On.Mars.S01E02.WS.DVDRip.XviD-SAiNTS.avi -ac 1 -ar 22050 -s 320x240 Life.On.Mars.S01E02.dingoo.mp4Perfectly playable on every player other than the Dingoo.
The only video that played at all was an .flv file. Nice, but I prefer to watch "educational movies" on a bigger screen :D
Title: Re: Encoding videos for the Dingoo
Post by: Friendly Neighborhood Dingoonity Troll on December 09, 2010, 05:26:07 pm
Try Xvid encoded AVIs.

I've had no problems with playing videos on my Dingoos. But I've only ever encoded and watched old cartoons on them. So far, I have about 220 minutes each of my favorite Rocko's Modern Life, Home Movies, and Freakazoid episodes. :D

I use VirtualDub to do a two pass encode with the Xvid codec at 320x240 resolution, 175 kbps video bitrate, and 128 kbps MP3 audio into an AVI container. About every 22 minutes (the standard episode length) amounts to a 50 mb file. And they are perfectly watchable and enjoyable on the A320.
Title: Re: Encoding videos for the Dingoo
Post by: clach04 on December 20, 2010, 04:36:29 am
Kudos to SiENcE on the excellent codecs research and web page for the Dingoo!

I did not expect to watch video on my Dingoo, I thought it was a cool but not useful feature.  However I've not been sleeping much so I've found myself watching stuff in bed :-)

Xvid as been the best option for me (as per comments). wmv9 was ok, but I couldn't rewind/fastforward.

A good place to get vids from in different formats to see how they behave (without needing to re-encode) is http://revision3.com/ I'm not sure what vids they have but I was watching the Ben Heck Show, http://revision3.com/tbhs which is how I found the place.

As for conversion software, I've had some good luck with the following software
Title: Re: Encoding videos for the Dingoo
Post by: Meneer Jansen on December 20, 2010, 05:33:39 pm
Apart from the audio and video codec used in a movie there's also, what I believe they call, the "container format". I.e.: AVI, WMV, WMA,  Mov, etc, etc, Aforementioned container formats ALL contain an mpeg4 encoded video part and an MP3 encoded audio part. DVD (mpeg2) and bluray video is something different. Of those container formats Mov, WMV, WMA and all other (semi-)propritary formats suck big time. Use AVI. Almost all video's you download (legally!) from usenet (newsgroups) or your neighbor are AVI.

Good video converters/editors like Avidemux (for Linux) and Vrtualdub (Windows) (I've yet to find a good one for MakoSS, and no: even avidemux don't work fine on a Mak) save your video in a perfectly watchable AVI. Those AVI's can be fast forwarded and rewinded just fine. Don't use bling-bling alternatives! Especially not those that you have to pay for. They suck too.

Divx and Xvid are compatible as for decoding (i.e. playback). I've renamed the "four CC code" from divx to xvid once and it did not change a thing for playback (they're both mpeg4!).Divx and Xvid use a different method of encoding to mpeg4.

I don't know how y'all succeed in producing a video that is not watchable on the Dingoo.... Try re-encoding to xvid/mp3 both constant bit rate in an avi container. (see my reply here in No. 7)
Title: Re: Encoding videos for the Dingoo
Post by: hexed6 on February 18, 2011, 07:57:29 pm
I also am finding success with handbrake. MP4 file container, MPEG-4 video codec, AAC audio codec. I use a two-pass encode, target size of 400MB for a normal movie. Works flawlessly for me.
Title: Re: Encoding videos for the Dingoo
Post by: darkborn on March 06, 2011, 10:06:39 pm
Some about tools (again), all free, windoze & kinda easy:
Handbrake (http://handbrake.fr/), Avidemux (http://fixounet.free.fr/avidemux/) (@Windows, I'm using GTK version) are imho some of the best solutions. Settings are... difficult & different for each program. New version of Handbrake won't work anymore at my XP, don''t know why. There are few more tools:
Format Factory (http://www.formatoz.com/) is last I try. It is not kind of tool I like, but I have admit it is easy and did a good (and fast!) job, but I don't remember settings I put.
AllToAVI (http://alltoavi.sourceforge.net/) is proven to be ok, but I find it too much annoying for me.
Any Video Converter (http://www.any-video-converter.com/products/for_video_free/) should be a good tool too (e.g. for subtitles):
I take my words back about eTeSoft converter. Found another program that is much better, less buggy and is free.

Any Video Converter (yes, that's how it's called). It supports many formats, can include subtitles on the video, allows to choose audio track and has many other options. It also has a very user-friendly interface. And more importantly - the free version doesn't lack any critical features that pro version has.

I highly recommend it. http://www.any-video-converter.com/products/for_video_free/
karma +1        works great with .mkv with subtitles
Title: Re: Encoding videos for the Dingoo
Post by: SilverhawkBR on March 10, 2011, 11:44:48 pm
AVC works with subtitles, but bware of the format you choose. Sometimes, audio desyncs so you have to mess around until you find a format that fits well on the dingoo.
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on March 24, 2011, 05:09:53 pm
Thought i would add to this thread rather than make a new one....

I am new to Dingoo, and taking mine on Holiday (9 flight) so have on order some tfsd cards (inc mini adaptors).

I notice that although xvid play fine they do get a bit blocky at times, mainly dark scenes where there is no video date i.e black.

So i thought while the Dingoo does not play a 624X352 xvid as well as say a PS3 or DVD Player etc does,as far as quality. I may aswell compress video down to reduce file size to get more movies/tv on cards.

So my aim is to say reduce a 350MB 640 res Xvid to about half its filesize and res i.e 320x 175MB file.

I tried downloading Super Video but when installing it cant download files.

Handbrake downloaded fine, i have tested this would Super Video be better for the task?

Settings i have used in Handbrake are.

320x Video (aspect makes 320x172) MP4 Container, MPEG4 Video, default AAC audio 160 bitrate

Then i mess about with video settings such as filesize 175MB

Would you reconmend any better?

What advantage does 2 pass encoding make?

Should i try the constant quality setting instead or maybe set a bitrate if so which is best?

Thank You
Title: Re: Encoding videos for the Dingoo
Post by: hexed6 on March 24, 2011, 06:36:43 pm
I wouldn't recommend going much lower than 400MB. Quality is pretty questionable even at that rate. You'll have to experiment though, and see what you can live with. Also a 8gb microsd card can be had for a very reasonable price, and could hold more video time than battery time.
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on March 24, 2011, 10:19:30 pm
Thanks...

Yeah at the moment because the Dingoo uses internal memory thats nearly full with the preinstall stuff plus some games i installed, i only have a 512MB Mini Sd card.

I have loads of SD and Transflash/Micro but no adaptor :(

So i have ordered 2X4GB and 1X8GB Kingston kits that give you each a micro SD plus adaptors for mini and full sd.

How long does the battery last watching from full charge?

I have found maybe setting bitrate at 500 and res to 320 will do the job.

I have looked at a 175MB Video i convertered and the 350MB source on the Dingoo and when the dingoo is like in your lap or i.e 10-12" from eyes the quality is different but not massive compared to the filesize.

Now if the Dingoo played the main source Xvids as perfect as they would on say a PS3 (i.e less aftifacts) i would not bother converting, but as they dont play perfectly (have some mnior blockyness at times) then i may aswell downgrade them so i can get double.

For Cartoons it should be fine to reduce the video size to even less than half!

So a Movie could be compressed from 700MB to 350-400MB (half) where as a South Park/Family Guy/Simpsons could be downgraded more without much notice... so i should get cartoons that are 200MB down to 75-100 MB each and still look watchable.

I also think on some flights you can charge stuff so i may be able to keep console charged up.
Title: Re: Encoding videos for the Dingoo
Post by: Meneer Jansen on March 25, 2011, 01:34:58 pm
I notice that although xvid play fine they do get a bit blocky at times, mainly dark scenes where there is no video date i.e black.
You do not have to experiment anymore. The effect you're describing is 16 bit color (the Dingoo's screen/video chip is 16 bit color). True color is 24 bit or 32 bit. It will NOT (repeat: NOT) get any better than:
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on March 25, 2011, 04:40:55 pm
Hi well i tried the original file on PC with 32bit and 16 bit and i never noticed much difference if any.

I understand the screen on Dingoo is only 16bit but i dont think the videos colour uses most of the 32 bit anyway.

What i still notice is that using a original file 350MB on PC then recoded to 175MB you can notice a difference in quality, on the Dingoo that difference in quality from 640X (1000BR) 350MB compared to 320X (400BR) 175MB file is not noticed as much, simply put it seems the loss of quality of the 640 on the 320 screen compared to 320 recode on 320 screen is not much at all.

Especially Cartoons, so what i am saying is for say Cartoons for the sakes of 1.5 min per file, i can reduce its 150-200MB size to even 1/3rd and on Dingoo you cant even tell.

you can with a none cartoon but as i said above not that much, so its worth the trade off.

End of the day i wont be playing these on large tv, as we can use a phone that has tv out and 720X480 Screen for that, or i may get a Sumvision Micro 2.

I am using Handbrake because Super Video wont download.

So movies are being recoded from Xvid to MPEG 4 with AAC Track, i noticed that halving the bitrate and screen size does give me a 50% smaller file that still looks nearly as good as the original on the Dingoo.

What other programs you reconmend?
Title: Re: Encoding videos for the Dingoo
Post by: SilverhawkBR on March 26, 2011, 06:55:11 pm
Look around for a RMVB converter, and convert your videos for that format. They will play most nicely at any common rates you choose, i play my download TV Series without converting...
Title: Re: Encoding videos for the Dingoo
Post by: Friendly Neighborhood Dingoonity Troll on March 26, 2011, 07:30:42 pm
He's transcoding from xvid avi videos. He doesn't need a rmvb converter.

For programs, personally I use virtualdub. It can convert pretty much anything as long as you have the right codecs and plugins installed. It's mainly geared toward avi files. I don't know if you can render to the mp4 container. I'm sure there's some sort of plugin or work around out there.

So a Movie could be compressed from 700MB to 350-400MB (half) where as a South Park/Family Guy/Simpsons could be downgraded more without much notice... so i should get cartoons that are 200MB down to 75-100 MB each and still look watchable.
As I said earlier in the thread, I can get standard 22 minute cartoon episodes down to 50MB each, which look/sound fine on the Dingoo. 320x240 with 175kb video bitrate and 128kb audio bitrate.
Title: Re: Encoding videos for the Dingoo
Post by: hexed6 on March 26, 2011, 10:06:30 pm
I notice that although xvid play fine they do get a bit blocky at times, mainly dark scenes where there is no video date i.e black.
You do not have to experiment anymore. The effect you're describing is 16 bit color (the Dingoo's screen/video chip is 16 bit color). True color is 24 bit or 32 bit. It will NOT (repeat: NOT) get any better than:
  • Re-encoding to AVI wrapping format, xvid/divx video (~ 800 kbps) with MP3 audio (128 kbps). OR:
  • Leaving your downloaded movies the way they were when you downloaded them! Expecially AVI's

The blocking/artifacting is due to the codec/compression, not the color depth of the Dingoo's display. You can see this with any divx/xvid/etc. Just watch a dark scene, or smoke, fog, or water. You will see what he is describing, even (especially) on a nice high def display.
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on March 27, 2011, 03:37:23 pm
Well i have messed about some more and found that 640X Video has more artifacts, than on a Samsung 3.5" Screen that plays Divx/Xvid, so when i play a 640X movie on that phone and then one with half the bitrate and 320X you can see the difference more between the two on the Phones Screen (it records Video at 720X480), but on the Dingoo the difference is not much at all especially with Cartoons.

So i think the slight trade off in quality, compared to getting near double the files on a card and only 2-3 minutes to re-encode means i will change videos to 320X Res and 400-500BR so i can get nearly double the videos on the card.
Title: Re: Encoding videos for the Dingoo
Post by: Friendly Neighborhood Dingoonity Troll on March 27, 2011, 03:47:38 pm
Did you try the bitrates I suggested for 22 minute cartoon episodes? Make it a two-pass encode as well.
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on March 27, 2011, 04:03:47 pm
Just done a South Park at 320 RES, 175BR, 128 Audio AAC in handbrake with 2 pass.

File Size was 50MB and video looks ok, you can now notice a difference more but hey it means that you can get 3.5X the episodes on the card.

a 4GB Card would take 22 X 175MB Cartoons so i may mess about with settings to get files to 75-80MB each, that should give better quality than the 175BR video but still small file size.

My aim would be to get 700MB Movies down to 350-400MB, or 200-250MB if Cartoon

45 Min TV down from 350 to 175MB-200MB

And Cartoons down from 175MB to 75-100MB

That should do the trick then......

So i can take 2X 4GB Cards and 2X 8GB and stock them up for Movies/TV and Games so i would have plenty to keep me busy!


EDIT.....

Just used Handbrake 320/350 BR/128 AAC and file is 75MB and looks better than the 50MB and cant tell difference from the 400 and 500BR ones i made.

So i guess for Cartoons a 350BR with 128 Audio is the best overall setting i got so far, for Movies/TV i may stick with 450BR.

Cheers for Help Jesse ;)
Title: Re: Encoding videos for the Dingoo
Post by: Friendly Neighborhood Dingoonity Troll on March 27, 2011, 04:24:38 pm
Yeah 175/128 is acceptable to me, and it's nice and even with 50MB per 22 minute episode. I pick out my 10 favorite episodes for each series (20 if they're 11 minute episodes). Get two cartoon shows per GB. And I got one 16 GB card with 8GB left for shows, and another 8 GB card that I'll probably be using for the same thing eventually. So far I've done it for Rocko's Modern Life, Freakazoid, and Home Movies. Johnny Bravo is next. ;) I also have a handful of live action shows. I hope I don't have to make them too much bigger to make them acceptable. If I have to, I'll just use all the space for my fav cartoons ;).

By the way, you are cutting out the end credits and other useless stuff yeah?

Also, you may want to try something even lower for the audio bitrate, especially with aac and if you are only going to use them on the Dingoo. Try 112kb and see if you can tell the difference and go from there.
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on March 27, 2011, 04:33:22 pm
Cheers will try ;)

I will be looking to do the first 10-12 He-Han, Thundercats and also do some Simpsons, Family guy and others so i got good choice.

The Plane usually has good choice anyway.

Another Question is regarding Battery Length, roughly from Fully Charged how long would a Dingoo last for playing back Movies if i have it set to 3/66% Brightness, using headphones.

I was thinking of getting one of those USB chargers that you place AAA batteries into and it charges any device that charges via USB (in case Battery goes flat).

Also what size SD Cards can a Dingoo go upto? I was thinking of getting 2X4GB and 2X8GB (micro/TF with the Mini Adaptor).

I am also thinking of getting a 2nd Dingoo but a white one this week.
Title: Re: Encoding videos for the Dingoo
Post by: Friendly Neighborhood Dingoonity Troll on March 27, 2011, 04:53:59 pm
I may try using aac and lowering the audio bitrate myself. But that's a lot of videos to re-encode. I might do it. Maybe... *sniff*... maybe.

I actually use the lowest brightness setting in native. How can you stand having it any higher? :P

Some Dingoos have smaller batteries than others. But either way I have no idea how long it would last from just watching videos at your brightness setting. There's only one way you can be sure. ;)

Well I know at least 16GB cards work. I think any size card should work, but I don't really know. It would suck to buy a $60 32GB card only to have it not work on the Dingoo for some reason. :( But if you are only getting 4/8 GB ones then you have nothing to worry about.
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on March 27, 2011, 05:16:03 pm
Yeah i think my aim would be to have  2 Cards for Emulation/Homebrew and Ports (inc Dingux on each)

Then 2 Cards one for TV/Cartoons and other for Movies.

Title: Re: Encoding videos for the Dingoo
Post by: flatmush on March 31, 2011, 11:53:50 am
More than one card is way too much effort and un-necessary, I just stick with my 2GiB card and the 4GiB internal flash. It can fit more than enough films/roms/games on it to entertain me and leave room for development stuff.
Title: Re: Encoding videos for the Dingoo
Post by: Friendly Neighborhood Dingoonity Troll on April 01, 2011, 03:36:11 pm
More than one card is way too much effort and un-necessary, I just stick with my 2GiB card and the 4GiB internal flash. It can fit more than enough films/roms/games on it to entertain me and leave room for development stuff.

Lol, too much effort? Oookay.

Maybe 6GB is enough for you, but not for me. Even though I barely use the thing, I feel the need to keep every NES, SNES, GB/C, Megadrive, SMS, Gamegear, Atari, and Lynx games on it. Also dozens and dozens of GBA and arcade games. Plus most of the various ports and games like Doom. And a selection of MP3s and videos. I'm using around 14GB total at the moment. :P
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on April 01, 2011, 08:31:36 pm
Well i have 3X 8GB Cards...

One will be for Movies and TV etc, i find reducing a 700MB file to 350-400, depending on movie (i.e if a dark film then 400, if a animated etc then 350) TV shows from 350MB to 175-200, and Cartoons etc 175MB down to 75-100MB seem to give me decent enough quality.

a 8GB Card can hold about 16 hours video (620-640X res 900-1000 VBR) which is average Xvid/Divx quality.

So if i recode then videos i can then get 32-35 hours on a card.

As for CPS1, SNES, NES, SMD, SMS/GG, PCE they dont take up much space.

GBA/CPS2/MVS take up the most.

One Card will have ports on such as Doom and its mods, and also Open BOR etc....

Title: Re: Encoding videos for the Dingoo
Post by: Friendly Neighborhood Dingoonity Troll on April 05, 2011, 03:40:45 am
Since my personal rips and most of the rips you find are already encoded with MP3, it would be a poor thing to transcode them to AAC. For a bit I was wondering why this 112kb MP3 transcode was sounding much better than this 112kb AAC transcode, and that's why. Pay attention to what the original file was compressed with.

I tried using an average video bitrate of 350 like you did, dave. You can clearly see the difference if you blow up the image, but if you leave it at it's intended size then I see little point in going above 175~225. The amount of quality gained doesn't justify the amount of space used. Especially for those very simple, very low motion cartoons where 175 already looks nearly pristine. Obviously more detailed, higher motion cartoons will need to be higher. But I haven't had that problem yet. I don't see how the typical South Park episode could require that much space. Isn't that what you tested with? South Park? Maybe it has something to do with me using Cartoon Mode with Xvid?

To repeat, for simple looking cartoons I use 320x240 two pass MPEG-4 ASP (Xvid) at the default settings (except Cartoon Mode is enabled) with an average video bitrate of 175kb and 128kb CBR MP3 audio in an AVI container.

Also, I am now using avidemux instead of virtualdub for my transcoding. It seems to do everything I used virtualdub for; plus you can render to other containers beside AVI without mods and experimental builds and command line BS. Seems simpler.

So concludes another annoying newbie video encoding ramble in this thread.
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on April 05, 2011, 01:32:46 pm
Well what do you reconmend...

As Super @ does not install i get cant download files error when running set up, so i got 2 older versions and they dont look that simple as far as lay out and options (handbrake is easier) and when i click encode the program exits.

Only Problem i have with Handbrake is it only has X264 or MPEG4 as codecs with extentions m4v/mp4.

The other one is i use the default audio setting which outputs to AAC just ajust bitrate, as i i select Mp3 i get no sound at all.

Other programs i have tried are slow, PSP Video, AVS Video Converter all take like 30 mins+ to encode a 350MB 640X (900BR) Video down to 320X (300BR/ or 175MB) where as Handbrake takes about 3 mins if that.

As far as Movies go i intend to not shrink movies that have dark scenes as much, but shrink ones with light more as compression is not as noticable on light scenes.

For Cartoons as you said a  Family Guy/Simpsons/South Park have not much detail (the Drawings are not hard to do and colours not vibrant) so they can get reduced to like 60MB and look ok, but some with more detail in them like say the new He-Men or say detail the Latter Disneys have i would shrink to 75MB

What Program do you reconmend thats also fast!
Title: Re: Encoding videos for the Dingoo
Post by: Azm0deus on April 05, 2011, 11:27:09 pm
Someone already did mention Format Factory. I tested it and it is ok. Give it a try.
Title: Re: Encoding videos for the Dingoo
Post by: Friendly Neighborhood Dingoonity Troll on April 06, 2011, 01:05:41 am
What Program do you reconmend thats also fast!

Did you try the one I recently mentioned? Avidemux (http://fixounet.free.fr/avidemux/download.html)?
Title: Re: Encoding videos for the Dingoo
Post by: StreaK on April 06, 2011, 07:14:34 am
Another alternative:

My small GP2X Video Converter:
http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,15,2297

(http://dl.openhandhelds.org/gp2x/screenshots/gp2xvideoconverter-0.gif)

Converted movies/videos are perfectly playable on Dingoo.

btw. dont let this screen fool you, its windows app, not gp2x app :)
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on April 06, 2011, 04:21:11 pm
Tried your converter but i find handbrake easy and better (keep same aspect of original source) tried 2 more video converters and a gui for ffmpeg!

So far handbrake converts so much faster.

Only problem with handbrake is the video out puts are only MP4 (MPEG4 Video) and AAC Audio, or M4V (H.264 Video).

for some reason in Handbrake i cant get it to out put Mp3, i select option but out file has no sound.

I guess Handbrake will do the job, because

a) MP4 still plays on Dingoo so does not matter that its not Xvid/AVI
b) AAC Audio at 128br sounds as good as originals MP3 at 141br
c) It can reduce exactly 50% video screen size, i.e 624X352 when set to output to 320X240 will output 312X176 which is 50% of original size if i keep Aspect Ratio option selected.

Other converters out pit to 320-240 and the video looks stretched, but if i force 16-9 aspect in my PC Video player it looks same as handbreakes 16-9 312X176 file.

So i guess even if i found a program that keeps the same Video/Audio Codecs i.e Xvid/Mp3 and converts to 320X180 (keeping aspect ratio). Then i guess whats the difference if Handbrake does the job fast (2min) but outputs a MP4 with AAC that looks and sounds the same.
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on April 06, 2011, 04:57:21 pm
Update....

I downloaded a older handbrake ver 0.93 that has Xvid/AVI support.

I converted a video 624X352 to Xvid/AVI MP3 Audio 312X176 VBR 300, 128ABR file = 73MB

did same again but with MPEG4/MP4 and ACCC Audio 312X176 VBR 300, 128ABR file = 71MB

Both videos look near identical on Pc even when zoomed to 200%

The AVI took more time than the MP4, so i guess the smaller size 3% saving, and faster encode 25% faster maybe the MP4 format is best used for fast results.

I am going to try mess about with a 200VBR and 96ABR that should output about a 50MB File which is going to be good enough for Dingoo
Title: Re: Encoding videos for the Dingoo
Post by: bestbattle on April 12, 2011, 07:53:32 pm
For my Dingoo (native OS) I use this: http://www.any-video-converter.com/download-avc-free.php
I use MPEG-II codec with this settings: resolution: 720x480, 1800 bitrate, audio codec: [email protected] 384 kbps and sample rate 44100. For me it's ideal.
Title: Re: Encoding videos for the Dingoo
Post by: Meneer Jansen on April 13, 2011, 12:24:27 pm
For my Dingoo (native OS) I use this: http://www.any-video-converter.com/download-avc-free.php
I use MPEG-II codec with this settings: resolution: 720x480, 1800 bitrate, audio codec: [email protected] 384 kbps and sample rate 44100. For me it's ideal.
That will result in video files that are really very very extremely large. Use Avidemux (Linux) or flaskmpeg/Virtualbub (Windows) to reate an AVI => [email protected] kbps + [email protected] kbps.
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on April 13, 2011, 02:52:59 pm
I found out that that due to the low screen size of the Dingoo and if your not planning to use TV Out.

Then re-encoding a Video upto 320X240 (or simular) with VBR of 200-300 and ABR of 96-112 gives good results and also smaller file size (1/3rd) so you can get 3X more on the SD Card.

You dont notice the loss in quality much with Video because of the small screen and how the Dingoo does not duplicate the quality of higher VBR well anyway. And the Dingoos speakers are not great so you wont tell a 96-112 ABR compared to say 140-160 ABR

Give it a go (i use Handbrake) take a video file say 640X Res and shrink it to 320X with 1/3rd VBR and ABR of 96-112.

Use your PC media software to play both videos side by side but set it to display the original 640X video at 50%, both videos will apear the same size on your screen (windowed) you will see not much difference in quality and you wont notice it much on Dingoo.

And you can by doing the above get a 700MB File down to about 250-280MB, a 175MB Cartoon down to 60-70MB
Title: Re: Encoding videos for the Dingoo
Post by: bestbattle on April 13, 2011, 03:06:33 pm
For my Dingoo (native OS) I use this: http://www.any-video-converter.com/download-avc-free.php
I use MPEG-II codec with this settings: resolution: 720x480, 1800 bitrate, audio codec: [email protected] 384 kbps and sample rate 44100. For me it's ideal.
A 2 minutes and 30 seconds video occupies 40 MB, which seams resonable for me :).
Title: Re: Encoding videos for the Dingoo
Post by: Friendly Neighborhood Dingoonity Troll on April 13, 2011, 06:38:57 pm
For my Dingoo (native OS) I use this: http://www.any-video-converter.com/download-avc-free.php
I use MPEG-II codec with this settings: resolution: 720x480, 1800 bitrate, audio codec: [email protected] 384 kbps and sample rate 44100. For me it's ideal.
A 2 minutes and 30 seconds video occupies 40 MB, which seams resonable for me :).

You're joking, right? A 2:30 minute video being 40MB is not reasonable. That's horrible and unnecessary.
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on April 13, 2011, 09:24:48 pm
I think he may be joking  ;)

I took your advice, and indeed cartons like the The Cleveland Show when halved the resolution, with VBR 200, and ABR of 96 still look good on the Dingoo and saves space 48MB instead of 175MB that means all 21 season 1 episodes will only take up about 1GB space  :) and only take 1:40 secs to re-encode with Handbrake

So thanks for that advice Jesse Top Bloke 8)
Title: Re: Encoding videos for the Dingoo
Post by: SilverhawkBR on April 22, 2011, 06:14:16 pm
I use these settings in AVC:

.AVI Profile
XVID codec
480x320
768 kbps (looks better than you think)
25 Frames per Second
MP3 Codec
128kbps
2 channel with basic sync

But im starting to think audio is going desync on longer videos (i still didnt test it on a long file), i probably should test later (damn AVC has that problem)
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on April 25, 2011, 05:20:19 pm
Well i have been messing about now with settings for a bit in Handbrake.

And found if i set the resolution to match within 320X240 with Audio Bitrate of 96-112 and set program to reduce files size to between 50-60% of Original file for most Movies/TV

If the Programs are Cartoons, especially simple ones like Family Guy/South Park then set Handbrake to output file size to say 30-40% of Original i get good results.

I have got South Parks and Family Guys looking good at a file size of 50-60MB each (i can get about 140 on a 8GB SD Card), Most movies i shrink to 400MB and so can get 19-20 on a 8GB SD Card.
Title: Re: Encoding videos for the Dingoo
Post by: Meneer Jansen on April 25, 2011, 09:35:15 pm
People who do a lot of video editing and/or coding NEVER use weird commercial progs. Everybody ever made a good looking video for any system (PC, DVD, Playstation, Dingoo, mediacenter) always  used ye 'ol Virtualdub (http://virtualdub.sourceforge.net/) (Windows) or Avidemux (http://fixounet.free.fr/avidemux/) (Linux). And those video's never get out of sync. Not even on the Dingoo.

And the settings that are always used are:  AVI => [email protected] kbps + [email protected] kbps. Believe me: you do not have to reinvent the wheel every time or discuss about it.  :-X
Title: Re: Encoding videos for the Dingoo
Post by: bigdavebear on April 26, 2011, 02:57:22 am
Yeah i know what you mean as far as whats best to make a video, i.e if you was ripping a DVD.

I was just saying that because the Dingoo does not support 32bit colour and only has a 320X240 Screen, videos you could play a Video at 640X and a re-encoded version at 320X and on the Dingoo you dont notice the difference really.

The only difference is when you change the video bitrate, which i do purely because on such a small screen a video with 900 VBR vs one with 300VBR is not that far off, compared to the saving in file size.

So i only use Handbrake purely to quickly change videos to a smaller screen size/bitrate so as to save 50% or more on the file size. I also find it good to use for re-encoding videos to MP4 for Mobile Phones or PSP's that do not play native DivX/Xvid.

And i get the whole purpose of my original post a while back was to find the best way to reduce the file size of videos with not so much trade of in quality and using software that can do the job fast. (Handbrake does a 175MB file to a 60MB in 2-3min, VDub in 3-4Min and a lot of those comersial converters can take like 20 mins).

So basicaly i can now get say 35 Family Guy Eposodes instead of just 11 on a 2GB Card.
Title: Re: Encoding videos for the Dingoo
Post by: Meneer Jansen on April 26, 2011, 01:58:53 pm
Okay. I get it.  :)