Converting videos for portable devices (including softsubs)

If you have questions about compression/encoding/converting look here.
Locked
fobboy
Joined: Tue Dec 26, 2006 2:39 am
Org Profile

Re: Converting videos for portable devices (including softsubs)

Post by fobboy » Sun Aug 09, 2009 12:03 am

I am using the stable version of zarxgui. I do have output of text and xml.

User avatar
GloryQuestor
Moderation Hero
Joined: Tue Apr 13, 2004 4:59 pm
Status: Always around, creating more AMVs. :)
Org Profile

Re: Converting videos for portable devices (including softsubs)

Post by GloryQuestor » Sun Aug 09, 2009 10:49 am

btw, I would also recommend looking at Videora as an alternative. It supports the widest configuration range of devices, including the latest phone models. I've been using it for years now on both my PSP and currently for iPhone 3G video, and each video works perfectly in the correct resolution.
Website Administrator, AnimeMusicVideos.Org
Samurai Warriors Productions
Pittsburgh Japanese Culture Society Events - AMV Department Head
Middle Tennessee Anime Convention - Main Events Operations Manager
Anime Weekend Atlanta - Section Manager of Programming - Video Art Track

fobboy
Joined: Tue Dec 26, 2006 2:39 am
Org Profile

Re: Converting videos for portable devices (including softsubs)

Post by fobboy » Sun Aug 09, 2009 5:35 pm

I don't think videora converts softsubs (the ones without txt files).

User avatar
Corran
Joined: Mon Oct 14, 2002 7:40 pm
Contact:
Org Profile

Re: Converting videos for portable devices (including softsubs)

Post by Corran » Mon Aug 10, 2009 12:06 pm

@fobboy
I'm still looking into this. I am trying to encode the exact same file that you are and am getting an error as well. I'm not sure why... I haven't had this problem with other files that I've encoded. I'm using the same mp4box syntax as ZarxGUI's generated batch files. Encoding a file with the Zarxgui batch works but even when I use the same mp4box line in my batch this doesn't... I'm thinking that I might be doing something to an input stream that makes it incompatible in one of the earlier commands, not sure what though...


@GQ
I tried using Videora for Android devices after seeing your post. When I started setting setting up an encode, ads started popping up and caused numerous javascript errors in IE. I blindly clicked the option to stop executing scripts on the page to close the errors and it appears that the interface itself was a webapp. When I tried to add a video to encode after that, the dialog to add the file was missing. Closing Videora itself didn't bring back the UI. Had to close IE as well.

I did getting it working in the end, but It doesn't seem to maintain mkv softsubs. An option to batch process all files in a directory didn't jump out at me either. These are major differences from what my batch file aims to do.

User avatar
Corran
Joined: Mon Oct 14, 2002 7:40 pm
Contact:
Org Profile

Re: Converting videos for portable devices (including softsubs)

Post by Corran » Mon Aug 10, 2009 3:16 pm

Fixed the problem. For some reason mp4box doesn't like outputting a file with that name to the converted_files folder so I instead am having it output a file called output.mp4 to the temp_files directory. Then when it is done the file is moved to the converted_files directory with the correct name. Probably should have been doing it this way from the start... This also prevents xml and txt files from showing up in the converted_files folder. Link in first post has been updated to new version.

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Converting videos for portable devices (including softsubs)

Post by mirkosp » Mon Aug 10, 2009 4:43 pm

Checking back, it seems that the filename had an & in it. Might be the cause. I know that mp4box doesn't like filenames with # in it, & might just be another character that's no good while muxing.
Image

User avatar
Corran
Joined: Mon Oct 14, 2002 7:40 pm
Contact:
Org Profile

Re: Converting videos for portable devices (including softsubs)

Post by Corran » Mon Aug 10, 2009 5:23 pm

I thought that was the case, but I'm fairly certain I had previously processed files with ampersands. Also, in the batch file that zarxgui generates the ampersand is still present and unescaped. The zarxgui batch runs without error for me.

Code: Select all

"G:\Program Files\Zarx264gui\MP4Box.exe" -fps 23.97604 -add "F:\Video\Anime\[SZN & I-O] Hajime no Ippo New Challenger - 01[720p][1B50A5AA] v2.mkv-zarx264gui-temp.264" -add "F:\Video\Anime\[SZN & I-O] Hajime no Ippo New Challenger - 01[720p][1B50A5AA] v2.mkv-zarx264gui-temp.m4a" -new "F:\Video\Anime\[SZN & I-O] Hajime no Ippo New Challenger - 01[720p][1B50A5AA] v2.mkv-zarx264gui.mp4"
The only difference between Zarxgui's mp4box line and mine that I can think of is that I was using a "/../" to move back to a parent directory. If this is the cause then I'm not sure why there was no problem prior to this specific file...

fobboy
Joined: Tue Dec 26, 2006 2:39 am
Org Profile

Re: Converting videos for portable devices (including softsubs)

Post by fobboy » Thu Aug 20, 2009 9:11 pm

Awesome Corran. I came back from holidays and finally had the time to test out the fixed version. All the problems I had before are now gone. Just 1 point though. I was wondering if it was possible to change the height of the converted file as well?

The skewing of the video file isn't very noticeable to me, but the black bars on my itouch is very noticeable.

User avatar
Corran
Joined: Mon Oct 14, 2002 7:40 pm
Contact:
Org Profile

Re: Converting videos for portable devices (including softsubs)

Post by Corran » Thu Aug 20, 2009 10:00 pm

The aspect ratio of the video is maintained based on the output width provided. This should prevent skewing but can result in black bars if your display's aspect ratio is not the same as the videos aspect ratio. I don't plan to add an option for setting the height but others are free to do so.

However, from what I understand, the ipod touch and iphone have playback settings that allow the video to be stretched to fill the screen. I assume this based on testing I had a friend of mine perform. I do not have an apple device myself and can not verify.

fobboy
Joined: Tue Dec 26, 2006 2:39 am
Org Profile

Re: Converting videos for portable devices (including softsubs)

Post by fobboy » Sun Aug 23, 2009 11:13 pm

the option to "fill the screen" doesn't work well...it actually fills up more than the screen which results in a part of the outside picture being cut.

Can you direct me to a place where I can find out more information on editing the commands? What did you use to actually create the program?

Locked

Return to “Conversion / Encoding Help”