View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Feb 02, 2010 4:47 am 
Offline
Joined: Tue Dec 12, 2006 9:52 am
Posts: 139
hi,
am still working with km r5e50 (please accept this for now)
i recorded a tv-program which was broadcasted bilingually (one track french, one track german).
the recording was done.
when i go to
Code:
media library
then to
Code:
watch recordings
, then select the recording i did, then push
Code:
enter

the km box starts playing/showing the recording, but in the 'wrong' language (french)
when i press the
Code:
M
key now, a roll-down menu comes down and i can go to
Code:
select audio track

the track that is pre-checked is 1.
when i change the check to
Code:
track 2 = v
(text is 'unknown MP2 2ch')
the roll menu disappears and the correct language (german) is played with the movie.

when i press
Code:
M
key again and make a cutlist (header en trailer (=preceding and following program pieces) cut off) and transcode the file, the resulting *.mpg file can be played (on the km-box) but is in french (wrong) again.
i cannot change it to german and when i make and burn an iso based on that file, i get a mono-lingual movie (which the french sound track).

how can i retain the german soundtrack (want to get the movie off the km box and on a dvd-disc)

hope anyone can offer the help i need.

thank you


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 02, 2010 8:24 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
I'm surprised the transcode dropped the second language. Were you doing lossless transcoding?

Either way, if you want to burn a DVD with the second audio track, it is probably best to drop the first one altogether with ffmpeg. See http://knoppmyth.net/phpBB2/viewtopic.p ... t=language

Cheers,

Allen

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 02, 2010 12:10 pm 
Offline
Joined: Tue Dec 12, 2006 9:52 am
Posts: 139
@Allen,
your suggestion(s) seem to work for me..
will report somewhat later what i did and what the results were.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 02, 2010 3:04 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,
I assume you're using mytharchive to create the dvds. If you are then you don't need to run transcode to trim the start and end of the recording, just define the cut list and ask mytharchive to use it. Also, mytharchive supports 2 audio tracks, but since the languages of your recording are marked as "unknown" you will need to specify the 2nd language preference as unknown in the mytharchive settings. This will retain both languages.

Hope this helps.
Bigb


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 03, 2010 11:43 am 
Offline
Joined: Tue Dec 12, 2006 9:52 am
Posts: 139
@Bigb: i have to study your answer a bit, be patient with me :wink:

to what i did (before reading the last post):

on the *.mpg file to be processed:
Code:
root@mythtv:/myth/tv# ffmpeg -i 34142_20100130142200.mpg

resulting in:
Code:
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --incdir=${prefix}/include/ffmpeg --enable-shared --enable-mp3lame --enable-gpl --enable-faad --mandir=${prefix}/share/man --enable-vorbis --enable-pthreads --enable-faac --enable-xvid --enable-dts --enable-amr_nb --enable-amr_wb --enable-pp --enable-libogg --enable-libgsm --enable-x264 --enable-a52 --extra-cflags=-Wall -g -fPIC -DPIC
  libavutil version: 49.0.0
  libavcodec version: 51.11.0
  libavformat version: 50.5.0
  built on Oct 14 2006 21:20:45, gcc: 4.1.2 20061007 (prerelease) (Debian 4.1.1-16)
Input #0, mpeg, from '34142_20100130142200.mpg':
  Duration: 03:19:56.3, start: 0.360000, bitrate: 3740 kb/s
  Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576, 15000 kb/s, 25.00 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 256 kb/s
  Stream #0.2[0x1c1]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Must supply at least one output file

after reading:
http://knoppmyth.net/phpBB2/viewtopic.p ... t=language
(note the last posting in that thread)
and:
http://howto-pages.org/ffmpeg/#strip
i did:
Code:
root@mythtv:/myth/tv# ffmpeg -i 34142_20100130142200.mpg -map 0:0 -map 0:2 -vcodec copy -acodec copy duits.mpg

resulting in:
Code:
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --incdir=${prefix}/include/ffmpeg --enable-shared --enable-mp3lame --enable-gpl --enable-faad --mandir=${prefix}/share/man --enable-vorbis --enable-pthreads --enable-faac --enable-xvid --enable-dts --enable-amr_nb --enable-amr_wb --enable-pp --enable-libogg --enable-libgsm --enable-x264 --enable-a52 --extra-cflags=-Wall -g -fPIC -DPIC
  libavutil version: 49.0.0
  libavcodec version: 51.11.0
  libavformat version: 50.5.0
  built on Oct 14 2006 21:20:45, gcc: 4.1.2 20061007 (prerelease) (Debian 4.1.1-16)
Input #0, mpeg, from '34142_20100130142200.mpg':
  Duration: 03:19:56.3, start: 0.360000, bitrate: 3740 kb/s
  Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576, 15000 kb/s, 25.00 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 256 kb/s
  Stream #0.2[0x1c1]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Output #0, mpeg, to 'duits.mpg':
  Stream #0.0: Video: mpeg2video, yuv420p, 720x576, q=2-31, 15000 kb/s, 25.00 fps(c)
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.2 -> #0.1
Press [q] to stop encoding
frame=299928 q=-10243818.3 Lsize= 5038458kB time=11996.4 bitrate=3440.6kbits/s   
video:4732678kB audio:281166kB global headers:0kB muxing overhead 0.490923%
root@mythtv:/myth/tv#

after that i renamed 'duits.mpg' to the original name, and did 'mythcommflag .... --rebuild' on it.
i made the cutlist (header and tail cut off) and did transcode.
playing the resulting *.mpg file (on the KM box) did show the video with the desired audio track.
the file could be processed and written to dvd successfully.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu