Re: Media (.mkv) player on Raspberry Pi2 VDR client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Quoting Nicolas Huillard <nicolas@xxxxxxxxxxxx>:

Can you please elaborate a bit on how you convert mkv to VDR ts ? I see
a 2011 thread on a related topic, but tools may have evolved since
then ;-)

There is no "VDR ts", it's just ts, so you can use every tool which is capable of handling ts streams.

When I'm converting BDs with makemkv on my Mac, I use tsMuxeR, since there's a nice Mac GUI available - this way, I don't even have to bother the keyboard for typing cli commands.

On Linux, using ffmpeg is also straight forward. Here's an example from my bash's history: ffmpeg -i /var/data/media/movies/Breaking\ Bad/Breaking_Bad_Season_1_Disc_1_t00.mkv -f mpegts -map 0:0 -map 0:1 -map 0:3 -map 0:5 -map 0:6 -map 0:11 -map 0:12 -vcodec copy -c:a:0 ac3 -c:a:1 copy -scodec copy -bsf h264_mp4toannexb 00001.ts

You see, there's a mapping to get rid of unwanted subtitle tracks and the first audio track ist converted to AC-3 since it was stored as DTS-HD on the disc. But basically the command sould look like:

ffmpeg -i <some file> -f mpegts -vcodec copy -acodec copy -scodec copy -bsf h264_mp4toannexb 00001.ts

That's it. Put the file into a VDR recording folder, write a minimal info file (AFAIK only title, lifetime and priority is mandatory) and you'll see the new recording once you triggered VDR to update its recordings.

Regards,
Thomas



_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr




[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux