Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


56 posts

Master Geek
+1 received by user: 1


Topic # 26708 1-Oct-2008 10:34
Send private message

HandBrake snapshot 3 now supports Freeview transcoding to AVI,MP4,MKV including AC3 pass through for TV3.

See: http://forum.handbrake.fr/viewtopic.php?f=6&t=7230 for a download link

Available for Mac, Windows and Linux including GUI for all three (including Linux).
Also note that this version of HB also will transcode from anything that ffmpeg supports to AVI,MP4,MKV, e.g. DV, AVI, MKV, FLV, MP4
Cheers, Ed.

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3
4025 posts

Uber Geek
+1 received by user: 1076

Trusted

  Reply # 168286 1-Oct-2008 11:54
Send private message

Awesome.
Will check and confirm it works on windows.



56 posts

Master Geek
+1 received by user: 1


  Reply # 168290 1-Oct-2008 12:03
Send private message

I have EyeTV kicking off the encoding for me using AppleScript using HandBrake. These are the settings I use for various channels (and have been doing for months, they work well for me), note that I encode some shows differently to others for various reasons, or setup a delay so that it doesn't interfere with encoding other shows:

                if strChannel contains "One" then

if strTitle contains "ONE News" then

set hbcli_cmd to "nice HandbrakeCLI -i \"" & theUnixMPGLocation & "\" -o \"" & strDestination & "\" 

-a 1 --aencoder faac  -v -f mp4 -e x264 -b 2300 -r 25 -B 160 -R 48 --maxHeight 576 --maxWidth 1280 --large-file -x subq=4:me=hex:cabac=0:vbv-maxrate=4900:vbv-bufsize=2700 2> \"" & logDestination & "\""

else

set hbcli_cmd to "nice HandbrakeCLI -i \"" & theUnixMPGLocation & "\" -o \"" & strDestination & "\"

-a 1  -v -f mp4 -e x264 -b 4000 -r 25 -B 160 -R 48 --maxHeight 720 --maxWidth 1280 --large-file -x subq=4:me=hex:cabac=0:vbv-maxrate=4900:vbv-bufsize=2700 2> \"" & logDestination & "\""

end if

else if strChannel contains "TV 2" then

-- TV2 is not showing HD shows yet - rescale back down to 576

set hbcli_cmd to "nice HandbrakeCLI -i \"" & theUnixMPGLocation & "\" -o \"" & strDestination & "\" 

-v -f mp4 -e x264 -b 2300 -r 25 -B 160 -R 48 --maxHeight 576 --large-file -x subq=4:me=hex:cabac=0:vbv-maxrate=4900:vbv-bufsize=2700 2> \"" & logDestination & "\""

else if strChannel contains "TV 3" then

-- TV3 is 1080i so deinterlace and resize down to 720p, include the AC3 audio on pass-through as well as downmix to DPLII

if strTitle contains "Home And Away" then

set hbcli_cmd to "sleep 10800;nice HandbrakeCLI -i \"" & theUnixMPGLocation & "\" -o \"" & strDestination & "\" 

-a 2,2 --aencoder faac,ac3 -v -f mp4 -e x264 -b 4000 -r 25 -B 160 --deinterlace=slower -R 48 --maxWidth 1280 --maxHeight 720 --large-file -x subq=4:me=hex:cabac=0:vbv-maxrate=4900:vbv-bufsize=2700 2> \"" & logDestination & "\""

else

set hbcli_cmd to "nice HandbrakeCLI -i \"" & theUnixMPGLocation & "\" -o \"" & strDestination & "\" -a 2,2 --aencoder faac,ac3 -v -f mp4 -e x264 -b 4000 -r 25 -B 160 --deinterlace=slower -R 48 

--maxWidth 1280 --maxHeight 720 --large-file -x subq=4:me=hex:cabac=0:vbv-maxrate=4900:vbv-bufsize=2700 2> \"" & logDestination & "\""

end if

else

-- And all SD channels come here, they are all apparently interlaced

set hbcli_cmd to "nice HandbrakeCLI -i \"" & theUnixMPGLocation & "\" -o \"" & strDestination & "\" -v -f mp4 -e x264 -b 2300 -r 25 -B 64 -R 48 --deinterlace=slower 

--large-file -x subq=4:me=hex:cabac=0:vbv-maxrate=4900:vbv-bufsize=2700 2> \"" & logDestination & "\""



Actual script is at: http://www.myreflection.org/Reflection/Blog/Entries/2008/9/12_How_To_use_handbrake_to_encode_for_the_appletv_from_eyetv.html



4025 posts

Uber Geek
+1 received by user: 1076

Trusted

  Reply # 168298 1-Oct-2008 12:19
Send private message

Got a bug for you already, i would submit it on the handbrake forum but im a bit lazy sorry.
Encoded the TV1 sample available from the samples thread at the top of this page, and it encoded however it plays at half the speed. Playing at double speed in media player classic seems to make it play normally.

Heres the settings i used:
 -i "C:\Recordings\04-11_13-33-34_TV ONE_.ts" -t 1 -c 1 -o "04-11_13-33-34_TV ONE_-1-1-1.m4v" -f m4v --detelecine -e x264 -S 100 -2  -T  -a 1 -E faac -B 160,160 -R 48,48 -6 stereo -D 1 --markers="C:\Documents and Settings\Stephen\Local Settings\Temp\04-11_13-33-34_TV ONE_.ts-1-chapters.csv" -x cabac=0:ref=2:analyse=all:me=umh:subq=6:no-fast-pskip=1:trellis=1:mixed-refs=1:merange=32:level=30 -v



56 posts

Master Geek
+1 received by user: 1


  Reply # 168302 1-Oct-2008 12:29
Send private message

Some interesting settings there:
"-f m4v --detelecine -e x264 -S 100 -2  -T  -a 1 -E faac -B 160,160 -R 48,48 -6 stereo -D 1"
The main worry is that you have detelecine enabled, which is for NTSC programs, try removing that.
You can also remove the extra audio bitrate and samplerates given that you've only asked for one audio input track.
Another thing you will want to do is specify the output frame rate as 25fps rather than leaving it at 50fps (-r 25). I must admit to having never tried leaving at 50fps since my player won't do 720p50, I'll give it a try though, thanks.
Cheers, Ed.






4025 posts

Uber Geek
+1 received by user: 1076

Trusted

  Reply # 168313 1-Oct-2008 13:12
Send private message

Well detelecine was ticked by default for some reason in my old preset, i dont even recall seeing it there before. Odd, put that down as a PEBKAC error then, i also forgot that my default settings (for DVD) also had the 2nd audio track for AC3 audio. I'll try again based on the 'normal' preset.
I left FPS same as source, but i suppose 25fps could cut the file size in half.

edit:Redid TV1 with 25fps came out perfect.

edit2:Did a TV3 file with the following, fast deinterlace, and its playing in slow motion again:
 -i "C:\Recordings\manual - TV3 - 2008-08-23.ts" -t 1 -c 1 -o "C:\Recordings\TV3.m4v" -f m4v --deinterlace="fast" -e x264 -S 100 -2  -T  -a 1 -E faac -B 160 -R 48 -6 dpl2 -D 1 --markers="C:\Documents and Settings\User\Local Settings\Temp\manual - TV3 - 2008-08-23.ts-1-chapters.csv" -x ref=2:bframes=2:subq=5:me=umh:mixed-refs=1 -v



56 posts

Master Geek
+1 received by user: 1


  Reply # 168314 1-Oct-2008 13:17
Send private message

Note that fast deinterlace drops every other line, slower or slow is better, and is now multithreaded and so isn't as slow. The decomb option is pretty nifty as well, since it detects interlacing and removes it when detected. So on static images it doesn't bother deinterlacing, it is also multithreaded, but the checking imposes a bit of a slow down, so I use deinterlace=slower for TV3.

4025 posts

Uber Geek
+1 received by user: 1076

Trusted

  Reply # 168315 1-Oct-2008 13:19
Send private message

Yeah Fast deinterlace plays in slow motion again, see my edit above. Will try slow.



56 posts

Master Geek
+1 received by user: 1


  Reply # 168317 1-Oct-2008 13:23
Send private message

I just tried at 50fps for a TV1 show, worked fine for an MP4/H264 playing in Quicktime, apart from some minor lip sync issues that I get at the moment, which I dial out on my amp. I need to figure out why that crept in.
Cheers, Ed.



56 posts

Master Geek
+1 received by user: 1


  Reply # 168319 1-Oct-2008 13:25
Send private message

Could you try in a different player - Windows Media Player probably isn't the best one to use.
VLC or Quicktime would be good.

4025 posts

Uber Geek
+1 received by user: 1076

Trusted

  Reply # 168323 1-Oct-2008 13:33
Send private message

Im not using WMP, im using Media Player Classic Home Cinema using Cyberlink PDVD8 h.264 decoder (DXVA otherwise playback isnt smooth).

Just did TV3 with these options, and i get a nice green picture, using both the MPC Video decoder and the Cyberlink h264 decoder, whether DXVA is on or not. At least audio is the right speed now. Checked with latest VLC and its green there too.
 -i "C:\Recordings\manual - TV3 - 2008-08-23.ts" -t 1 -c 1 -o "C:\Recordings\TV3.m4v" -f m4v --deinterlace="slow" -e x264 -S 100 -2  -T  -a 1 -E faac -B 160 -R 48 -6 dpl2 -D 1 --markers="C:\Documents and Settings\User\Local Settings\Temp\manual - TV3 - 2008-08-23.ts-1-chapters.csv" -x ref=2:bframes=2:subq=5:me=umh:mixed-refs=1 -v

21 posts

Geek


  Reply # 168354 1-Oct-2008 15:36
Send private message

eddyg: Could you try in a different player - Windows Media Player probably isn't the best one to use.
VLC or Quicktime would be good.

I've tried VLC 0.9.2, MPC 6.4.9.0, WMP 11, and VirtualDub using a TV 3 stream with slower/slow de-interlacing, but they won't play (slower is a green screen for instance)



56 posts

Master Geek
+1 received by user: 1


  Reply # 168361 1-Oct-2008 15:50
Send private message

This is all very strange since it works fine for me, I'm trying using eXDees settings right now to try to reproduce.
Make sure that the streams are for more than 30seconds worth, else you encounter issues.

Cheers, Ed.

133 posts

Master Geek
+1 received by user: 5


  Reply # 168446 1-Oct-2008 19:54
Send private message

Works fine for me with the following settings and plays very well on the popcorn hour !

 -i "D:\terrestrial\test\09-10_20-27-01_TV ONE (AAC)_Hotel Babylon.ts" -t 1 -c 1 -o "D:\terrestrial\test\09-10_20-27-01_TV ONE (AAC)_Hotel Babylon-1-1-1.mkv" -f mkv -w 1280 -l 720 -e x264 -b 7500 -a 1 -E lame -B 160 -R 0 -6 stereo -D 1 -C 2  -v

4025 posts

Uber Geek
+1 received by user: 1076

Trusted

  Reply # 168454 1-Oct-2008 20:36
Send private message

Those who have downloaded this, it might be of help if you post your results with deinterlacing the interlaced channels (eg tv3). One person on another forum got this:
De-interlacing on TV3 and viewing with VLC 0.9.2, MPC 6.4.9.0, WMP 11, and VirtualDub
Slower: green video (just green picture)
Slow: only first frame of video
Fast: video plays as normal, but really far from ideal

De-combing
Still interlaced

4919 posts

Uber Geek
+1 received by user: 99

Trusted

  Reply # 168969 4-Oct-2008 10:32
Send private message

Well had high hopes reading this post. But when I fed in a TV3 capture it crashed immediately with a stack overflow!  I suspect all the programs work okay but as soon as your data is bad (missing bits in the DVB-T transmission stream), they crap out.  I just picked up another 500G drive and have decided rather than bother with all this compression, just get more HD space! The only concession I will make is to remove the ads before I store the video file on the server.




System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


 1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Intel introduces new NUC kits and NUC mini PCs
Posted 16-Aug-2018 11:03


The Warehouse leaps into the AI future with Google
Posted 15-Aug-2018 17:56


Targus set sights on enterprise and consumer growth in New Zealand
Posted 13-Aug-2018 13:47


Huawei to distribute nova 3i in New Zealand
Posted 9-Aug-2018 16:23


Home robot Vector to be available in New Zealand stores
Posted 9-Aug-2018 14:47


Panasonic announces new 2018 OLED TV line up
Posted 7-Aug-2018 16:38


Kordia completes first live 4K TV broadcast
Posted 1-Aug-2018 13:00


Schools get safer and smarter internet with Managed Network Upgrade
Posted 30-Jul-2018 20:01


DNC wants a safer .nz in the coming year
Posted 26-Jul-2018 16:08


Auldhouse becomes an AWS Authorised Training Delivery Partner in New Zealand
Posted 26-Jul-2018 15:55


Rakuten Kobo launches Kobo Clara HD entry level reader
Posted 26-Jul-2018 15:44


Kiwi team reaches semi-finals at the Microsoft Imagine Cup
Posted 26-Jul-2018 15:38


KidsCan App to Help Kiwi Children in Need
Posted 26-Jul-2018 15:32


FUJIFILM announces new high-performance lenses
Posted 24-Jul-2018 14:57


New FUJIFILM XF10 introduces square mode for Instagram sharing
Posted 24-Jul-2018 14:44



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.