Page 1 of 1

Transcoding to acc

PostPosted: Sat May 28, 2011 11:02 pm
by haav
Hi
I'm new to this. :)
I have a LG 47LE550N TV and I try to watch DVD converted with MakeMKV. But my TV just support H264 video and aac or DolbyDigital audio from mkv files. So I try to transcode to a mpeg container with mpeg2video and aac audio. But the transcoding is not working. I get from log:

2011-05-28 23:40:51,750 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: F:\Film\title00.mkv
2011-05-28 23:40:51,750 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -i F:\Film\title00.mkv -y -threads 1 -vcodec copy -copyts -acodec aac -ab 192k -ac 6 -map 0:0 -map 0:1 -sn -f vob C:\WINDOWS\TEMP\Serviio\transcoding-temp-113-MPEG2PS.stf
2011-05-28 23:40:51,843 WARN [ProcessExecutor] Process C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe has a return code of 1! This is a possible error.
2011-05-28 23:40:51,843 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2011-05-28 23:40:59,250 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.7.108, Profile=LG 47LE550N'
2011-05-28 23:40:59,250 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file 'C:\WINDOWS\TEMP\Serviio\transcoding-temp-113-MPEG2PS.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file 'C:\WINDOWS\TEMP\Serviio\transcoding-temp-113-MPEG2PS.stf' cannot be found, FFmpeg execution probably failed


When I run the ffmpeg I get:
encoder 'aac' is experimental and might produce bad results.
Add '-strict experimental' if you want to use it.

What do I do wrong?

Re: Transcoding to acc

PostPosted: Sun May 29, 2011 2:53 pm
by zip
The AAC encoding should be fixed in 0.6. LG had problems with playing transcoded content in general though, so even if this worked I doubt it'd play in the end - unless LG fixed this in their firmware or new products.

Re: Transcoding to acc

PostPosted: Sun May 29, 2011 3:13 pm
by haav
OK, do you know when 0.6 will be released?

If I shall transcode my MakeMKV DVD-file, is this the way to config my profile? (If transcoding to aac had worked)
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="aac">
<Matches container="matroska" vCodec="mpeg2video" acodec="ac3"/>
</Video>

FFMPEG output for my MakeMKV DVD-file:
Stream #0.0(eng): Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR16:9], 8776 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 bc
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s

Or, can you see any ather fomat to use with my LG TV?

Re: Transcoding to acc

PostPosted: Sun May 29, 2011 7:44 pm
by zip
that would work, but ac3 is normally supported with mpeg 2 video (DVD standard). The aac encoder is not very good in FFmpeg to date so AC3 encoding should work better.

Re: Transcoding to acc

PostPosted: Sun May 29, 2011 8:38 pm
by haav
I ran the FFmpeg with ac3 audio to a file and I can play that file in my LG TV.
So it looks like you are right. My LG TV has a problem with transcoded content. :(