Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] Freebox : TS vers AVI
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
tuxdream
n00b
n00b


Joined: 23 Mar 2009
Posts: 35

PostPosted: Sat Dec 18, 2010 8:55 pm    Post subject: [TIP] Freebox : TS vers AVI Reply with quote

Ayant rencontré de nombreuses difficultés pour transformer mes vidéo au format TS issues de ma freebox HD au format AVI, je vous fais part de la seule solution que j'ai fini par trouver :

1) Découper la vidéo pour retenir que la partie souhaitée
Code:
$ ffmpeg -i MaVideo.ts -ss "hh:mm:ss:xx" -t "HH:MM:SS:XX" -vcodec copy -acodec copy MaVideo.mpg


2) Réencoder la vidéo
Code:
$ ffmpeg -i MaVideo.mpg -acodec ac3 -ab 128k -ar 48000 -vcodec libxvid -b 800k -pass 1 -passlogfile file.log MaVideo.avi
$ ffmpeg -i MaVideo.mpg -acodec ac3 -ab 128k -ar 48000 -vcodec libxvid -b 800k -pass 2 -passlogfile file.log MaVideo.avi


La principale difficulté est dû à la résolution utilisée par la Freebox pour l'enregistrement (480x576). Les logiciels comme kdenlive, avidemux ou mencoder modifie le ratio de l'image.

Note : j'ai retenu le format AC3 car la Freebox n'était pas en mesure de lire le format MP3.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum