MP plugin for Video Transcoding (2 Viewers)

seven5

Portal Pro
April 23, 2007
72
0
46
I can't seem to get an iPod transcode to work at all. Here is the FFMPEG command that is being generated by the transcoder plugin:

-i "<INPUT FILE>" -vcodec mpeg4 -vtag MP43 -s 640x480 -b 1024k -r 25 -async 1 -mbd 2 -qmin 2 -bug autodetect -acodec aac -ab 128 "<OUTPUT FILE>"

ANd here is my source video, and the outputed video, respectfully



View attachment 6482

View attachment 6483


its some how wrecking the audio file. it should just be 2 channel AAC. Also, its putting the new file into an AVI container, and it needs to be in an MP4 container.

I've also tried this with xvid.

I've done a ton of transcoding to the iPod with ffmpeg over the last couple of years, and this is the command line i use, for reference:

ffmpeg -i '30.Rock.S01E12.HDTV.XviD-NoTV.avi' -vcodec xvid -b 1200 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 128 -s 624x352 -title 'Episode 12' -author '30 Rock' 30_rock_01_12.mp4

using an MP4 extension, makes ffmpeg put it into the right container, not an avi container. aspect isn't really even used, but size is. When i automate this, i use ffmpeg to get the video size, and then mathmatically formulate the correct video size for conversion, if i'm scaling it down. This way, 4:3 videos look fine, and so do odd aspected videos like movies, etc. Not everything is 16:9 and 4:3.

The last bit I thought i'd add is atomicparsley. It edits the 'atoms' in an MP4 file. This is essential, and almost only useful, for iTunes. By running this command, i can set the season #, episode # and show name to the meta data. This way itunes picks it up as a tv show and shows it under my shows, and not just my movies. Its very very nice.

atomicparsley '30_rock_01_12.mp4' --TVShowName '30 Rock' --TVSeasonNum '1' --TVEpisodeNum '12' --genre 'TV Shows' --stik 'TV Show' --overWrite

I think this would be easy to integrate, since you are contextually choosing video types anyways (My videos, My Tv ), so you could run this just on transcodes that happened within the My Tv context. Or, if you get Mp-TvSeries support, in there too.


Please, if you have any questions, let me know. I'd love to help/see the transcode plugin get great support for iPod transcodes.
 

Noelix

Portal Pro
February 18, 2006
393
1
Salt Lake City, UT
Home Country
United States of America United States of America
I can't access any of them because they're all in the mp-tvseries database.

You can, actually. Add the folders you have on watch for the mp-tvseries plugin to "My Videos" (MP Configuration), and then in the Transcoding plugin, you can move the source left or right to switch between Recorded TV, CD/DVD, and My Videos. voila, now all the folders/files listed in your MyVideos shares can be transcoded. Obviously there's value in having this plugin integrated everywhere in MediaPortal, but it may just take time to get there.
 

seven5

Portal Pro
April 23, 2007
72
0
46
I can't access any of them because they're all in the mp-tvseries database.

You can, actually. Add the folders you have on watch for the mp-tvseries plugin to "My Videos" (MP Configuration), and then in the Transcoding plugin, you can move the source left or right to switch between Recorded TV, CD/DVD, and My Videos. voila, now all the folders/files listed in your MyVideos shares can be transcoded. Obviously there's value in having this plugin integrated everywhere in MediaPortal, but it may just take time to get there.

yah, but thats kinda hacky, cuase then ALL my tv shows will be in my videos, and I'd like logical separation. I know, I'm picky :)

But I'm willing to do everything and anything i can to get everything aligned.
 

fabriceD06

Portal Pro
January 28, 2007
123
14
Nice
Home Country
France France
heya, I'm new to mediaportal and am having fun playing with all the great options. So far this plugin looks great, but i just had a few questions.

1. I see there is an option to autodetect aspect, but then you have to manually select the resolution (size). Is there a way to autodetect size too? I did a test on a wide screened video, but it set it to 640x480. What i'd LIKE is a way for it to transcode widescreen shows and keep the right sizes. IE, if its 640x384, it converts it to 320x192. Keeping the correct aspect.
when you select autodetect, i don't put any information about the the format 4:3 or 16:9, the encoder determines automatically the format.

it is good idea, i can add in video format the generic format like 'original format *0.5' , 'original format *0.75', 'original format *0.85' etc

i will test if it is possible to include that in next version.

2. Is there a way to define the output directory rather than just using the source video's directory? I'd like to put all the transcoded videos in one directory.

i will add in next version

3. Integration with MP-tvseries plugin would be fantastic. I would be using the transcode plugin almost exclusivly for iPod transcoding for my tv shows. For now, I can't access any of them because they're all in the mp-tvseries database.

For that , i ask question for all user of transcoder plugin some people would use MP-tvseries source (like new source in compress screen )?

Best Regards
Fabrice
 

fabriceD06

Portal Pro
January 28, 2007
123
14
Nice
Home Country
France France
I can't seem to get an iPod transcode to work at all. Here is the FFMPEG command that is being generated by the transcoder plugin:

-i "<INPUT FILE>" -vcodec mpeg4 -vtag MP43 -s 640x480 -b 1024k -r 25 -async 1 -mbd 2 -qmin 2 -bug autodetect -acodec aac -ab 128 "<OUTPUT FILE>"

ANd here is my source video, and the outputed video, respectfully

.....
....
...

Please, if you have any questions, let me know. I'd love to help/see the transcode plugin get great support for iPod transcodes.

Hi,

is really cool !, can you send me your profile created in transcoder plugin (in folder transcode) i would add by default in release for people interesting about ipod video

thanks
Fabrice
 

seven5

Portal Pro
April 23, 2007
72
0
46
I can't seem to get an iPod transcode to work at all. Here is the FFMPEG command that is being generated by the transcoder plugin:

-i "<INPUT FILE>" -vcodec mpeg4 -vtag MP43 -s 640x480 -b 1024k -r 25 -async 1 -mbd 2 -qmin 2 -bug autodetect -acodec aac -ab 128 "<OUTPUT FILE>"

ANd here is my source video, and the outputed video, respectfully

.....
....
...

Please, if you have any questions, let me know. I'd love to help/see the transcode plugin get great support for iPod transcodes.

Hi,

is really cool !, can you send me your profile created in transcoder plugin (in folder transcode) i would add by default in release for people interesting about ipod video

thanks
Fabrice


thats just it, i can't get it to properly work. I've sent you a correct ffmpeg command that i use all the time that DOES work though. The comments i wrote up top explain some of the problems with doing an iPod encode that should be addressed.

Also, the ipod supports up to 640x480. Typical resolutions are 640x480 and 320x240. It'd be great if you just made it scale down to one of those resolutions keeping the aspect. Like maybe having the user choose 320, or 640.

I'd LOVE to see this as default, as i think its a very common way to transcode, and would alow some placeshifting in MP :)

Thanks again fabrice!
 

Users who are viewing this thread

Top Bottom